Python ORM for the Oracle Database
Synopsis • Installation • Examples • Documentation
Synopsis
Sibilla is a Python ORM solution for the Oracle Database. It has been designed with the goal of making database access as Pythonic as possible. SQL queries and PL/SQL code blocks are aliens in Python sources. With Sibilla you can access table content and call PL/SQL code in a Pythonic way.
Internally, Sibilla relies on the cx_Oracle package to perform queries against the Oracle Data Dictionaries to retrieve stored objects and the data they contain.
Installation
Sibilla can be installed directly from PyPI
python3 -m pip install sibilla --upgrade
Alternatively, it can be installed with pip from GitHub with
python3 -m pip install git+https://github.com/P403n1x87/sibilla
Example
A minimal example to connect to a database and access a table called CUSTOMER
is
from sibilla import OracleDB
db = OracleDB("username", "password", dsn="dsn")
customer_table = db.customer
If the customer table has a primary key on a column named ID, and a column
NAME, we can get the value of the latter on a row with ID 42 (assuming it
exists in the database) with
>>> customer = customer_table[42]
>>> customer.name
'John Smith'
Documentation
For more examples and customisation details, please refer to the official Sibilla Documentation.
License
GPLv3.
Metadata
Release files for sibilla 0.1.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 | |
|---|---|---|---|---|
| sibilla-0.1.0.tar.gz | 26.9 kB | Without provenance | Details |
Release files / sibilla-0.1.0.tar.gz
| Download URL | sibilla-0.1.0.tar.gz |
|---|---|
| Size | 26.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bdb6cb128ab4bb10b2e8926e97e3cff8f5348ef89777044c759b483f336a8c8d
|
|
BLAKE2b-256 checksum How to use checksums |
e300350037655eb4e8a74dbf833c918e2ebb3655fe753fffa0c1916bcf6ea071
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
|
Security for sibilla 0.1.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.