Skip to main content

SQL Abstraction layer written in Python 3.2 for use in lower level applications, such as tkinter.

Project description

  1. All SQL modules written in python follows a standard DB-API 2.0.

  2. Thus all connections attributes and methods can be used for different SQL engines.

  3. An abstract class, “Database” was created in order for sub classes that inherit this class to re-implement the __init__ method in order to set a connection.

  4. Since connections is loaded differently for each SQL engine.

  5. Attribute Connection was made private in order not to change it from a different layer and to keep the connection consistent.

  6. Python 3.2 required

  7. Example:

    from Databases.SQLite import SQLiteDatabase

    db = SQLiteDatabase(None, ‘test.db’)

    results = db.select(‘table_name’, [‘name’, ‘id’])

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

python-sql-abstraction.tar.bz2 (1.1 kB view details)

Uploaded Source

File details

Details for the file python-sql-abstraction.tar.bz2.

File metadata

File hashes

Hashes for python-sql-abstraction.tar.bz2
Algorithm Hash digest
SHA256 037d7dac7954bd69b536bb13955383e373360bb2c3a14eb63888230af2a71d10
MD5 9e973d451df3caa2c2bde338923a97aa
BLAKE2b-256 9137eb1b50603a48f0eef694cef96b114792652b9c4ff256b0257d3f792c252a

See more details on using hashes here.

Supported by

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