Skip to main content

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


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)

Uploaded Source

Built Distribution

asyncipfscluster-0.1.2-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page