A small sqlite wrapper + tools
Project description
sqlt
A simple SQLite3 wrapper in python.
Example
List all user
db.all('user')
List all user named tom
db.all('user', {'name': 'tom'})
Insert a new user named john
db.insert('user', {'name': 'john', 'age':50})
Update any user 18 years old if they name are john
db.update('user', {'age': 18}, {'name': 'john'})
Delete any user named tom
db.delete('user', {'name': 'tom'})
Build + Publish package
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sqlt-0.0.6.tar.gz
(3.0 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
sqlt-0.0.6-py3-none-any.whl
(5.1 kB
view details)
File details
Details for the file sqlt-0.0.6.tar.gz.
File metadata
- Download URL: sqlt-0.0.6.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba8c1dcdb381fcac42d07f5590f39ffbc33ebefca2f683ec6f5d04144fa4f5e7
|
|
| MD5 |
82e1f8016a27fab6d616c45d700fae3b
|
|
| BLAKE2b-256 |
62dc17e698294c9e11dc7d88b08b6ec309480f19dfe7d75c59ba5834cb74f5eb
|
File details
Details for the file sqlt-0.0.6-py3-none-any.whl.
File metadata
- Download URL: sqlt-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cbf2991f360d1a872209601f654cfa664fda5e8ecd2877cd86db0b3541076c4
|
|
| MD5 |
14298feff4d97323bd58dc29fdd7b910
|
|
| BLAKE2b-256 |
f30b4200c59cef4f56e94d86aacd1740203d4f8ce15e143aed62fa5b1b62441c
|