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
asyncipfscluster-0.1.2.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for asyncipfscluster-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 927b54f1d4816f87e3ce71ae4d00b11781004af05ba29507d57c84098477e9fa |
|
MD5 | 78f6805deb0ac23cf5a2edd1bcf9e64e |
|
BLAKE2b-256 | 718232b1b73d5ebdcbef03a40c173041a5fc635e1ed5b5b6bad2ec5d47cb17ee |