{
"info": {
"author": "HOWZ1T",
"author_email": "dylan.d.randall@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: Proxy Servers"
],
"description": "# py_proxy\nPython proxy manager.
\nPlease use diligently and respectfully.
\nAlways respect a website's ROBOTS.txt
\n\n## compatibility\nThis library is compatible with python 3\n\n## dependencies\nThis library is dependant on:\n- requests\n- beautifulsoup4\n\n## install\n```bash\npip install py_proxy\n```\n\n## Features\n- Automatically fetches up to 80 proxies\n- Cycle between proxies easily\n- Test a proxy and get details about the proxy\n- Validate all fetched proxies concurrently\n- Format proxies for use with requests library\n\n## Examples\n```python\nfrom proxy import Proxy\n\nproxy = Proxy()\n\n# getting the current proxy\ncur_proxy = proxy.proxy\n\n# testing the current proxy\nres = proxy.test_proxy(cur_proxy)\n\nif res == 1:\n\tprint(\"success!\")\nelse:\n\tprint(\"failure!\")\n\n# cycling the proxy to a new proxy from the pool\nproxy.cycle()\n\n# filtering proxies by a country code\nproxy = Proxy(\"US\") #gets US only proxies from the pool\n\n# automatically validating proxies after fetching them\nproxy = Proxy(validate_proxies=True)\n\n# format a proxy for use with requests library\nip = \"100.100.100.100\" #example ip, not real\nport = \"1989\" #example port, not real\naddr = [ip, port]\nproxies = proxy.format_proxy(addr) #returns the requests proxies dictionary\n\n# validating all proxies concurrently\nproxy.validate_proxies()\n\n# cycling through valid only proxies\nproxy.cycle(valid_only=True)\n```\n\n## License\nYou're free to use this package which is licensed under the [MIT-LICENSE](LICENSE)\n\n## Contributing\nContribution is always appreciated.
\nIf you are contributing please remember to update the README.
\nIf your contribution is accepted you will be credited for it.\n\n## Original Author\n[Dylan Randall aka HOWZ1T](https://github.com/howz1t)\n\n## Contributors\n[Berkkarahan](https://github.com/berkkarahan) - added multi-thread proxy validation\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/HOWZ1T/py_proxy",
"keywords": "",
"license": "MIT License",
"maintainer": "",
"maintainer_email": "",
"name": "py-proxy",
"package_url": "https://pypi.org/project/py-proxy/",
"platform": "",
"project_url": "https://pypi.org/project/py-proxy/",
"project_urls": {
"Bug Reports": "https://github.com/HOWZ1T/py_proxy/issues",
"Homepage": "https://github.com/HOWZ1T/py_proxy",
"Source": "https://github.com/HOWZ1T/py_proxy"
},
"release_url": "https://pypi.org/project/py-proxy/0.2.6/",
"requires_dist": [
"requests",
"beautifulsoup4"
],
"requires_python": "",
"summary": "A proxy library for python 3",
"version": "0.2.6"
},
"last_serial": 5411860,
"releases": {
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "0a7499b48b867b5d0c13c2756c9a303b",
"sha256": "998c66776ae0d1856597059eaef785be157c3baa143f450369ba1c49afd7b0ba"
},
"downloads": -1,
"filename": "py_proxy-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "0a7499b48b867b5d0c13c2756c9a303b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6738,
"upload_time": "2018-04-16T06:52:20",
"url": "https://files.pythonhosted.org/packages/73/9a/08a2b593d54866ce283f771356f14aad805e271fbf62965177504d28cf21/py_proxy-0.2.1.tar.gz"
}
],
"0.2.2": [
{
"comment_text": "",
"digests": {
"md5": "8f662e96e68f9ddc27a74d480f487675",
"sha256": "343e1cd7922f2a1f72d327f9e13585981bf2588e3065a7a6d63269c6236aaa85"
},
"downloads": -1,
"filename": "py_proxy-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "8f662e96e68f9ddc27a74d480f487675",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6741,
"upload_time": "2018-04-16T09:55:25",
"url": "https://files.pythonhosted.org/packages/25/12/d315f4b4331330bb743dff23cb811cfc261fbd90f8c1a7e64a253d7eedf9/py_proxy-0.2.2.tar.gz"
}
],
"0.2.3": [
{
"comment_text": "",
"digests": {
"md5": "ee9465d51346335941d91d07ee062a33",
"sha256": "5d00a2b1129c72c313e36c58f68833b97aaf0af9a84242f2f2f2c029d1b746f5"
},
"downloads": -1,
"filename": "py_proxy-0.2.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ee9465d51346335941d91d07ee062a33",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5020,
"upload_time": "2018-09-30T12:25:54",
"url": "https://files.pythonhosted.org/packages/e1/3f/19691466aa7d235c557a782cfa833bf4a5b70fb445a94b6ae562c21afaf5/py_proxy-0.2.3-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "776b8f5cf48e4920acf90910c0d51bf1",
"sha256": "6210774520de72ecc441d1cc067efc7881676f722f10d3cfea8aad008b34c2c7"
},
"downloads": -1,
"filename": "py_proxy-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "776b8f5cf48e4920acf90910c0d51bf1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7532,
"upload_time": "2018-09-30T12:25:55",
"url": "https://files.pythonhosted.org/packages/64/1c/2f94c54bc43cb4a7149f77ba32817328629cb449035604d902ca84382c28/py_proxy-0.2.3.tar.gz"
}
],
"0.2.6": [
{
"comment_text": "",
"digests": {
"md5": "9fcd2e1ba07bca30ca8670beac161934",
"sha256": "1bc4078b682eb2436b68742ae79de93e5f6f7e29ef3a2652d5201658e0fb371f"
},
"downloads": -1,
"filename": "py_proxy-0.2.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9fcd2e1ba07bca30ca8670beac161934",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5101,
"upload_time": "2019-06-17T19:39:29",
"url": "https://files.pythonhosted.org/packages/f8/52/41a1544a36fcea47bd91849cda6717e7cf5cb83ed54b01d0ce5c583a72aa/py_proxy-0.2.6-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "fd7449057ae95c5420e2f2e2dbdf1fa3",
"sha256": "c35b2dc75e8610dd67e01ecf6369d7323d96c9425335104d88b570a9dfd70f28"
},
"downloads": -1,
"filename": "py_proxy-0.2.6.tar.gz",
"has_sig": false,
"md5_digest": "fd7449057ae95c5420e2f2e2dbdf1fa3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4300,
"upload_time": "2019-06-17T19:39:31",
"url": "https://files.pythonhosted.org/packages/aa/31/f3e1c2dc1f3d51fb6e7dc5f8bb11d93666e1fe4ac785bf7d3c3e6d81fe68/py_proxy-0.2.6.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "9fcd2e1ba07bca30ca8670beac161934",
"sha256": "1bc4078b682eb2436b68742ae79de93e5f6f7e29ef3a2652d5201658e0fb371f"
},
"downloads": -1,
"filename": "py_proxy-0.2.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9fcd2e1ba07bca30ca8670beac161934",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5101,
"upload_time": "2019-06-17T19:39:29",
"url": "https://files.pythonhosted.org/packages/f8/52/41a1544a36fcea47bd91849cda6717e7cf5cb83ed54b01d0ce5c583a72aa/py_proxy-0.2.6-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "fd7449057ae95c5420e2f2e2dbdf1fa3",
"sha256": "c35b2dc75e8610dd67e01ecf6369d7323d96c9425335104d88b570a9dfd70f28"
},
"downloads": -1,
"filename": "py_proxy-0.2.6.tar.gz",
"has_sig": false,
"md5_digest": "fd7449057ae95c5420e2f2e2dbdf1fa3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4300,
"upload_time": "2019-06-17T19:39:31",
"url": "https://files.pythonhosted.org/packages/aa/31/f3e1c2dc1f3d51fb6e7dc5f8bb11d93666e1fe4ac785bf7d3c3e6d81fe68/py_proxy-0.2.6.tar.gz"
}
]
}