country-as-hegemony


Namecountry-as-hegemony JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/InternetHealthReport/country-as-hegemony
SummaryMeasuring AS dependency of a country or region
upload_time2022-12-26 02:19:47
maintainer
docs_urlNone
authorRomain Fontugne
requires_python
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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/

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/InternetHealthReport/country-as-hegemony",
    "name": "country-as-hegemony",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Romain Fontugne",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/c7/21/3af6a9e2e7e93af7e083f84627d690a992a47bf5bebdaea881cf85ecfc5d/country-as-hegemony-0.2.0.tar.gz",
    "platform": null,
    "description": "# country-as-hegemony: Measuring AS dependency of a country\n\n## Installation\n\n``````\npip install country-as-hegemony\n``````\n\n\n## Example\n\nTo get the AS dependencies of Japan, run the following command:\n```\n$ country-hege JP\n# Found 166 eyeball networks in JP on 2019-09-29T00:00:00+00:00\n2914, 0.27661613861709505, +\n2516, 0.25968996183607757, +\n17676, 0.1974546945536009, +\n4713, 0.15525111414563947, +\n1299, 0.13595634758208053, -\n9605, 0.10072894639780244, +\n174, 0.08765424779438354, -\n2497, 0.06338680212620768, +\n9824, 0.05253467345731747, +\n2527, 0.03509657300628496, +\n```\nThe '+' represent eyeball networks, the '-' are transit networks. These results are biasied towards big eyeballs networks. \nThe -r option remove eyeballs networks from the AS hegemony computation.\n\n```\n$ country-hege JP -r\n# Found 166 eyeball networks in JP on 2019-09-29T00:00:00+00:00\n2914, 0.27580372217582483, +\n1299, 0.13595634758208053, -\n174, 0.08765424779438354, -\n2516, 0.05994903574329003, +\n2497, 0.04637372262121612, +\n3356, 0.027235210986714956, -\n9824, 0.021176697891166645, +\n3491, 0.0191735214924131, -\n2519, 0.01604299099396895, +\n3257, 0.01316708668625293, -\n```\n\n## Notes\n\n- The IHR results before October 2020 are computed with the AS population obtained in October 15th, 2020.\n\n\n## References\nThis is a follow up of the work done at APRICOT19 Hackathon: https://github.com/munhyunsu/APRICOT19\nAS Hegemony: https://ihr.iijlab.net/ihr/hegemony/\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Measuring AS dependency of a country or region",
    "version": "0.2.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "6ecf38836995ed23da2d1732dda57aef",
                "sha256": "a1c428c9e6baa958d8e9e162e91966d04265f52d507cc1ba046886364212cedb"
            },
            "downloads": -1,
            "filename": "country_as_hegemony-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6ecf38836995ed23da2d1732dda57aef",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 17678,
            "upload_time": "2022-12-26T02:19:45",
            "upload_time_iso_8601": "2022-12-26T02:19:45.087774Z",
            "url": "https://files.pythonhosted.org/packages/51/01/f2f29c962479408626a36ab69a740be89e3db317063716124a6989026c33/country_as_hegemony-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "b6e29601dc47f26ceeac2c85b5aa1d21",
                "sha256": "fa4f6cbae6d61a17148b24ea5c951f5882b06dc930662de7b481d81539a3bbd7"
            },
            "downloads": -1,
            "filename": "country-as-hegemony-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b6e29601dc47f26ceeac2c85b5aa1d21",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 17417,
            "upload_time": "2022-12-26T02:19:47",
            "upload_time_iso_8601": "2022-12-26T02:19:47.108901Z",
            "url": "https://files.pythonhosted.org/packages/c7/21/3af6a9e2e7e93af7e083f84627d690a992a47bf5bebdaea881cf85ecfc5d/country-as-hegemony-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-26 02:19:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "InternetHealthReport",
    "github_project": "country-as-hegemony",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "country-as-hegemony"
}
        
Elapsed time: 0.22604s