Skip to main content

abondance: Python library for Internet Health Report API

Installation

The easy way

pip install abondance

From source files

Get the latest source files:

git clone git@github.com:InternetHealthReport/abondance.git

Install dependencies and install abondance:

cd abondance
sudo pip install -r requirements.txt 
sudo python setup.py install

AS inter-dependency (AS hegemony)

Example: Retrieve dependencies for AS2501 on September 15th, 2018

from ihr.hegemony import Hegemony

hege = Hegemony(originasns=[2501], start="2018-09-15 00:00", end="2018-09-15 23:59")

for r in hege.get_results():
  print(r)

Example: Retrieve dependents of AS2500 on September 15th, 2018

from ihr.hegemony import Hegemony

hege = Hegemony(asns=[2500], start="2018-09-15 00:00", end="2018-09-15 23:59")

for r in hege.get_results():
  # Skip results from the global graph
  if r["originasn"] == 0:
    continue
  print(r)

AS Delay

Example: Retrieve delay for AS7922 on September 15th, 2018

from ihr.delay import Delay

res = Delay(asns=[7922], start="2018-09-15 00:00", end="2018-9-15 23:59")

for r in res.get_results():
  print(r)

AS Forwarding alarms

Example: Retrieve forwarding alarms for AS7922 on September 15th, 2018

from ihr.forwarding import Forwarding

res = Forwarding(asns=[7922], start="2018-09-15 00:00", end="2018-9-15 23:59")

for r in res.get_results():
  print(r)

Metadata

Release files for abondance 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abondance 0.1.2
File Size Uploaded Provenance
abondance-0.1.2.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for abondance 0.1.2
File Interpreter ABI Platform
abondance-0.1.2-py3.9.egg Legacy Egg format - - Details

Total release size: 26.0 kB

Release files / abondance-0.1.2.tar.gz

Download URL abondance-0.1.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c9539b76955016fcfb67bfa77949b164801de34fe2806d4aa05249cb30bee824
BLAKE2b-256 checksum
How to use checksums
2904f00224ee30e8af886dc97d7f8fbfe767f7d6db85a4419bad4c8c17898d48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release files / abondance-0.1.2-py3.9.egg

Download URL abondance-0.1.2-py3.9.egg
Size 21.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
866332dc1d842d818bc65e447714ce4be1575240731b2ef0527a845700692444
BLAKE2b-256 checksum
How to use checksums
eed909aec82c02e5909aac7c11b7ceccd3d3926445a882e67821a093f80b7b56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Security for abondance 0.1.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page