skillfed

ipfshttpclient

Python IPFS HTTP CLIENT library

ipfshttpclient v0.7.0 242.7K downloads/30d#8,845 on PyPI
Permissive license MIT License Abandoned released

What it is and what it does

ipfshttpclient is a Python wrapper around the IPFS HTTP API that lets you programmatically interact with IPFS nodes. It handles the low-level HTTP communication, multiaddr address parsing (via multiaddr), and request formatting (via requests) so you can focus on adding files, retrieving content, and managing pins through simple Python method calls.

The library is designed for applications that need to integrate IPFS storage and retrieval into Python workflows—uploading files to a distributed network, fetching content by hash, querying node metadata, and managing content pinning. It supports both simple one-off operations and persistent session management for efficiency. However, the package has been abandoned since March 2021 and has not received updates for nearly two years, raising concerns about compatibility with modern IPFS releases and Python versions.

Use it for:

  • Add files or directories to IPFS and retrieve their content hashes for distributed storage and sharing.
  • Build a Python application that reads and writes data to IPFS as an alternative to centralized file storage.
  • Query IPFS node information, manage content pins, and perform administrative operations on a local or remote IPFS daemon.
  • Integrate IPFS content retrieval into web scrapers or archival tools that need decentralized access to stored data.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Python HTTP client library for interacting with IPFS (InterPlanetary File System) nodes, enabling you to add, retrieve, and manage content on IPFS networks through a local or remote daemon.

No—install only if you are maintaining legacy code already using this library. The package is abandoned (no updates since March 2021) and compatibility with current IPFS and Python versions is unverified. For new projects, seek a maintained fork or alternative IPFS client library.

Install

ipfshttpclient on PyPI

pip

pip install ipfshttpclient

uv

uv add ipfshttpclient

poetry

poetry add ipfshttpclient

Installing ipfshttpclient

Before you install

Installation is straightforward with low friction—only two runtime dependencies (multiaddr and requests). However, the package is abandoned as of 1978 days ago with no recent maintenance, meaning compatibility with current IPFS versions and Python releases is uncertain.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute the package freely in commercial and private projects without restriction.

Quickstart

pip install ipfshttpclient

import ipfshttpclient
client = ipfshttpclient.connect()
res = client.add('test.txt')
print(res['Hash'])

Requires a running IPFS daemon accessible at the connection address (default: /dns/localhost/tcp/5001/http); connecting to a public gateway will not work.

Verify before relying

  • Current compatibility with recent go-IPFS versions beyond 0.7.0, given the package's abandoned status since 2021.
  • Whether the package works reliably with Python 3.9+ despite classifiers only listing up to 3.8.
  • Active community forks or maintained alternatives that may have superseded this library.

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.5.4,!=3.6.0,!=3.6.1,!=3.7.0,!=3.7.1)
Install friction low — pure-Python wheel
Runtime dependencies 2 — multiaddr, requests
Maintenance abandoned — 1,978 days since the last release
First released
Downloads 242,709/month — #8,845 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: ipfshttpclient-0.7.0-py3-none-any.whl

Keywords: ipfs, storage, distribution, development

Development Status :: 3 - AlphaIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: InternetTopic :: Scientific/EngineeringTopic :: System :: FilesystemsTopic :: System :: Networking

Tags

ipfs http client pythonipfs file storage apidistributed file system pythonipfs content addressingipfs daemon interactiondecentralized storage clientipfs add retrieve files
ipfsdistributed-storageabandoned

More Scientific/Engineering packages