pylite
Intract with sqlite3 in python as simple as it can be.
Install
pip install pylite
Tips
Import pylite :
from pylite import Pylite
Create a new database or open an existing database :
db = Pylite('dbname')
Add a table :
db.add_table('table_name',column1='datatype',column2='datatype',...,columnN='datatype')
Insert data :
db.insert('table_name','column1_value','column2_value',...,'columnN_value')
Remove items :
db.remove('table_name','condition')
Retrieve items :
db.get_items('table_name','condition')
Get all tables name :
db.get_tables()
Execute your sqlite queries:
db.query('your query')
Close connection :
db.close_connection()
Metadata
Release files for pylite 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pylite-0.1.0.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylite-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / pylite-0.1.0.tar.gz
| Download URL | pylite-0.1.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e338d20d3f8f72dd84d1e58f2fd6dba008d593e0cfacfb5fbdd5a297b830628e
|
|
BLAKE2b-256 checksum How to use checksums |
928f70df87261536a4452c1bbdcabab8ba6f31aceadb1a981b511a41f5a76ed9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
|
Release files / pylite-0.1.0-py3-none-any.whl
| Download URL | pylite-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb46f5beb1f2102672fd4355c013ac2feebc0df284d65f7711f2041a0a410141
|
|
BLAKE2b-256 checksum How to use checksums |
c41950c463708c6b73eec146d85bd5aaa6a2580af2fa6f404609a8fbf3d42bdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
|