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_insert(key=1, val='hello')
res = db.do_some_update(key=1, val='world')
db.commit()
db.close()
Versions
1.2
Add options
string parameter to constructor.
1.1
Add **conn_options
parameter to constructor.
Add cursor()
method.
1.0
Initial release.
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.2.0.tar.gz
(3.3 kB
view details)
Built Distribution
anodb-1.2.0-py3-none-any.whl
(3.4 kB
view details)
File details
Details for the file anodb-1.2.0.tar.gz
.
File metadata
- Download URL: anodb-1.2.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e4398658143b1f18d8cbd3a10c679c6608d19051effde59b95c8cd637eab3c9 |
|
MD5 | c9d35a2bfb596a99579fb212a913e2a8 |
|
BLAKE2b-256 | ebc157fbb4ab9c83eb6324a4b72dc16130a64034a26e90be0c41b5e3582f3c5d |
Provenance
File details
Details for the file anodb-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: anodb-1.2.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32d6719ceaff197c04bf340bcdd972f7a99f720a69718bdd701527cece1ca8c2 |
|
MD5 | 8e5039cfe567c10b6a6619bfcf94de8d |
|
BLAKE2b-256 | 7da87c0fa1e4ef02b80c106f9f564b4a3e9e7667b2559bd655f039f23dbe1a0d |