peeringdb
PeeringDB Python client and library
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive BSD-2-Clause license. It is well-suited for network operators and developers who need programmatic access to PeeringDB. Install it if you work with BGP, peering infrastructure, or need to query internet exchange data.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; depends on httpx and other runtime packages for API communication.
- Low friction install with a pure-Python wheel.
- Actively maintained with a recent release 39 days ago and commits through 2026-08-14.
License · maintenance · safety
BSD-2-Clause (permissive) — BSD-2-Clause permissive license allows broad use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects.
last release 2026-07-06 (39 days) · last repo commit 2026-08-14 · 102 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 86,863 downloads/mo, #13,832 on PyPI
Alternatives
Verify before relying
pip install peeringdb
import peeringdb
# Query PeeringDB for network or ASN information
result = peeringdb.query('asn', asn_number)- Whether the package requires PeeringDB API credentials or authentication for all queries.
- Whether django-peeringdb is a required runtime or an optional integration for Django projects.
- Performance characteristics and rate limits when querying large datasets.
What it is and what it does
peeringdb is a Python client for the PeeringDB API, which maintains a public database of internet peering information including autonomous systems (ASNs), networks, and internet exchange points. It wraps HTTP calls to PeeringDB's REST API through httpx and provides a Pythonic interface for developers to query peering infrastructure data programmatically.
The package is aimed at network operators, system administrators, and developers working with BGP routing and internet peering. It depends on django-peeringdb, confu, munge, pyyaml, and twentyc-rpc to handle configuration, data transformation, and RPC communication. The library is actively maintained, supports Python 3.10 through 3.14, and carries no known security vulnerabilities.
Use it for
- Query ASN details and network information for BGP route analysis and peering decisions.
- Automate discovery of internet exchange points and peering facilities in a given region.
- Build network topology tools that pull live peering data from PeeringDB.
- Integrate peering information into network monitoring or configuration management systems.
- Validate ASN and network ownership during network provisioning workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive BSD-2-Clause license. It is well-suited for network operators and developers who need programmatic access to PeeringDB. Install it if you work with BGP, peering infrastructure, or need to query internet exchange data.
Install
peeringdb on PyPI
Before you install
Low friction install with a pure-Python wheel. Actively maintained with a recent release 39 days ago and commits through 2026-08-14. Depends on six runtime packages including django-peeringdb, httpx, and pyyaml.
Requires Python 3.10 or later; depends on httpx and other runtime packages for API communication.
License in practice
BSD-2-Clause permissive license allows broad use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects.
Quickstart
pip install peeringdb
import peeringdb
# Query PeeringDB for network or ASN information
result = peeringdb.query('asn', asn_number)
Verify before relying
- Whether the package requires PeeringDB API credentials or authentication for all queries.
- Whether django-peeringdb is a required runtime or an optional integration for Django projects.
- Performance characteristics and rate limits when querying large datasets.
Package facts
| License | BSD-2-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesconfudjango-peeringdbhttpxmungepyyamltwentyc-rpc |
| Maintenance | Actively maintained 39 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 86,863 / month, #13,832 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: System AdministratorsIntended Audience :: Telecommunications IndustryLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: InternetTopic :: Software Development :: Libraries :: Python Modules |
Evidence: peeringdb-2.5.0-py3-none-any.whl
Tags
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 › “peeringdb api client”
- peeringdbA Python client library for querying and working with PeeringDB data,…
- django-peeringdbProvides Django ORM models and admin interface for PeeringDB data,…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-peeringdb · pyasn · pybgpkit · netutils · whoisit · ipwhois · ipinfo · geoip2fast · geoip2 · pybgpkit-parser