kyria / flask-esipy-example Goto Github PK
View Code? Open in Web Editor NEWFlask + EsiPy + Flask-Login Example
License: MIT License
Flask + EsiPy + Flask-Login Example
License: MIT License
I've been working to get this running with Python 3.11, mostly to check if EsiPy is still functional after recent ESI changes.
I'm creating this issue to leave some notes on what I ran into, to possibly fix with a PR later (if I get it fully working).
PySwagger is incompatible with Python>=3.10 due to an issue with collections.MutableMapping
. This small change will resolve that issue: https://github.com/fboerman/pyswagger/commit/52019f41678d3f91f7f8dfc06387e0afd328ae38
as described here: https://github.com/Kyria/EsiPy/issues/64
The database file, app.db, seems to be created in the top level project directory when running flask db upgrade
. However, the Flask app is looking for the db in instance/app.db
, leading to the following error:
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: user
Moving the created app.db file to the instance directory fixes this.
The login button image link is broken, and can be updated to: https://web.ccpgamescdn.com/eveonlineassets/developers/eve-sso-login-white-small.png
At this point, I'm able to successfully authenticate with the SSO and retrieve my wallet balance, but I get the below error. That's the correct wallet balance, so I'm stopping at this point for now.
esipy.exceptions.APIException: HTTP Error 200: b'2113860735.69'
this in order to keep the example working and up to date
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.