Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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 =‘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.

Files for python-sql-abstraction, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size python-sql-abstraction.tar.bz2 (1.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page