Skip to main content

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


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.0.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page