A generalised and simple database interface library.
Project description
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
- Oracle
- SQLite3
- SQL Server (coming soon)
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
, 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>
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
Built Distribution
File details
Details for the file dbilib-0.4.2.tar.gz
.
File metadata
- Download URL: dbilib-0.4.2.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d054be666ca8622e6acea7081fae229bee7fdda6c0117d7cce1f8636ef4c978c |
|
MD5 | 82fe572cef745042ce7d5058f2546dff |
|
BLAKE2b-256 | 95eaae32775f5e00f2604ed4824e6e3a31c3305071159784e22f28763a9532a2 |
File details
Details for the file dbilib-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: dbilib-0.4.2-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6c274382268f359f636b014c6a4c47515bcd2383305c0fdfa9ef9eaadf34789 |
|
MD5 | f4594e41b46918c6c895b002ccb87134 |
|
BLAKE2b-256 | 6ef189b67eed31b8defaf9f0c5d49ed8866227142f3845bba300e489f32c481a |