Measuring AS dependency of a country
Project description
country-as-hegemony: Measuring AS dependency of a country
Installation
Requirement: https://github.com/InternetHealthReport/abondance
Example
To get the AS dependencies of Japan, run the following command:
$ python3 country-hege.py 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.
$ python3 country-hege.py 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, -
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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for country-as-hegemony-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fff8e02cd352d929d8ab18a496c1cfba1b88706db3935be1c4f0824945f04bc |
|
MD5 | cde413a801c6c2e70245e2fa0c8d5e6a |
|
BLAKE2b-256 | 0351b591b1e88e4c14943db7376d93324b81da63c106fdbf593a9208ee183ff1 |
Close
Hashes for country_as_hegemony-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50309e4fbb850c5dfb3324a3ba795c83003c1c6fa18872e0c5e0f0a67d80eddd |
|
MD5 | b42dbaa04eb1fe3bf9298d42df84a712 |
|
BLAKE2b-256 | 63aa6de4a13cfa29ab39e24e789348ae4464c609085935bd96ba5b7c07f86028 |