pybgpkit-parser
Python binding for bgpkit-parser
Decision gist · record as of 2026-08-14
Yes, if you work with BGP data. The package is actively maintained, has no known vulnerabilities, supports current Python versions (3.9–3.13), and offers both ease-of-use (simple iteration) and performance (tuple batching, route-level parsing). Medium install friction is acceptable for a compiled binding. Not relevant for projects that do not consume BGP routing data.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; remote data sources must be accessible via HTTP.
- Medium install friction due to compiled Rust bindings; prebuilt wheels available for macOS (x86_64 and ARM64), Linux (x86_64), and Windows (x64) on Python 3.9+.
- Last release 43 days ago; marked active.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-07-02 (43 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 106,903 downloads/mo, #12,634 on PyPI
Alternatives
Verify before relying
from pybgpkit_parser import Parser
parser = Parser(
url="https://spaces.bgpkit.org/parser/update-example",
filters={"peer_ips": "185.1.8.65, 2001:7f8:73:0:3:fa4:0:1"},
)
for elem in parser:
print(elem.origin_asns)- Performance characteristics and throughput limits for large BGP datasets not quantified in the fact sheet.
- Whether the Rust backend can be built from source on platforms without prebuilt wheels.
- Specific memory overhead when caching large BGP files locally.
What it is and what it does
pybgpkit-parser is a Python binding to a Rust-based BGP parser that reads BGP update messages and route announcements from remote URLs or local files. It exposes individual routing elements (announcements and withdrawals) as structured objects with fields like timestamp, peer IP, AS number, prefix, AS path, and various BGP attributes. The package is designed for network operators and researchers who need to analyze BGP routing data programmatically.
The parser supports filtering by peer IP, origin ASN, prefix, and element type, and offers multiple iteration modes: full object iteration, high-performance tuple projection (for subset fields), and batch processing. It also includes a faster RouteParser variant for scans that only need route identity fields. Caching is optional, and the library exposes utility methods for checking announcement vs. withdrawal, extracting origin ASNs, and serializing to JSON or pipe-separated values.
Use it for
- Analyze BGP routing announcements and withdrawals from public BGP collectors or private feeds.
- Filter and extract specific routes by peer IP, AS number, or prefix for network topology research.
- Batch-process large BGP update files with minimal memory overhead using tuple projection.
- Monitor route changes and AS path evolution for network security or performance analysis.
- Export BGP data to JSON or PSV format for downstream analysis or archival.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with BGP data.
The package is actively maintained, has no known vulnerabilities, supports current Python versions (3.9–3.13), and offers both ease-of-use (simple iteration) and performance (tuple batching, route-level parsing). Medium install friction is acceptable for a compiled binding. Not relevant for projects that do not consume BGP routing data.
Install
pybgpkit-parser on PyPI
Before you install
Medium install friction due to compiled Rust bindings; prebuilt wheels available for macOS (x86_64 and ARM64), Linux (x86_64), and Windows (x64) on Python 3.9+. Last release 43 days ago; marked active.
Requires Python 3.9 or later; remote data sources must be accessible via HTTP.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
from pybgpkit_parser import Parser
parser = Parser(
url="https://spaces.bgpkit.org/parser/update-example",
filters={"peer_ips": "185.1.8.65, 2001:7f8:73:0:3:fa4:0:1"},
)
for elem in parser:
print(elem.origin_asns)
Verify before relying
- Performance characteristics and throughput limits for large BGP datasets not quantified in the fact sheet.
- Whether the Rust backend can be built from source on platforms without prebuilt wheels.
- Specific memory overhead when caching large BGP files locally.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 43 days since the last release |
| First released | |
| Downloads | 106,903 / month, #12,634 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Rust |
Evidence: pybgpkit_parser-0.18.0-cp39-abi3-macosx_10_12_x86_64.whl; pybgpkit_parser-0.18.0-cp39-abi3-macosx_11_0_arm64.whl; pybgpkit_parser-0.18.0-cp39-abi3-manylinux_2_38_x86_64.whl; pybgpkit_parser-0.18.0-cp39-abi3-win_amd64.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 › “BGP parser Python”
- pybgpkit-parserParses BGP (Border Gateway Protocol) update and route data from…
- pybgpkitPython bindings for BGPKIT tools that parse BGP data, query MRT…
- peeringdbA Python client library for querying and working with PeeringDB data,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
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.
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.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also pybgpkit · pyasn · adblockparser · sglang-router · peeringdb · pyfaup-rs · mitmproxy-wireguard · abnf · sanic-routing · moviepilot-rust