A generalised and simple database interface library
The dbilib project is a mid-level CPython database interface library which is designed to fit between sqlalchemy and your database interface library.
The interface exposes methods for easily accessing the database engine, executing SQL statements and calling stored procedures - with minimal setup.
As of this release, the following database engines are supported:
- MySQL / MariaDB (via
mysql-connector-python) - Oracle (via
cx_Oracle) - SQLite3
- Microsoft SQL Server (via
pyodbc)
Installation
Installing the library is as easy as:
pip install dbilib
This will install the library's required dependencies (e.g. sqlalchemy, etc.). However, it will not install the database-specific libraries, (e.g. cx_Oracle, mysql-connector-python, pyodbc, etc). This design feature helps to not bloat your environment with unneeded packages and keeps cross-platform capability and flexibility.
Using the Library
The documentation suite contains usage examples and detailed explanation for each of the library's importable modules. Please refer to the Library API Documentation section of the documentation.
Database Support
Our currently supported databases are listed in the overview section on this page. However, for further detail regarding the databases supported by the SQLAlchemy library, please refer to their documentation, specifically their Included Dialects page, which lists the supported database dialects and their version(s).
Connection Strings
For convenience, we have provided a link to the connection string (or database URL) templates for each database dialect supported by sqlalchemy. Generally, the database URLs follow this convention:
dialect+driver://username:password@host:port/database
For example, the MySQL / MariaDB specific database URL using the mysql-connector-python driver, is:
mysql+mysqlconnector://<user>:<pwd>@<host>:<port>/<database>
Metadata
Release files for dbilib 0.5.2
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 |
|---|---|---|---|---|
| dbilib-0.5.2.tar.gz | 8.0 MB | Without provenance | Details for dbilib-0.5.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dbilib-0.5.2-py3-none-any.whl | Python 3 | none | any | Details for dbilib-0.5.2-py3-none-any.whl |
Total release size: 8.0 MB
Release files / dbilib-0.5.2.tar.gz
| Download URL | dbilib-0.5.2.tar.gz |
|---|---|
| Size | 8.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da44c406e74bd509e445a0cd1d684f72fa4db80395d23adab24dcd82ad9416d5
|
|
BLAKE2b-256 checksum How to use checksums |
df8efd16b120ccb3d8c55dca27e3cc20e6905dfa8f65634408f226aa1200def2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Release files / dbilib-0.5.2-py3-none-any.whl
| Download URL | dbilib-0.5.2-py3-none-any.whl |
|---|---|
| Size | 24.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5d63ec437d1c1a5ee09c658cf9982d8a3909a978c59644a25f5eb95acb8b0e5
|
|
BLAKE2b-256 checksum How to use checksums |
531787ec0c88e325194a058adc9a1f61eac81a4612d20fe5b625150f9e7473d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Security for dbilib 0.5.2
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.