Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for databases such a MySQL, PostgreSQL, SQLite via Blaze #4

Closed
scls19fr opened this issue Nov 24, 2016 · 6 comments
Closed

Comments

@scls19fr
Copy link

Hello,

you might add support for databases such a MySQL, PostgreSQL, SQLite via Blaze.

https://blaze.readthedocs.io/en/latest/uri.html

Kind regards

@saulpw
Copy link
Owner

saulpw commented Nov 24, 2016

Great suggestion! I didn't know about Blaze until today. I'm going to try to get that working in the next few days.

@scls19fr
Copy link
Author

As suggested in TabViewer/tabview#116 code from https://github.com/wavexx/gtabview could be reused

@scls19fr
Copy link
Author

especially files dataio.py and models.py
Idea was to share this code accross both tabview (so curse interface) and gtabview (Qt interface)

@saulpw
Copy link
Owner

saulpw commented Jun 22, 2017

After much consideration, I think Blaze is much too large a dependency for this purpose. VisiData can currently connect to a sqlite database via the standard library module, and other SQL databases have small Python connectors that can be used similarly.

@scls19fr
Copy link
Author

@wavexx may correct me if I'm wrong, but I think he uses Blaze as an optional dependency in gtabview

@saulpw
Copy link
Owner

saulpw commented Nov 18, 2017

@scls19fr It would be fantastic if you created a loader for Blaze! There are already custom loaders like the sqlite loader and the postgres loader, and that's the direction I would go to add support for MySQL and MariaDB, but Blaze is fine too if you can get it to work. You really just have to collect the rows and define the columns, and VisiData will take care of the rest. I would be happy to help you get this working if you are interested!

saulpw added a commit that referenced this issue Jan 16, 2023
Update README and add more planet names
saulpw added a commit that referenced this issue Jan 16, 2023
saulpw pushed a commit that referenced this issue Mar 10, 2023
* [deps] install 'all' of ibis-framework's dependencies

* [deps] remove dependencies that come with ibis-framework[all]

* Fix up README

* Add CHANGELOG

* [ibis] catch 'backend not supported' AttributeError; default message is confusing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants