Catalog PyPI
Back to packageRELEASE DETAILS

0.1.2

PyPI

abondance

Pyhton library for Internet Health Report API

Published1 Apr 2021
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.1.2 documentation

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)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

2 collected
abondance-0.1.2-py3.9.egg

bdist_egg · 20.67 KB · Python 0.1.2

Source file
abondance-0.1.2.tar.gz

sdist · 4.7 KB · Python source

Source file

Repository

PENDING
internethealthreport/abondance

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:32 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:8df012ffb3e520eb863acff11244e55cc28e54cadd01523c5161b8f2a25f825d

Other collected versions

View all collected versions →