Jupancon, connector to several DBs that returns pandas. Magic included.
Project description
jupancon
Database Connectors and SQL magics for Jupyter lab.
(What follows is all still WIP)
Install
pip install jupancon
Configure
write a ~/.jupancon
YAML file
How to use
Regular usage
from jupancon import query, list_schemas, list_tables
list_schemas()
list_tables()
query("select * from foo")
Magical usage
from jupancon import load_magics
load_magics()
select * from foo
df = %select * from foo
%%sql
select *
from foo
where cond = 1
and whatever
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jupancon-0.1.1.tar.gz
(7.4 kB
view details)
Built Distribution
File details
Details for the file jupancon-0.1.1.tar.gz
.
File metadata
- Download URL: jupancon-0.1.1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75478d50d96f1912916f705d69ab0030005f81b478026b64a5d5eeeae778ba32 |
|
MD5 | 1394e7c0359a2406485dc5ad5fd42465 |
|
BLAKE2b-256 | 16436cb27e797649043d4370809cd7dcd48e77b4ca7c1f0d2630d6374c6be4d8 |
File details
Details for the file jupancon-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: jupancon-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf6ec2eb66463bff4d38d35261a015db30faf3dd2b723873239ccf625febb8a5 |
|
MD5 | 1fff4e06500c3e944c2124da0756e09c |
|
BLAKE2b-256 | cdcbf33b9b78415905ab02e0f8d827647edbac5dabfbb2dd5a9428303060f11e |