Implementation of the Encoding for Robust Immutable Storage (ERIS) encoding
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eris-1.0.0.tar.gz
(20.8 kB
view details)
Built Distribution
eris-1.0.0-py3-none-any.whl
(22.4 kB
view details)
File details
Details for the file eris-1.0.0.tar.gz
.
File metadata
- Download URL: eris-1.0.0.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a23e67fbe7d09ddd278a7d0b6a82ccdc2a48593cce1d358db1f58c4914f461d |
|
MD5 | 44e28a24ae42b1350891b26e12d986ae |
|
BLAKE2b-256 | dffe345d4ade2a923d9ce0129b9f8edbaa26d006c9c48c31e1fbdd26edf598b4 |
File details
Details for the file eris-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: eris-1.0.0-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cb0b23a718751636572d2c0cbd07f5edf8f0416262fc08be762d33b496a2683 |
|
MD5 | bf33215c84046c5a1d0747123b1c58be |
|
BLAKE2b-256 | a29ade5be7206c3f3465861c296c21848e99a2f4047a6c15799fb8eae3a7474e |