Python SDK for DataHosting IPFS hosting
Project description
DataHosting IPFS Python SDK
Official Python SDK for DataHosting.company
Installation
pip install git+https://github.com/branislav1989/ipfs-kubo-private-public-ipfs-cluster.git#subdirectory=datahosting-sdk
Get API Credentials
- Visit datahosting.company/register
- Complete registration
- Copy your API Key and API Secret
Quick Start
from datahosting import DataHostingClient
# Initialize with your credentials
client = DataHostingClient(
api_key="your_api_key_here",
api_secret="your_api_secret_here"
)
# Upload to IPFS Kubo (retention-based)
result = client.upload_kubo(
file_path="document.pdf",
is_private=False,
retention_months=6
)
print(f"CID: {result['cid']}, Cost: €{result['cost']}")
# Upload to IPFS Cluster (monthly subscription)
result = client.upload_cluster(
file_path="backup.zip",
replica_count=2
)
print(f"CID: {result['cid']}")
# Check balance
balance = client.get_balance()
print(f"Kubo: €{balance['kubo_balance']}, Cluster: €{balance['cluster_balance']}")
# List your files
pins = client.list_pins()
backups = client.list_cluster_backups()
Features
- IPFS Kubo pinning (1, 2, 6, 12 month retention)
- IPFS Cluster with replicas (1-3)
- Balance management
- File listing
Pricing
- Kubo: €0.05-€0.10/GB/month
- Cluster: €0.0156/GB/month per replica
- 5GB free bandwidth/month
Support
Email: branislavusjak1989@gmail.com Website: https://datahosting.company
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datahosting_ipfs-1.0.0.tar.gz.
File metadata
- Download URL: datahosting_ipfs-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1b1f1b6049eea216f76a8c4eac3733ab25c33c1957fc9e9e2609b64f3d78fc1
|
|
| MD5 |
ba53ff6706a12e2a89d65aed218601e1
|
|
| BLAKE2b-256 |
48c9d037f3008d88375ba43efc08eb1a60b968e2ada2165ad3309c30ffde91e3
|
File details
Details for the file datahosting_ipfs-1.0.0-py3-none-any.whl.
File metadata
- Download URL: datahosting_ipfs-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e989699c877ac69a741044f2c8b0c89e7331589deaeba6c115d1165ce8412667
|
|
| MD5 |
d60bafdb3dd4bc260861a7a64c27a20c
|
|
| BLAKE2b-256 |
7cb948cb2b9942ca48c5ea6c8a5c602955cc4e1c69a3d400974fc2bafd2e6776
|