milho-multi-sqlite3-manager
Description
The idea is to have an environment with multiple SQLITE3 files, aiming at ease of access and use. The inspiration for creating this module came from the ease of working with Spark in BigData environments where, generally, everything is integrated, without the need to make several explicit connections in the code.
If you want an integrated environment on your machine, create an environment variable called "MULTISQLITE3MANAGER_FOLDER_PATH" with the directory of your folder. You will need to make sure that all files in this folder are SQLITE3 databases.
When "to_dataframe" is used, the result is a Pandas DataFrame. The query is previously parsed to map all the databases used in the SQL. Then the module create a sqlalchemy connection and attach that databases to the connection. After that, the query is executed and the result is a Pandas DataFrame.
Code Samples
from multisqlite3manager import print_databases, print_tables, to_dataframe
print_databases()
print_tables("DB_NAME")
df = to_dataframe("SELECT * FROM db_1.tMisto")
df2 = to_dataframe("SELECT * FROM db_2_copy.tMisto")
Metadata
Release files for milho-multi-sqlite3-manager 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| milho_multi_sqlite3_manager-0.4.0.tar.gz | 5.6 kB | Without provenance | Details for milho_multi_sqlite3_manager-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| milho_multi_sqlite3_manager-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for milho_multi_sqlite3_manager-0.4.0-py3-none-any.whl |
Total release size: 12.8 kB
Release files / milho_multi_sqlite3_manager-0.4.0.tar.gz
| Download URL | milho_multi_sqlite3_manager-0.4.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b1a194c3368228c9c32fd86acbfc0d641ccc7f8e7326ef0f0a8430afca1b616
|
|
BLAKE2b-256 checksum How to use checksums |
32eaa4cc24696a1550c9704666ebbf2830ce5ac5f74e0da152c223e227912664
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.11.3 Windows/10
|
Release files / milho_multi_sqlite3_manager-0.4.0-py3-none-any.whl
| Download URL | milho_multi_sqlite3_manager-0.4.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
475f3cbc60967d48c477a3d3d63c5bf0b5af3e75372e8230f51eab4b43d15c29
|
|
BLAKE2b-256 checksum How to use checksums |
ab12935989fcff6d71071fe6b8ca802f00ffc43b0c1a002b4c739981ee37b52b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.11.3 Windows/10
|
Security for milho-multi-sqlite3-manager 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.