tmautils-bgp
BGP/ASN utilities for Internet measurement research. Part of the tmautils package family.
Provides IP-to-ASN lookups, AS categorization (Stanford ASdb), and AS-to-organization mapping (CAIDA AS2Org).
Installation:
pip install tmautils-bgp
API
| Utility / Function | What it does |
|---|---|
PyasnUtil |
IP to ASN lookups (wraps pyasn) |
ASdbCategoryUtil |
AS categorization using Stanford ASdb |
CaidaAsOrgInfoUtil |
AS to Organization mapping using CAIDA's AS2Org |
License
This project is licensed under MPL-2.0 (Mozilla Public License 2.0).
What this means in practice:
- If you modify an existing file, your modifications must remain MPL-2.0.
- You can license new files however you want. (But I won't merge them unless they are MPL-2.0.)
- You can use this code alongside code under other licenses.
Contributing
Contributions are highly welcome! See the tmautils README for philosophy and design choices.
AI Policy: I don't consider AI tool usage any different from IDE usage. This also means that you are responsible for the code you write and you should inspect every line of code written by an LLM.
Metadata
Release files for tmautils-bgp 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tmautils_bgp-0.2.0.tar.gz | 14.2 kB | Without provenance | Details for tmautils_bgp-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tmautils_bgp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for tmautils_bgp-0.2.0-py3-none-any.whl |
Total release size: 31.0 kB
Release files / tmautils_bgp-0.2.0.tar.gz
| Download URL | tmautils_bgp-0.2.0.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad020759b935b8ed3bd1ca90fc5ffdc6636c93fb54fbe208f2410db49f5abccf
|
|
BLAKE2b-256 checksum How to use checksums |
10c7bd6ce67ecfeff3a4133ba4198538daa1cc37855b7bfa2c0a8a53aef7dae5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.14.3 Linux/6.19.6-200.fc43.x86_64
|
Release files / tmautils_bgp-0.2.0-py3-none-any.whl
| Download URL | tmautils_bgp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0237442c4521d0cb6e0ad00b8f20d8a56f72342db980d0383b6e885ef9ae66f0
|
|
BLAKE2b-256 checksum How to use checksums |
6dfc6449a5f03de90e301304d168af533ee3b01968461fcdab983e49c16a719b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.14.3 Linux/6.19.6-200.fc43.x86_64
|
Security for tmautils-bgp 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.