{ "info": { "author": "Matthias Rathbun, Cyber Threat Intelligence Lab", "author_email": "matthiasrathbun@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# IPGeo-Search\n\n## About\n\nIPGeo-Search is a python module which allows for easy use of the [IPGeo API](https://github.com/MatthiasRathbun/IPGeo). It allows both free and paid users to send requests to the server in just one line of code, allowing for customization of how IP lists are loaded. We offer a 5 day free trial for our API on [Our Webpage](http://ipgeo.azurewebsites.net/). To get the free trial API Key, contact our Lab and we will send it to you.\n\nTo Install IPGeoSearch, run\n\n```cmd\npip install IPGeoSearch\n```\n\n## Requirements\n\nBefore running on your local computer, make sure you have `python 3.6+` with the latest version of `pandas` installed.\n\nTo Install Pandas, run:\n\n```cmd\npip install pandas\n```\n\n## Usage\n\nThe `search` function takes in 3 arguments:\n\n```txt\nipList: an Array of IP's where each IP is a string.\n\npath: Where the result files are downloaded to.\n\nkey: The API Key sent to you.\n\n```\n\n### Example\n\nTo use the either version, you must supply your key to the server.\n\n```python\nfrom IPGeoSearch import search\n\nwith open('ipList.txt', 'r') as f:\n ip = [line.strip() for line in f]\n f.close()\n\nwith open('yourkey.key', 'r') as hashkey:\n key=hashkey.read().replace('\\n', '')\n hashkey.close()\n\nsearch.search(ipList=ip,path='',key=key)\n```\n\n#### Errors\n\nCommon Errors are:\n\n```python\nTypeError: \"An entry in ipList is not a string at line and cannot be read by the server\"\nRuntimeError: \"Your Key is Invalid. Please purchase a key or start a trial.\"\nRuntimeError: \"Your Trial Period has expired. Please purchase a key.\"\nRuntimeError: \"Your Key has expired. Please purchase a new key.\"\nRuntimeError: \"The Network you are using in unknown and key cannot be secured. Please change networks.\"\nRuntimeError: \"Your Key is being used on a different network than it was registered on. Please use your original network or purchase a new key for this network.\"\nValueError: \"IP list was not specified.\"\nValueError: \"Key was not specified.\"\n```\n\nIf you receive an error like:\n\n```python\nRuntimeError: \"Something went really wrong. Either the IP does not exist in the database, server is down, or another error occured. Check x.x.x.x.json for more details and file an issue if you are unable to solve the problem.\"\n```\n\nFile an issue so our team can assist you.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://ipgeo.azurewebsites.net/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "IPGeoSearch", "package_url": "https://pypi.org/project/IPGeoSearch/", "platform": "", "project_url": "https://pypi.org/project/IPGeoSearch/", "project_urls": { "Homepage": "http://ipgeo.azurewebsites.net/" }, "release_url": "https://pypi.org/project/IPGeoSearch/1.0.1/", "requires_dist": [ "pandas" ], "requires_python": ">=3.6", "summary": "IPGeo-Search is a python module which allows for easy use of the IPGeo API. It allows both free and paid users to send requests to the server in just one line of code, allowing for customization of how IP lists are loaded.", "version": "1.0.1" }, "last_serial": 5637264, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "6d594e2c937a0cea110c59fa29c8ddee", "sha256": "2b3f64283bfe466a4445bdf3fdf3ab8b321d8ccdf4789e6819c84e1ad0022b15" }, "downloads": -1, "filename": "IPGeoSearch-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6d594e2c937a0cea110c59fa29c8ddee", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5475, "upload_time": "2019-07-16T20:57:30", "url": "https://files.pythonhosted.org/packages/5c/bc/326070f8be9037e67dc12656fbfa6c1060e35922a8dc7da7a6f32a4fc993/IPGeoSearch-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "630b7b7a453a0dcf754cbc54659a4bea", "sha256": "a3441b9bc57aede099c3c9b13faea495bec8b7abb6defe253f4c507aa1182a28" }, "downloads": -1, "filename": "IPGeoSearch-0.0.1.tar.gz", "has_sig": false, "md5_digest": "630b7b7a453a0dcf754cbc54659a4bea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4036, "upload_time": "2019-07-16T20:57:33", "url": "https://files.pythonhosted.org/packages/7c/61/97206c64552383044764b45adf8f90136e7191b32761e4790c779b521eef/IPGeoSearch-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "46c6ca23da5676ff6a38892c6bf89b7d", "sha256": "91c0e7ce3966b7a47762d325caf4fd682e90103412901729c5d668c237f4d98b" }, "downloads": -1, "filename": "IPGeoSearch-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "46c6ca23da5676ff6a38892c6bf89b7d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5498, "upload_time": "2019-07-16T21:00:28", "url": "https://files.pythonhosted.org/packages/ff/a0/0030b0904656cba5752ac1c9b0f9d61594e0214a13bd8e90c21eee2491a5/IPGeoSearch-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d173bb81a9b8a2f0dd291e20694d625b", "sha256": "12409a7640d46462ee23310a6704df49a271154ea8995e8e670337c9439ae1e4" }, "downloads": -1, "filename": "IPGeoSearch-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d173bb81a9b8a2f0dd291e20694d625b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4060, "upload_time": "2019-07-16T21:00:29", "url": "https://files.pythonhosted.org/packages/88/06/98a4d1a1c7fc3953af2f2d8a4b881d4080ca5049ee17bf56df9eac362130/IPGeoSearch-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "a0e7317a100a177536e2cbc108bdefb5", "sha256": "011162e40d7506d27adcbf7a3d29266a5367b44df906fc634cf07dedf8212d41" }, "downloads": -1, "filename": "IPGeoSearch-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "a0e7317a100a177536e2cbc108bdefb5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5239, "upload_time": "2019-07-23T16:54:43", "url": "https://files.pythonhosted.org/packages/97/24/427a2008d5ad4bbe764b35b493c65989fc4d179bd47320960f0aa8ff9932/IPGeoSearch-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "816794df90c3f7f738765d4a50d395a5", "sha256": "cca6f042ba7b5156441c3d101f446ada765f1debd5df841abdf2ddc951b49af8" }, "downloads": -1, "filename": "IPGeoSearch-0.0.3.tar.gz", "has_sig": false, "md5_digest": "816794df90c3f7f738765d4a50d395a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3868, "upload_time": "2019-07-23T16:54:45", "url": "https://files.pythonhosted.org/packages/7c/fc/37fff0ff10f88ee7e080c9928abb089e9c2a75af9df0616699351e6622b8/IPGeoSearch-0.0.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "db14722c0441bb4ec84ca332cdce9d5b", "sha256": "b6048de686746cf1fa692fc8fd8d8fa5796887301e2119f677859ae07359b5e6" }, "downloads": -1, "filename": "IPGeoSearch-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "db14722c0441bb4ec84ca332cdce9d5b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5540, "upload_time": "2019-07-23T21:48:43", "url": "https://files.pythonhosted.org/packages/87/4b/95787a9cd0941782d4d8ba055c4fb89c6ed7a273654449d2f50d91c81424/IPGeoSearch-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6b03722e3bd5629e66fb344920061c28", "sha256": "791ca2dbfe207787887c87c2573bd09ee0a0624acb127610f977345250a266c5" }, "downloads": -1, "filename": "IPGeoSearch-1.0.0.tar.gz", "has_sig": false, "md5_digest": "6b03722e3bd5629e66fb344920061c28", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4095, "upload_time": "2019-07-23T21:48:46", "url": "https://files.pythonhosted.org/packages/f4/fd/f62b78c73f1e312aa099af2792f01bac18b9388c8e74c19b452edd4ae44c/IPGeoSearch-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "29e694ce3de47e7d36e0bb215d8018fa", "sha256": "77d644ae85ea2d14f2854938f4b090c75b4f9dc50fee495605e07c9b4641696f" }, "downloads": -1, "filename": "IPGeoSearch-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "29e694ce3de47e7d36e0bb215d8018fa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5617, "upload_time": "2019-08-06T02:24:54", "url": "https://files.pythonhosted.org/packages/9c/50/f25eade3710cae710a33d91bc03b1ed52385959ff730a9a6ab48abcbacbc/IPGeoSearch-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "92c4205bf147e2766d613f25bd01e55f", "sha256": "5bd1976730438bc0a200bc0f2b08d1a60c42e1afeaa5fac9c132778a542c2f3b" }, "downloads": -1, "filename": "IPGeoSearch-1.0.1.tar.gz", "has_sig": false, "md5_digest": "92c4205bf147e2766d613f25bd01e55f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4166, "upload_time": "2019-08-06T02:24:55", "url": "https://files.pythonhosted.org/packages/ab/93/435608c2e0316d12a7460a97a2df5072ada03c0ee640da7a7bb3cb54d309/IPGeoSearch-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "29e694ce3de47e7d36e0bb215d8018fa", "sha256": "77d644ae85ea2d14f2854938f4b090c75b4f9dc50fee495605e07c9b4641696f" }, "downloads": -1, "filename": "IPGeoSearch-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "29e694ce3de47e7d36e0bb215d8018fa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5617, "upload_time": "2019-08-06T02:24:54", "url": "https://files.pythonhosted.org/packages/9c/50/f25eade3710cae710a33d91bc03b1ed52385959ff730a9a6ab48abcbacbc/IPGeoSearch-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "92c4205bf147e2766d613f25bd01e55f", "sha256": "5bd1976730438bc0a200bc0f2b08d1a60c42e1afeaa5fac9c132778a542c2f3b" }, "downloads": -1, "filename": "IPGeoSearch-1.0.1.tar.gz", "has_sig": false, "md5_digest": "92c4205bf147e2766d613f25bd01e55f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4166, "upload_time": "2019-08-06T02:24:55", "url": "https://files.pythonhosted.org/packages/ab/93/435608c2e0316d12a7460a97a2df5072ada03c0ee640da7a7bb3cb54d309/IPGeoSearch-1.0.1.tar.gz" } ] }