$npx skillfedfor your agent

multiaddr

Python implementation of jbenet's multiaddr

With conditionsPyPI InternetReleased Mar 2026316.5K downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — multiaddr-0.2.0-py3-none-any.whl
v0.2.0 · released 2026-03-17 · Python <4.0,>=3.10 · 12 runtime deps: base58, dnspython, idna, netaddr, psutil, py-cid, py-multicodec, py-multibase

Yes, if you are building or integrating with libp2p, IPFS, or other multiformats-based systems. The package is actively maintained, has no known vulnerabilities, and low install friction. The pre-alpha status and small maintainer team are worth noting for production use, but the core functionality is stable and widely used in the ecosystem.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10+; async DNS resolution requires trio and an event loop.
  • Low friction: pure Python wheel with 12 runtime dependencies including trio for async DNS.
  • Actively maintained with recent commits; marked pre-alpha but in use across the multiformats ecosystem.

License · maintenance · safety

MIT License (permissive) — Dual-licensed MIT or Apache 2.0—permissive either way, suitable for commercial and open-source projects without copyleft obligations.

last release 2026-03-17 (150 days) · last repo commit 2026-07-29 · 36 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 316,501 downloads/mo, #7,675 on PyPI

Verify before relying

pip install multiaddr

from multiaddr import Multiaddr

m = Multiaddr("/ip4/127.0.0.1/tcp/8080")
print(m.protocols())
print(m.to_bytes())
  • Whether DNS resolution performance scales to high-volume bootstrap node lookups in production p2p networks.
  • Stability guarantees or breaking-change policy given pre-alpha status (Development Status :: 2).
Same gist for agents: .md · .json

What it is and what it does

py-multiaddr is a Python implementation of the multiaddr specification—a way to express network addresses as composable protocol stacks. Instead of separate IP, port, and protocol fields, multiaddr encodes them as a single string like `/ip4/127.0.0.1/tcp/8080/p2p/QmPeer`, making it easy to parse, validate, and manipulate complex network paths. It handles encapsulation and decapsulation (nesting protocols), DNS resolution with peer ID preservation, and wildcard expansion for server binding across network interfaces.

The package targets libp2p and IPFS ecosystems but is generally useful for any application needing a unified, protocol-agnostic address representation. It depends on trio for async DNS, base58 and multihash variants for encoding, and netaddr for IP manipulation. The API is straightforward: construct a Multiaddr from a string or bytes, call methods like `protocols()`, `encapsulate()`, `decapsulate()`, or `resolve()` to work with it.

Use it for

  • Parsing and validating bootstrap node addresses in p2p networks with embedded peer IDs.
  • Expanding wildcard addresses (0.0.0.0, ::) to concrete interfaces for server binding.
  • Composing protocol stacks for tunneling scenarios (proxy → destination chains).
  • Resolving DNS and DNSADDR records while preserving peer identity across resolution.
  • Extracting and comparing protocol layers from complex network addresses.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building or integrating with libp2p, IPFS, or other multiformats-based systems.

The package is actively maintained, has no known vulnerabilities, and low install friction. The pre-alpha status and small maintainer team are worth noting for production use, but the core functionality is stable and widely used in the ecosystem.

Install

multiaddr on PyPI

Before you install

Low friction: pure Python wheel with 12 runtime dependencies including trio for async DNS. Actively maintained with recent commits; marked pre-alpha but in use across the multiformats ecosystem.

Requires Python 3.10+; async DNS resolution requires trio and an event loop.

License in practice

Dual-licensed MIT or Apache 2.0—permissive either way, suitable for commercial and open-source projects without copyleft obligations.

Quickstart

pip install multiaddr

from multiaddr import Multiaddr

m = Multiaddr("/ip4/127.0.0.1/tcp/8080")
print(m.protocols())
print(m.to_bytes())

Verify before relying

  • Whether DNS resolution performance scales to high-volume bootstrap node lookups in production p2p networks.
  • Stability guarantees or breaking-change policy given pre-alpha status (Development Status :: 2).

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release <4.0,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
12 packages
base58dnspythonidnanetaddrpsutilpy-cidpy-multicodecpy-multibasepy-multihashtrio-typingtriovarint
MaintenanceActively maintained 150 days since the last release
Last repo commit
First released
Downloads316,501 / month, #7,675 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Evidence: multiaddr-0.2.0-py3-none-any.whl

Tags

Capabilities
multiaddr parsing and constructionnetwork address compositionDNS resolution with peer IDprotocol encapsulation decapsulationlibp2p multiaddr implementationwildcard address expansionthin waist address validation
Topics
p2p-networkinglibp2paddress-parsing
PyPI keywords
multiaddr

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “multiaddr parsing and construction”

  • multiaddrParses, constructs, and manipulates multiaddrs—protocol-agnostic…
  • ipfshttpclientA Python HTTP client library for interacting with IPFS…
  • slySLY is a pure-Python implementation of lex and yacc for building…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also ipaddr · netaddr · py-multicodec · ipaddress · pmd-net-proto · IPy · netifaces-plus · pproxy · zeroconf · ngrok