Convenient Wrapper around AnoSQL and a Database Connection
Project description
AnoDB
Convenient Wrapper around anosql and a Database Connection.
Description
This class creates a persistent database connection and imports SQL queries from a file.
Example
import anodb
db = anodb.DB('sqlite3', 'test.db', 'test.sql')
db.do_some_stuff(key=1, val='hello world')
res = db.do_some_more(key=2, val='hello world')
db.commit()
db.close()
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
anodb-1.1.0.tar.gz
(3.0 kB
view details)
Built Distribution
anodb-1.1.0-py3-none-any.whl
(3.2 kB
view details)
File details
Details for the file anodb-1.1.0.tar.gz
.
File metadata
- Download URL: anodb-1.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0b6ac1ac464ceba6287afa8c0e4fc333d6e6528a5b3cd46bcadc65cde2698b0 |
|
MD5 | 07cae96c0f053588ea0fe13805a42318 |
|
BLAKE2b-256 | c930a741ea3b27574ea5ae63b3b7b1e2c7f1de02add7d26c69dfe58b2e1c4c5b |
Provenance
File details
Details for the file anodb-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: anodb-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46b983a3d9c5c5d442f813f2bad06d7a0df56ca4cd024ad4e2a769bc85a1ee05 |
|
MD5 | 1108273a38121fd9ab8cec5bbc3682af |
|
BLAKE2b-256 | bd2bacd14af0de0950a224ad3e354264efec681ab7557fccb57325d1d20cf6af |