Skip to main content

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

  1. Visit datahosting.company/register
  2. Complete registration
  3. 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

Metadata

Release files for datahosting-ipfs 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datahosting-ipfs 1.0.0
File Size Uploaded
datahosting_ipfs-1.0.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datahosting-ipfs 1.0.0
File Interpreter ABI Platform
datahosting_ipfs-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / datahosting_ipfs-1.0.0.tar.gz

Download URL datahosting_ipfs-1.0.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e1b1f1b6049eea216f76a8c4eac3733ab25c33c1957fc9e9e2609b64f3d78fc1
BLAKE2b-256 checksum
How to use checksums
48c9d037f3008d88375ba43efc08eb1a60b968e2ada2165ad3309c30ffde91e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.14

Release files / datahosting_ipfs-1.0.0-py3-none-any.whl

Download URL datahosting_ipfs-1.0.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e989699c877ac69a741044f2c8b0c89e7331589deaeba6c115d1165ce8412667
BLAKE2b-256 checksum
How to use checksums
7cb948cb2b9942ca48c5ea6c8a5c602955cc4e1c69a3d400974fc2bafd2e6776
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.14

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page