Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
python-sql-abstraction.tar.bz2 (1.1 kB) Copy SHA256 hash SHA256 Source None Aug 5, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page