Skip to main content

country-as-hegemony: Measuring AS dependency of a country

Installation

pip install country-as-hegemony

Example

To get the AS dependencies of Japan, run the following command:

$ country-hege JP
# Found 166 eyeball networks in JP on 2019-09-29T00:00:00+00:00
2914, 0.27661613861709505, +
2516, 0.25968996183607757, +
17676, 0.1974546945536009, +
4713, 0.15525111414563947, +
1299, 0.13595634758208053, -
9605, 0.10072894639780244, +
174, 0.08765424779438354, -
2497, 0.06338680212620768, +
9824, 0.05253467345731747, +
2527, 0.03509657300628496, +

The '+' represent eyeball networks, the '-' are transit networks. These results are biasied towards big eyeballs networks. The -r option remove eyeballs networks from the AS hegemony computation.

$ country-hege JP -r
# Found 166 eyeball networks in JP on 2019-09-29T00:00:00+00:00
2914, 0.27580372217582483, +
1299, 0.13595634758208053, -
174, 0.08765424779438354, -
2516, 0.05994903574329003, +
2497, 0.04637372262121612, +
3356, 0.027235210986714956, -
9824, 0.021176697891166645, +
3491, 0.0191735214924131, -
2519, 0.01604299099396895, +
3257, 0.01316708668625293, -

Notes

  • The IHR results before October 2020 are computed with the AS population obtained in October 15th, 2020.

References

This is a follow up of the work done at APRICOT19 Hackathon: https://github.com/munhyunsu/APRICOT19 AS Hegemony: https://ihr.iijlab.net/ihr/hegemony/

Metadata

Release files for country-as-hegemony 0.2.0

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

Source distribution (sdist)

Source distribution for country-as-hegemony 0.2.0
File Size Uploaded Provenance
country-as-hegemony-0.2.0.tar.gz 17.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for country-as-hegemony 0.2.0
File Interpreter ABI Platform
country_as_hegemony-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 35.1 kB

Release files / country-as-hegemony-0.2.0.tar.gz

Download URL country-as-hegemony-0.2.0.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fa4f6cbae6d61a17148b24ea5c951f5882b06dc930662de7b481d81539a3bbd7
BLAKE2b-256 checksum
How to use checksums
c7213af6a9e2e7e93af7e083f84627d690a992a47bf5bebdaea881cf85ecfc5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / country_as_hegemony-0.2.0-py3-none-any.whl

Download URL country_as_hegemony-0.2.0-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1c428c9e6baa958d8e9e162e91966d04265f52d507cc1ba046886364212cedb
BLAKE2b-256 checksum
How to use checksums
5101f2f29c962479408626a36ab69a740be89e3db317063716124a6989026c33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Security for country-as-hegemony 0.2.0

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