Skip to main content

BGP/ASN utilities for tmautils

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tmautils_bgp-0.2.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tmautils_bgp-0.2.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file tmautils_bgp-0.2.0.tar.gz.

File metadata

  • Download URL: tmautils_bgp-0.2.0.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.3 Linux/6.19.6-200.fc43.x86_64

File hashes

Hashes for tmautils_bgp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ad020759b935b8ed3bd1ca90fc5ffdc6636c93fb54fbe208f2410db49f5abccf
MD5 3361be46cc3aee4af4fdfb28d0d066e2
BLAKE2b-256 10c7bd6ce67ecfeff3a4133ba4198538daa1cc37855b7bfa2c0a8a53aef7dae5

See more details on using hashes here.

File details

Details for the file tmautils_bgp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tmautils_bgp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.3 Linux/6.19.6-200.fc43.x86_64

File hashes

Hashes for tmautils_bgp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0237442c4521d0cb6e0ad00b8f20d8a56f72342db980d0383b6e885ef9ae66f0
MD5 c99fda327be6c546788c6af2ef5720df
BLAKE2b-256 6dfc6449a5f03de90e301304d168af533ee3b01968461fcdab983e49c16a719b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page