Skip to main content

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

Release files for persist 3.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for persist 3.2.1
File Size Uploaded
persist-3.2.1.tar.gz 38.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for persist 3.2.1
File Interpreter ABI Platform
persist-3.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 78.1 kB

Release files / persist-3.2.1.tar.gz

Download URL persist-3.2.1.tar.gz
Size 38.9 kB
Tags Source
SHA-256 checksum
How to use checksums
47e265060acaa3bb5db4210bdceb1b055b83c72dd42afe93f8e67c020f9218c8
BLAKE2b-256 checksum
How to use checksums
e895c1afc528b707b6d48bf812301fee3382bd3701075859736644189b796106
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / persist-3.2.1-py3-none-any.whl

Download URL persist-3.2.1-py3-none-any.whl
Size 39.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
337d36075be8d109dc210639a1054799f57cddd7aaa0ce094c44d249bff1fe89
BLAKE2b-256 checksum
How to use checksums
b0de671b73e587bf568cab6a9313a5581ac4959f9c5071b51e73ab91a98d7ba0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release history Release notifications | RSS feed

This release

3.2.1 This release

2 release files

3.2

2 release files

3.1

2 release files

3.0

2 release files

1.0

1 release file

0.9b1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page