A database that saves its state in a file every time it is modified
A database that saves its state in a file every time it is modified.
example.py for usage.
ntests 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.
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 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
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pickle-database-0.0.3.tar.gz (4.5 kB)||File type Source||Python version None||Upload date||Hashes View|