Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Persistent archival of python objects in an importable format.

Project description

Persistent Archival of Python Objects

Documentation Status Language grade: Python Tests Pypi pyversionsCode style: black

Persistent archival of python objects in an importable format.

This package provides a method for archiving python objects to disk for long-term persistent storage. The archives are importable python packages with large data stored in the npy numpy data format, or HDF5 files using the h5py package (if it is installed). The original goal was to overcomes several disadvatages of pickles:

  1. Archives are relatively stable to code changes. Unlike pickles, changing the underlying code for a class will not change the ability to read an archive if the API does not change.
  2. In the presence of API changes, the archives can be edited by hand to fix them since they are simply python code. (Note: for reliability, the generated code is highly structured and not so "pretty", but can still be edited or debugged in the case of errors due to API changes.)
  3. Efficient storage of large arrays.
  4. Safe for concurrent access by multiple processes.

Documentation: http://persist.readthedocs.org

Source: https://alum.mit.edu/www/mforbes/hg/forbes-group/persist

Issues: https://alum.mit.edu/www/mforbes/hg/forbes-group/issues

Installing

This package can be installed from PyPI:

python3 -m pip install persist

or from source:

python3 -m pip install hg+https://alum.mit.edu/www/mforbes/hg/forbes-group/persist

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 persist, version 3.1
Filename, size File type Python version Upload date Hashes
Filename, size persist-3.1-py3-none-any.whl (40.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size persist-3.1.tar.gz (41.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page