- Wrapper Class around cx_Oracle for Oracle Autonomous Database
This class supports multiple connections to the database using session pool. The minimum and maximum number of sessions can be defined.
In cx_Oracle after connecting to the database, for every query statement the data needs to be fetched and for evey update or insert statement the data needs to be committed. But this class eliminates these requirements and make it simple to read and write to the database.
- Files:
palora/__init__.py
- Installation:
sudo pip3 install palora
- Usage Examples:
import palora
db = palora.db(‘user’, ‘password’, ‘tsn-entry’) ##-connect to the database
db.read(“sql statement”) ##-returns the read data from database with flat=True
db.read(“select item from table”, flat=False) ##-returns the raw read data
db.read(“select item from table where item = %s”, (sub1,)) ##-read with string substitution
db.read1(“sql statement”) ##-returns the first read data similar to fetchone
db.write(“sql statement”) ##-writes the data and commits to the database
db.clear() #-to reconnect if any transaction error
- For other cx_Oracle connection commands use the connection class
db.conn….
Metadata
Release files for palora 3.1
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 |
|---|---|---|---|---|
| palora-3.1.tar.gz | 1.8 kB | Without provenance | Details for palora-3.1.tar.gz |
Release files / palora-3.1.tar.gz
| Download URL | palora-3.1.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a3d5e1bf4a39b369f7a095d33e05680d925e9b867101ee5234d29077cd0b523
|
|
BLAKE2b-256 checksum How to use checksums |
ce6724dce4e286f1a4025080bab5b0c419585882d089ced6929870f3afe3772c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Security for palora 3.1
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.