semvec/pypi-packages huggingface dataset:
python-sql-abstraction 0.0.1
SQL Abstraction layer written in Python 3.2 for use in lower level applications, such as tkinter.

python-sql-abstraction
----------------------

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'])