Skip to main content

python-eris

This is a Python implementation of the Encoding for Robust Immutable Storage (ERIS).

Usage

import eris
import asyncio

async def main():

    # create a store
    store = eris.DictStore()

    # encode content
    encoder = eris.Encoder(eris.null_convergence_secret(), store, block_size = 1024)
    await encoder.write(b'Hello world!')
    read_capability = await encoder.close()

    # decode content
    decoder = eris.Decoder(store, read_capability)
    decoded = await decoder.readall()

    print(decoded)

asyncio.run(main())

See also the online documentation and the examples.

Development

Running Tests

python -m unittest tests/*.py

Building Documentation

make -C docs html

Publishing to PyPi

python -m build
python3 -m twine upload --repository pypi dist/*

License

AGPL-3.0-or-later

Release files for eris 1.0.0

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

Source distribution (sdist)

Source distribution for eris 1.0.0
File Size Uploaded
eris-1.0.0.tar.gz 20.8 kB Details

Built distribution (wheel)

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

Total release size: 43.2 kB

Release files / eris-1.0.0.tar.gz

Download URL eris-1.0.0.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6a23e67fbe7d09ddd278a7d0b6a82ccdc2a48593cce1d358db1f58c4914f461d
BLAKE2b-256 checksum
How to use checksums
dffe345d4ade2a923d9ce0129b9f8edbaa26d006c9c48c31e1fbdd26edf598b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.3 requests/2.28.1 setuptools/64.0.3 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.9

Release files / eris-1.0.0-py3-none-any.whl

Download URL eris-1.0.0-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cb0b23a718751636572d2c0cbd07f5edf8f0416262fc08be762d33b496a2683
BLAKE2b-256 checksum
How to use checksums
a29ade5be7206c3f3465861c296c21848e99a2f4047a6c15799fb8eae3a7474e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.3 requests/2.28.1 setuptools/64.0.3 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.9

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.2

2 release files

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