{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/4"}],"enrichment":{"capability":"Parses, constructs, and manipulates multiaddrs\u2014protocol-agnostic network addresses that combine IP, DNS, transport, and peer identity into a single composable format.","skillfed_tags":["p2p-networking","libp2p","address-parsing"],"use_cases":["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 \u2192 destination chains).","Resolving DNS and DNSADDR records while preserving peer identity across resolution.","Extracting and comparing protocol layers from complex network addresses."],"what_it_does":"py-multiaddr is a Python implementation of the multiaddr specification\u2014a 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.\n\nThe 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.","worth_installing":"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."},"id":"multiaddr","links":{"html":"https://skillfed.io/packages/multiaddr","md":"https://skillfed.io/packages/multiaddr.md","pypi":"https://pypi.org/project/multiaddr/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-17","license_spdx":null,"license_treatment":"permissive","name":"multiaddr","python_support":"supports_current","summary":"Python implementation of jbenet's multiaddr"},"popularity":{"monthly_downloads":316501,"position":7675,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.0"}
