Async IPFS Cluster HTTP API
Project description
Async IPFS API
Install
pip install asyncipfscluster
Usage
import asyncio
from asyncipfscluster import IPFSClient
client = IPFSClient("http://127.0.0.1:9094")
async def main():
async with client as session:
cid = await client.add_bytes(b"Hello from cofob!", "text/plain")
print(cid)
asyncio.run(main())
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
Built Distribution
File details
Details for the file asyncipfscluster-0.1.2.tar.gz
.
File metadata
- Download URL: asyncipfscluster-0.1.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.7 Linux/5.19.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5d776f2592ad84c48ab92eeae8b3f2f896afb11efeddf84c3dd7b3c7a14f224 |
|
MD5 | 1c1ef2484704f73eb37dd2a3a602bb6f |
|
BLAKE2b-256 | c4ed833bf57de53e975e45eb5a5903b017c9dc6d5480a135d03960143b5d000c |
File details
Details for the file asyncipfscluster-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: asyncipfscluster-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.7 Linux/5.19.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 927b54f1d4816f87e3ce71ae4d00b11781004af05ba29507d57c84098477e9fa |
|
MD5 | 78f6805deb0ac23cf5a2edd1bcf9e64e |
|
BLAKE2b-256 | 718232b1b73d5ebdcbef03a40c173041a5fc635e1ed5b5b6bad2ec5d47cb17ee |