Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytiny-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for pytiny-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b886c3f33d24d6a087913f4557182f136aae972bb26ff7b9d17398b908a0d766
MD5 5790cb54e5cee800edb3d36deb3e7f54
BLAKE2b-256 cb9d73f9217100623a7441f3cf359522e4ec017d6476176bc95f5639efcc9e92

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page