{ "info": { "author": "Yoann Lamouroux", "author_email": "ylamouroux@ubuntu.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# iplocalize\n\nStraight forward python3 library to test (quickly) and locate a bunch of free-proxy IP.\n\n[![Build Status](https://travis-ci.org/ylmrx/iplocalize.svg?branch=master)](https://travis-ci.org/ylmrx/iplocalize)\n\n## Installation\n\n```bash\npip install iplocalize\n```\n\n## Python module\n\n```python\nimport iplocalize as ip\n\nlocator = ip.IPLoc()\nlocator.threaded_localize([['1.2.3.4', '1111'], ['5.6.7.8', '2222'], ...],\n 'path/to/geolite2-city.mmdb')\n> > > { ip: '1.2.3.4:1111', cc: 'RU', time: 1.492218 }\n```\n\nIPLoc class will accept several parameters :\n\n- `test_url`: the URL the proxy will be tested upon (http200, and faster than timeout)\n- `timeout`: timeout (directly passed to requests, the actual request might be longer than timeout)\n- `threads`: number of concurrent jobs\n\nthreaded_localize needs 2 parameters:\n- a list of `['ip', 'port']` lists\n- `geolite_file`: path to your copy of Geolite2-city.mmdb (https://www.maxmind.com)\n\nThe default value for threads is 100, it might sound huge, but it gave *me* pretty good results, feel free to tweak it to your needs.\n\nYou can call localize directly with:\n- a single `['ip', 'port']` structure\n- a `Reader()` object (cf. GeoIP2 module documentation)\n\n## Command line\n\nJust run : `iplocalize --help`\n\nNothing fun or complicated.\n\n## Disclaimer\n\nGeolocation is provided through Geolite mmdb files, they have a free version available through their website.\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": "https://github.com/ylmrx/iplocalize", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "iplocalize", "package_url": "https://pypi.org/project/iplocalize/", "platform": "", "project_url": "https://pypi.org/project/iplocalize/", "project_urls": { "Homepage": "https://github.com/ylmrx/iplocalize" }, "release_url": "https://pypi.org/project/iplocalize/0.0.2/", "requires_dist": [ "requests", "geoip2", "pygments" ], "requires_python": "", "summary": "Localize and test a given freeproxy", "version": "0.0.2" }, "last_serial": 5880637, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b7c94b3ce1e5738ad291485f57451758", "sha256": "90339b56c870f0c3c9339a24bb1d940cba575f4ace2f395efb7b66f6bfe582fa" }, "downloads": -1, "filename": "iplocalize-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b7c94b3ce1e5738ad291485f57451758", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4645, "upload_time": "2019-09-18T16:20:04", "url": "https://files.pythonhosted.org/packages/8d/ad/2c7d4c74f9dba5202365e18670b4748370809bab8a5c6264fa7d7b605936/iplocalize-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c226e433004df7d00b20698560e77812", "sha256": "665589745e3303e130a4e3e53b8205cd1ff9eb9dc07b35a7908b01f29d8cfe21" }, "downloads": -1, "filename": "iplocalize-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c226e433004df7d00b20698560e77812", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3013, "upload_time": "2019-09-18T16:20:07", "url": "https://files.pythonhosted.org/packages/1f/2c/f4f8ac641e5c21f42984baa874ff941657c467a81a4c265fe62ef4738d1b/iplocalize-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "9117b3184d3a5b1d92084375bef1cbcb", "sha256": "15cf2afcaa14bb2b80decf855489c23b79f7e188bd541b777e45ff727add57cf" }, "downloads": -1, "filename": "iplocalize-0.0.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "9117b3184d3a5b1d92084375bef1cbcb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4820, "upload_time": "2019-09-24T15:50:04", "url": "https://files.pythonhosted.org/packages/c6/a9/832c5babfa86c928b70c4e8924d5f386cf80ab4572d9657f0358918003cf/iplocalize-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f40b535d2e52b4db9c8a8bf6ab197f4e", "sha256": "b3aff7287f4598254072285ac352595a29f1dbddefeb0b6fac32928aa72b58d3" }, "downloads": -1, "filename": "iplocalize-0.0.2.tar.gz", "has_sig": true, "md5_digest": "f40b535d2e52b4db9c8a8bf6ab197f4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3313, "upload_time": "2019-09-24T15:50:06", "url": "https://files.pythonhosted.org/packages/b0/55/ada4739ddcca1a8d94af07c6d49916fd3750f1acd2d497647dcbf812d840/iplocalize-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9117b3184d3a5b1d92084375bef1cbcb", "sha256": "15cf2afcaa14bb2b80decf855489c23b79f7e188bd541b777e45ff727add57cf" }, "downloads": -1, "filename": "iplocalize-0.0.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "9117b3184d3a5b1d92084375bef1cbcb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4820, "upload_time": "2019-09-24T15:50:04", "url": "https://files.pythonhosted.org/packages/c6/a9/832c5babfa86c928b70c4e8924d5f386cf80ab4572d9657f0358918003cf/iplocalize-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f40b535d2e52b4db9c8a8bf6ab197f4e", "sha256": "b3aff7287f4598254072285ac352595a29f1dbddefeb0b6fac32928aa72b58d3" }, "downloads": -1, "filename": "iplocalize-0.0.2.tar.gz", "has_sig": true, "md5_digest": "f40b535d2e52b4db9c8a8bf6ab197f4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3313, "upload_time": "2019-09-24T15:50:06", "url": "https://files.pythonhosted.org/packages/b0/55/ada4739ddcca1a8d94af07c6d49916fd3750f1acd2d497647dcbf812d840/iplocalize-0.0.2.tar.gz" } ] }