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.3
Make options
accept different types.
Make queries
optional, and allow to load from files or strings.
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.3.0.tar.gz
(3.6 kB
view hashes)
Built Distribution
anodb-1.3.0-py3-none-any.whl
(3.8 kB
view hashes)