resql: Database For Beginners
Quick Examples
imports
pip install resql
import resql
database = resql.ReSql("mydb.db")
# default is in :memory:
.create_table(name)
creates a database table.
database.create_table("newtable")
# {'status': 'success', 'table': 'newtable'}
.insert(key, value, [table])
insert into given table.
database.insert("key","value")
# {'status': 'success'}
.all([table])
find data from given table.
database.all()
# [('key','value')]
.find(key, [table]) or .get(key, [table])
find data from given table.
database.find("key")
# value
.wipe([table])
wipe complete table.
database.wipe()
# {'status': 'success'}
.run(sql)
directly run sql query.
database.run("SELECT * FROM table")
# cursor
.delete(key, [table])
delete key from table.
database.delete("key")
# value
thanks to avonryle#2022 for letting me make the python version of ByteDatabase
Metadata
Release files for resql 0.1.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 |
|---|---|---|---|---|
| resql-0.1.5.tar.gz | 5.9 kB | Without provenance | Details for resql-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| resql-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for resql-0.1.5-py3-none-any.whl |
Total release size: 9.5 kB
Release files / resql-0.1.5.tar.gz
| Download URL | resql-0.1.5.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0b5f1b25cf5f885cec79a5d3c17b2ab34cace674991f9cbf56a1a1c52d04b3a
|
|
BLAKE2b-256 checksum How to use checksums |
f798a606ccf97fc6bd13e83c31f4ead475e42167a0218f268d779ea41312b252
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.4 Windows/10
|
Release files / resql-0.1.5-py3-none-any.whl
| Download URL | resql-0.1.5-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e2de7e9e312043c1ffb02921b63d8904c1bf8b54100ce78217e81a118a9a45c
|
|
BLAKE2b-256 checksum How to use checksums |
90797f6d7e69d63086593e8467af056091e240cc1e145c8a42d083f27314b683
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.4 Windows/10
|
Security for resql 0.1.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.