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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eris-1.0.0.tar.gz | 20.8 kB | Without provenance | Details for eris-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eris-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for eris-1.0.0-py3-none-any.whl |
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
|
Security for eris 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.