sqlite3py
Module sqlite3py provides you very easy smart requests for sqlite database.
Examples folder
Methods:
- set (Update (Set) values for selected row.)
- insert (Insert (Push) row.)
- all (Return all values.)
- get (Return values from selected row.)
- delete (Delete selected row.)
Example
'''After sqlite3py Version 2.0.0'''
from sqlite3py import Database
# Create database
database = Database('./storage.db', check_same_thread = False)
# Create table
files = database.table('files')
# Set values
files.set('Documentation', {
'title': 'Documentation',
'description': 'Some description',
'type': 'pdf',
'uuid': 'a8098c1a-f86e-11da-bd1a-00112444be1e',
})
# Get values
files.get('Documentation')[0]['description']
# Return: 'Some description'
# Get all values
files.all()
# Return: [{'key': 'Documentation', 'value': {
# 'title': 'Documentation',
# 'description': 'Some description',
# 'type': 'pdf',
# 'uuid': 'a8098c1a-f86e-11da-bd1a-00112444be1e',
# }}]
Requirements Packages
- sqlite3 (Already set by default)
Metadata
Release files for sqlite3py 2.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sqlite3py-2.0.5.tar.gz | 4.1 kB | Without provenance | Details for sqlite3py-2.0.5.tar.gz |
Release files / sqlite3py-2.0.5.tar.gz
| Download URL | sqlite3py-2.0.5.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4e4ea19907a2f35f06bdca0eb95111f829dca7732e2f8e6740918d91c1bf5b8
|
|
BLAKE2b-256 checksum How to use checksums |
1856dd3adc13b6d11f206d7eb17c53b5e289d167d24406fd87ca0165c6cfedeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Security for sqlite3py 2.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.