PyIPASNHistory
This is the client API for IP ASN History.
Installation
pip install pyipasnhistory
Usage
Command line
You can use the ipasnhistory command to query the instance.
usage: ipasnhistory [-h] [--url URL] (--meta | --file FILE | --ip IP) [--source SOURCE] [--address_family ADDRESS_FAMILY] [--date DATE] [--first FIRST]
[--last LAST]
Run a query against IP ASN History
optional arguments:
-h, --help show this help message and exit
--url URL URL of the instance.
--meta Get meta information.
--file FILE Mass process queries from a file.
--ip IP IP to lookup
--source SOURCE Source to query (currently, only "caida" and "ripe_rrc00" are supported)
--address_family ADDRESS_FAMILY
Can be either v4 or v6
--date DATE Exact date to lookup. Fallback to most recent available.
--first FIRST First date in the interval
--last LAST Last date in the interval
Library
See API Reference
Metadata
Release files for pyipasnhistory 2.1.5
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 |
|---|---|---|---|---|
| pyipasnhistory-2.1.5.tar.gz | 4.1 kB | With provenance | Details for pyipasnhistory-2.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyipasnhistory-2.1.5-py3-none-any.whl | Python 3 | none | any | Details for pyipasnhistory-2.1.5-py3-none-any.whl |
Total release size: 9.4 kB
Release files / pyipasnhistory-2.1.5.tar.gz
| Download URL | pyipasnhistory-2.1.5.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
636a2ca1be387e4ed379205b0ce1a6550f14487c25abd1d94f8c946a1b00ea39
|
|
BLAKE2b-256 checksum How to use checksums |
e45688457eb4eeefa7399d1c5c5cb2be6ddb8aaab4f22482da41d185f0e2fea0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2025.
Transparency logRelease files / pyipasnhistory-2.1.5-py3-none-any.whl
| Download URL | pyipasnhistory-2.1.5-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1db049dd6818a3a49d3e96fe1c0aee901d0c0142cf81efa64be12d636c8ca9bf
|
|
BLAKE2b-256 checksum How to use checksums |
6622cd649e5a95b8fafcb8fa915bba87052b9edf071237dc04b25da5947b07bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2025.
Transparency logSecurity for pyipasnhistory 2.1.5
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pyipasnhistory-2.1.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2025.
Transparency logA 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.