Python IP address to Autonomous System Number lookup module.
pyasn is a Python extension module that enables very fast IP address to Autonomous System Number lookups. Current state and Historical lookups can be done, based on the MRT/RIB BGP archive used as input.
pyasn is different from other ASN lookup tools in that it provides offline and historical lookups. It provides utility scripts for users to build their own lookup databases based on any MRT/RIB archive. This makes pyasn much faster than online dig/whois/json lookups.
The module is written in C and Python, and cross-compiles on Linux and Windows. Underneath, it uses a radix tree data structure for storage of IP addresses. In the current version, it borrows code from py-radix to support both IPV4 and IPV6 network prefixes. Compared to the previous version, it provides support for Python 2 and 3; adds new functionality, performance improvements, and unit-tests.
pyasn has been developed by Hadi Asghari and Arman Noroozian during their PhD research on cybersecurity measurements. The package is used widely and bugs are fixed quickly. Please report any bugs via GitHub issues.
https://github.com/hadiasghari/pyasn
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:jloehel:python/python-pyasn && cd $_ - Create Badge
Source Files
| Filename | Size | Changed |
|---|---|---|
| _service | 0000000594 594 Bytes | |
| _servicedata | 0000000234 234 Bytes | |
| fix-regex-import-warning.patch | 0000003804 3.71 KB | |
| pyasn-1.6.2.tar.gz | 0013539459 12.9 MB | |
| python-pyasn.changes | 0000000167 167 Bytes | |
| python-pyasn.spec | 0000002699 2.64 KB | |
| us-Update-get_as_size.patch | 0000001927 1.88 KB |
Comments 0