README
A database that saves its state in a file every time it is modified.
See example.py for usage.
Features:
- Allows
0tontests to be run on setting a variable. If these tests don't pass, an exception is raised. - Records the time that a database key is last set.
Setup
Option 1: Clone the repository
Best if you want to modify or view the code - note that you can do the following inside of a virtual environment
git clone https://github.com/robotpt/pickle-database
An easy way to setup the repository with its dependencies and with your Python path
is to use pip.
pip install -e pickle-database
Tests can be run with the following commands.
cd pickle-database
python3 -m unittest
Option 2: Use Pip
Best if you just want to use it
python3 -m pip install pickle_database
Metadata
Release files for pickle-database 0.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 |
|---|---|---|---|---|
| pickle-database-0.0.5.tar.gz | 4.6 kB | Without provenance | Details for pickle-database-0.0.5.tar.gz |
Release files / pickle-database-0.0.5.tar.gz
| Download URL | pickle-database-0.0.5.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e959735ce6920459ceeeb726fc9f08e69c395e48a67a629752c6c8044860b784
|
|
BLAKE2b-256 checksum How to use checksums |
1f895ff455239197a3d231db16b05cbe57781eaeeb9794621f413f32f8a99cbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.9
|
Security for pickle-database 0.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.