sqlitebrowser / dbhub.io

A "Cloud" for SQLite databases. Collaborative development for your data. 😊
https://dbhub.io
GNU Affero General Public License v3.0
370 stars 39 forks source link

Can I use dbhub.io with SQLAlchemy? #372

Open swckd opened 4 months ago

swckd commented 4 months ago

Can I connect my SQLAlchemy to dbhub.io? app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///kanban.db'

chrisjlocke commented 4 months ago

Don't think it would work directly .. dbhub.io works via API, not a direct 'storage'. But you could download the file locally and do what you needed, then upload again? There are live databases on dbhub.io, but again, they work on an API, not a direct storage.

swckd commented 4 months ago

It makes sense! Thanks!

justinclift commented 4 months ago

dbhub.io works via API

That's correct. The DBHub.io service doesn't have a Python driver written for SQLAlchemy, so SQLAlchemy doesn't know how to communicate with it directly.

Maybe some day... :smile: