PyTiny
PyTiny is an in-memory key–value database written in Python.
Set up
from pytiny import PyTiny
db = PyTiny()
Functions
Set
Set a key and value
db.set("Key")
Get
Get a value from a key
db.get("Key", "Value")
Delete
Delete a value from a key
db.delete("Key")
Reset
Reset the data. All data stored will be delete.
db.reset()
Export
Export the data to a .db file
db.export()
Bring
Import a file. This will be delete all data stored before, and will be restore the new data from the file.
db.bring("file_name")
Author
Alvaro Azael Rodriguez Rodriguez - (Development Lead) [Gitlab, Twitter]
Licence
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for pytiny 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytiny-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for pytiny-0.0.1-py3-none-any.whl |
Release files / pytiny-0.0.1-py3-none-any.whl
| Download URL | pytiny-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b886c3f33d24d6a087913f4557182f136aae972bb26ff7b9d17398b908a0d766
|
|
BLAKE2b-256 checksum How to use checksums |
cb9d73f9217100623a7441f3cf359522e4ec017d6476176bc95f5639efcc9e92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5
|
Security for pytiny 0.0.1
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.