proxys


Nameproxys JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://github.com/zuoxiaolei/proxys
Summaryget free proxy regularly peer 10 minutes
upload_time2022-12-23 16:00:05
maintainer
docs_urlNone
authorzuoxiaolei
requires_python>=3
licenseApache 2.0
keywords proxy
VCS
bugtrack_url
requirements html5lib requests beautifulsoup4 tqdm retrying
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Free Proxy List For Human

[![Every 10 Minutes Update](https://github.com/zuoxiaolei/proxys/actions/workflows/cron.yml/badge.svg?branch=main)](https://github.com/zuoxiaolei/proxys/actions/workflows/cron.yml)
![GitHub last commit](https://img.shields.io/github/last-commit/zuoxiaolei/proxys)
[![caliwyr - proxy-list](https://img.shields.io/static/v1?label=zuoxiaolei&message=proxys&color=blue&logo=github)](https://github.com/zuoxiaolei/proxys "Go to GitHub repo")
![GitHub repo size](https://img.shields.io/github/repo-size/zuoxiaolei/proxys)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/zuoxiaolei/proxys?logo=commits)](https://github.com/zuoxiaolei/proxys/commits/main)

## Installing proxys and Supported Versions

proxys is available on PyPI:

```console
$ pip install -U proxys
```

## python usage
```python
# get random proxy from proxys
>>> import proxys
>>> proxy = proxys.get_random_proxy()
>>> print(proxy)
101.109.51.152:8080

# get all proxy from proxys
>>> all_proxy = proxys.get_all_proxy()
>>> all_proxy[:3]
['113.57.84.39:9091', '159.65.134.97:80', '167.71.7.22:80']

# validate the proxy can be use
>>> proxys.validate_proxy(proxy)
True
>>> proxys.validate_proxy("127.0.0.1:80")
False
>>> validated_all_proxy = proxys.validate_proxy_pool(all_proxy[:10])
>>> print(validated_all_proxy)
['113.57.84.39:9091',
 '159.65.134.97:80',
 '167.71.7.22:80',
 '112.49.34.128:9091',
 '91.189.177.186:3128',
 '114.113.116.67:9091',
 '116.130.215.197:3128',
 '27.151.3.249:9002']
```

## command line usage
```console
$ wget -O proxys.txt https://ghproxy.com/https://raw.githubusercontent.com/zuoxiaolei/proxys/main/proxys/proxys.txt
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zuoxiaolei/proxys",
    "name": "proxys",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": "",
    "keywords": "proxy",
    "author": "zuoxiaolei",
    "author_email": "1905561110@qq.com",
    "download_url": "",
    "platform": "any",
    "description": "# Free Proxy List For Human\n\n[![Every 10 Minutes Update](https://github.com/zuoxiaolei/proxys/actions/workflows/cron.yml/badge.svg?branch=main)](https://github.com/zuoxiaolei/proxys/actions/workflows/cron.yml)\n![GitHub last commit](https://img.shields.io/github/last-commit/zuoxiaolei/proxys)\n[![caliwyr - proxy-list](https://img.shields.io/static/v1?label=zuoxiaolei&message=proxys&color=blue&logo=github)](https://github.com/zuoxiaolei/proxys \"Go to GitHub repo\")\n![GitHub repo size](https://img.shields.io/github/repo-size/zuoxiaolei/proxys)\n[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/zuoxiaolei/proxys?logo=commits)](https://github.com/zuoxiaolei/proxys/commits/main)\n\n## Installing proxys and Supported Versions\n\nproxys is available on PyPI:\n\n```console\n$ pip install -U proxys\n```\n\n## python usage\n```python\n# get random proxy from proxys\n>>> import proxys\n>>> proxy = proxys.get_random_proxy()\n>>> print(proxy)\n101.109.51.152:8080\n\n# get all proxy from proxys\n>>> all_proxy = proxys.get_all_proxy()\n>>> all_proxy[:3]\n['113.57.84.39:9091', '159.65.134.97:80', '167.71.7.22:80']\n\n# validate the proxy can be use\n>>> proxys.validate_proxy(proxy)\nTrue\n>>> proxys.validate_proxy(\"127.0.0.1:80\")\nFalse\n>>> validated_all_proxy = proxys.validate_proxy_pool(all_proxy[:10])\n>>> print(validated_all_proxy)\n['113.57.84.39:9091',\n '159.65.134.97:80',\n '167.71.7.22:80',\n '112.49.34.128:9091',\n '91.189.177.186:3128',\n '114.113.116.67:9091',\n '116.130.215.197:3128',\n '27.151.3.249:9002']\n```\n\n## command line usage\n```console\n$ wget -O proxys.txt https://ghproxy.com/https://raw.githubusercontent.com/zuoxiaolei/proxys/main/proxys/proxys.txt\n```\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "get free proxy regularly peer 10 minutes",
    "version": "0.0.3",
    "split_keywords": [
        "proxy"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "3eb8afd3c2f9f2cec6203c8570185986",
                "sha256": "afccb83396a59faf8f9e78014b9e3a6f1331e841b284cd61e6dd449a4e8ccf04"
            },
            "downloads": -1,
            "filename": "proxys-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3eb8afd3c2f9f2cec6203c8570185986",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 22757,
            "upload_time": "2022-12-23T16:00:05",
            "upload_time_iso_8601": "2022-12-23T16:00:05.008811Z",
            "url": "https://files.pythonhosted.org/packages/9f/73/fb206638f126a017a9345d6266205e18a373900bc1204984a1c06daaddaf/proxys-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-23 16:00:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "zuoxiaolei",
    "github_project": "proxys",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "html5lib",
            "specs": [
                [
                    ">=",
                    "1.1"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.28.1"
                ]
            ]
        },
        {
            "name": "beautifulsoup4",
            "specs": [
                [
                    "~=",
                    "4.11.1"
                ]
            ]
        },
        {
            "name": "tqdm",
            "specs": [
                [
                    ">=",
                    "4.64.1"
                ]
            ]
        },
        {
            "name": "retrying",
            "specs": [
                [
                    ">=",
                    "1.3.4"
                ]
            ]
        }
    ],
    "lcname": "proxys"
}
        
Elapsed time: 0.02657s