New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

country-as-hegemony

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-as-hegemony

Measuring AS dependency of a country or region

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
1

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/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc