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 hashes)
Built Distribution
sqlt-0.0.6-py3-none-any.whl
(5.1 kB
view hashes)