asyncipfscluster-0.1.2
توضیحات
Async IPFS Cluster HTTP API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | asyncipfscluster-0.1.2 |
| نام | asyncipfscluster |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Egor Ternovoy |
| ایمیل نویسنده | cofob@riseup.net |
| آدرس صفحه اصلی | https://git.frsqr.xyz/cofob/asyncipfscluster |
| آدرس اینترنتی | https://pypi.org/project/asyncipfscluster/ |
| مجوز | MIT |
# Async IPFS API
## Install
```bash
pip install asyncipfscluster
```
## Usage
```python
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())
```
نیازمندی
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | aiohttp |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl asyncipfscluster-0.1.2:
pip install asyncipfscluster-0.1.2.whl
نصب پکیج tar.gz asyncipfscluster-0.1.2:
pip install asyncipfscluster-0.1.2.tar.gz