Python client for ceramic
A simple Ceramic Network client written in Python.
This Ceramic client implements the payload building, encoding and signing needed to interact with the Ceramic Network.
Run the example
The example in this repository creates a new stream in a remote Ceramic node. This stream is initialized with the following data: {"hello": "world"}. It then retrieves the data, submits an update request to change that data to {"foo": "baz"} and retrieves the data again to prove that the update was successful.
Note: the Ceramic node used in this examples should be used for testing purposes only. All the data pinned to that node is wiped periodically.
-
Install pipenv.
-
Generate the virtual environment:
make new_env -
Run the example:
python example.pyYou should see an output similar to the following:
Created stream kjzl6cwe1jw147sv2ak3kksfgs14gc3jgjhu3mfnwn534l89joxi2tulv0ci14k Current data is {'hello': 'world'} Updated stream kjzl6cwe1jw147sv2ak3kksfgs14gc3jgjhu3mfnwn534l89joxi2tulv0ci14k Current data is {'foo': 'baz'}
Metadata
Release files for ceramic-py 0.1.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 |
|---|---|---|---|---|
| ceramic-py-0.1.0.tar.gz | 10.5 kB | Without provenance | Details for ceramic-py-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ceramic_py-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ceramic_py-0.1.0-py3-none-any.whl |
Total release size: 21.3 kB
Release files / ceramic-py-0.1.0.tar.gz
| Download URL | ceramic-py-0.1.0.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61228f883503f01130671647b3810442868983b59afc1900fd89c0d616fe3468
|
|
BLAKE2b-256 checksum How to use checksums |
e603a10bdfe133ae037fd8459db0d537131a7de00567d02459a32a7b7a1f3270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.7
|
Release files / ceramic_py-0.1.0-py3-none-any.whl
| Download URL | ceramic_py-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82c72a35da73b1ada5ff135d49ec470cea08d377cc5524e13714324acdf33f05
|
|
BLAKE2b-256 checksum How to use checksums |
4b4e117eaaa134474364a08b29972ac86b7877c7c9c70f486a7ddd05f5c638de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.7
|
Security for ceramic-py 0.1.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.