Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

A database that saves its state in a file every time it is modified

Project description

README

Build Status Downloads

A database that saves its state in a file every time it is modified. See example.py for usage.

Features:

  • Allows 0 to n tests 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

Project details


Download files

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

Files for pickle-database, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size pickle-database-0.0.5.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page