[![Documentation Status](https://readthedocs.org/projects/pyipasnhistory/badge/?version=latest)](https://pyipasnhistory.readthedocs.io/en/latest/)
# PyIPASNHistory
This is the client API for [IP ASN History](https://github.com/D4-project/IPASN-History).
## Installation
```bash
pip install pyipasnhistory
```
## Usage
### Command line
You can use the `ipasnhistory` command to query the instance.
```bash
usage: ipasnhistory [-h] [--url URL] (--meta | --file FILE | --ip IP) [--source SOURCE] [--address_family ADDRESS_FAMILY] [--date DATE] [--first FIRST]
[--last LAST]
Run a query against IP ASN History
optional arguments:
-h, --help show this help message and exit
--url URL URL of the instance.
--meta Get meta information.
--file FILE Mass process queries from a file.
--ip IP IP to lookup
--source SOURCE Source to query (currently, only "caida" and "ripe_rrc00" are supported)
--address_family ADDRESS_FAMILY
Can be either v4 or v6
--date DATE Exact date to lookup. Fallback to most recent available.
--first FIRST First date in the interval
--last LAST Last date in the interval
```
### Library
See [API Reference](https://pyipasnhistory.readthedocs.io/en/latest/api_reference.html)
Raw data
{
"_id": null,
"home_page": "https://github.com/lookyloo/PyLookyloo",
"name": "pyipasnhistory",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Rapha\u00ebl Vinot",
"author_email": "raphael.vinot@circl.lu",
"download_url": "https://files.pythonhosted.org/packages/02/9f/1b6b4cd6d9f3e3397f4ff0f69ddda0b3d1109d1a72f7a6567978d8308512/pyipasnhistory-2.1.2.tar.gz",
"platform": null,
"description": "[![Documentation Status](https://readthedocs.org/projects/pyipasnhistory/badge/?version=latest)](https://pyipasnhistory.readthedocs.io/en/latest/)\n\n# PyIPASNHistory\n\nThis is the client API for [IP ASN History](https://github.com/D4-project/IPASN-History).\n\n## Installation\n\n```bash\npip install pyipasnhistory\n```\n\n## Usage\n\n### Command line\n\nYou can use the `ipasnhistory` command to query the instance.\n\n```bash\nusage: ipasnhistory [-h] [--url URL] (--meta | --file FILE | --ip IP) [--source SOURCE] [--address_family ADDRESS_FAMILY] [--date DATE] [--first FIRST]\n [--last LAST]\n\nRun a query against IP ASN History\n\noptional arguments:\n -h, --help show this help message and exit\n --url URL URL of the instance.\n --meta Get meta information.\n --file FILE Mass process queries from a file.\n --ip IP IP to lookup\n --source SOURCE Source to query (currently, only \"caida\" and \"ripe_rrc00\" are supported)\n --address_family ADDRESS_FAMILY\n Can be either v4 or v6\n --date DATE Exact date to lookup. Fallback to most recent available.\n --first FIRST First date in the interval\n --last LAST Last date in the interval\n```\n\n### Library\n\nSee [API Reference](https://pyipasnhistory.readthedocs.io/en/latest/api_reference.html)\n",
"bugtrack_url": null,
"license": "AGPL",
"summary": "Python client for IP ASN History",
"version": "2.1.2",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "45c82433ce0986b6ba553378f5993be9",
"sha256": "7743de1bb7e735f9b907a3cff8ab189a1d8b5517b56b64f151fc4793b2863e35"
},
"downloads": -1,
"filename": "pyipasnhistory-2.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "45c82433ce0986b6ba553378f5993be9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 5799,
"upload_time": "2022-12-23T10:33:21",
"upload_time_iso_8601": "2022-12-23T10:33:21.127315Z",
"url": "https://files.pythonhosted.org/packages/ea/2a/27c9b486a248693394e140fbbbe90c7e86c2976b2c49bea353813f1230b0/pyipasnhistory-2.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "eb4fae3a0d607f548b8917783b9735c8",
"sha256": "10aed86bfbaedc8a119cdd5f59eca646938eb266c717f10394ba9fc2199f0281"
},
"downloads": -1,
"filename": "pyipasnhistory-2.1.2.tar.gz",
"has_sig": false,
"md5_digest": "eb4fae3a0d607f548b8917783b9735c8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 4426,
"upload_time": "2022-12-23T10:33:22",
"upload_time_iso_8601": "2022-12-23T10:33:22.237871Z",
"url": "https://files.pythonhosted.org/packages/02/9f/1b6b4cd6d9f3e3397f4ff0f69ddda0b3d1109d1a72f7a6567978d8308512/pyipasnhistory-2.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-23 10:33:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "lookyloo",
"github_project": "PyLookyloo",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyipasnhistory"
}