PyTiny is an in-memory key–value database written in Python.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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
File details
Details for the file pytiny-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pytiny-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b886c3f33d24d6a087913f4557182f136aae972bb26ff7b9d17398b908a0d766
|
|
| MD5 |
5790cb54e5cee800edb3d36deb3e7f54
|
|
| BLAKE2b-256 |
cb9d73f9217100623a7441f3cf359522e4ec017d6476176bc95f5639efcc9e92
|