sqlitelib
sqlitelib is a Python library that provides an easy-to-use interface for common SQLite database operations. It simplifies database interactions, making it easier to perform tasks like creating tables, inserting records, querying data, and more.
Features
- Connect to SQLite databases
- Create tables
- Insert, update, and delete records
- Query data with flexible options
- Simple and intuitive API
Installation
You can install sqlitelib using pip:
pip install sqlitelib
Usage
from sqlitelib import SqliteModel, Column, Constraint, DataType
class ExportJob(SqliteModel):
__databasepath__ = 'path/to/db.db'
__tablename__ = 'export_job'
job_type = Column(DataType.TEXT, Constraint.NOT_NULL)
status = Column(DataType.TEXT, Constraint.NOT_NULL)
completed_date = Column(DataType.INTEGER)
export_parameters_json = Column(DataType.TEXT)
description = Column(DataType.TEXT)
directory_path = Column(DataType.TEXT)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sqlitelib-1.0.4.tar.gz
(8.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sqlitelib-1.0.4-py3-none-any.whl
(11.8 kB
view details)
File details
Details for the file sqlitelib-1.0.4.tar.gz.
File metadata
- Download URL: sqlitelib-1.0.4.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3fa002dd9d40dd257aba33f69947e6c91a95f5ce95850c321402019aac6fd60
|
|
| MD5 |
df875c98649964813073ebb12fe4887d
|
|
| BLAKE2b-256 |
fd4ddaf9c526b2c943adbc5afa35f9fa2f5c0ca9128d503baeb3433055598841
|
File details
Details for the file sqlitelib-1.0.4-py3-none-any.whl.
File metadata
- Download URL: sqlitelib-1.0.4-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7953ab2db465d141079824d8d4766e62b634bb9e12158452ba6fa6bc79e7abf5
|
|
| MD5 |
ac47d13e3db59467a02d112e5ffef362
|
|
| BLAKE2b-256 |
6e1fc89de3186b20bdb601b25df5dfcc4bd5edca9a7f658b74be18a14ac3d642
|