pcheck


Namepcheck JSON
Version 0.1.5 PyPI version JSON
download
home_pagehttps://github.com/ProtDos/pcheck
SummaryA easy to use and blazingly fast proxy checker written in python
upload_time2024-09-05 13:48:49
maintainerNone
docs_urlNone
authorCodingLive
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Proxy Checker and Saver

## Overview

This Python script tests a list of proxies to determine which ones are working and saves the working proxies to an output file. It uses `aiohttp` for asynchronous HTTP requests, allowing it to efficiently check multiple proxies in parallel.

## Features

- Asynchronously checks a list of proxies.
- Tests proxies against a user-defined URL.
- Supports authentication in proxy URLs.
- Saves working proxies to a specified output file.
- Provides real-time progress updates on the command line.


## Requirements

- Python 3.7 or higher
- `pip` library

You can install the required library using pip:

```sh
pip install pcheck
```

## Usage
```sh
pcheck -i INPUT_FILE -o OUTPUT_FILE [-u TEST_URL] [-t TIMEOUT]
```


## Command-Line Arguments
```
    -i, --input: Path to the input file containing proxies. Each proxy should be on a new line.
    -o, --output: Path to the output file where working proxies will be saved.
    -u, --url: URL to test proxies against (default is http://httpbin.org/ip).
    -t, --timeout: Timeout for proxy requests in seconds (default is 5).
```

## Example

To test proxies listed in proxies.txt, save working proxies to working_proxies.txt, and test against http://example.com with a timeout of 10 seconds:

```sh
pcheck -i proxies.txt -o working_proxies.txt -u http://example.com -t 10
```

## Proxy Format

The script supports proxies in the following formats:

```
    username:password@host:port
    host:port:username:password
```

Make sure to provide proxies in one of these formats to ensure proper parsing.

## Output

The script writes the working proxies to the specified output file, with each proxy on a new line. It also displays real-time progress on the console, including the number of working and invalid proxies, checks per second, and the number of remaining proxies.

## License

This project is licensed under the MIT License. See the LICENSE file for details.
## Contact

For any questions or issues, please contact rootcode@duck.com or open an issue here.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ProtDos/pcheck",
    "name": "pcheck",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "CodingLive",
    "author_email": "rootcode@duck.com",
    "download_url": "https://files.pythonhosted.org/packages/ba/97/20cd8a77d6246bd6eb66c83439679b9aa348bfefb2c42f1ea69598e0642f/pcheck-0.1.5.tar.gz",
    "platform": null,
    "description": "# Proxy Checker and Saver\n\n## Overview\n\nThis Python script tests a list of proxies to determine which ones are working and saves the working proxies to an output file. It uses `aiohttp` for asynchronous HTTP requests, allowing it to efficiently check multiple proxies in parallel.\n\n## Features\n\n- Asynchronously checks a list of proxies.\n- Tests proxies against a user-defined URL.\n- Supports authentication in proxy URLs.\n- Saves working proxies to a specified output file.\n- Provides real-time progress updates on the command line.\n\n\n## Requirements\n\n- Python 3.7 or higher\n- `pip` library\n\nYou can install the required library using pip:\n\n```sh\npip install pcheck\n```\n\n## Usage\n```sh\npcheck -i INPUT_FILE -o OUTPUT_FILE [-u TEST_URL] [-t TIMEOUT]\n```\n\n\n## Command-Line Arguments\n```\n    -i, --input: Path to the input file containing proxies. Each proxy should be on a new line.\n    -o, --output: Path to the output file where working proxies will be saved.\n    -u, --url: URL to test proxies against (default is http://httpbin.org/ip).\n    -t, --timeout: Timeout for proxy requests in seconds (default is 5).\n```\n\n## Example\n\nTo test proxies listed in proxies.txt, save working proxies to working_proxies.txt, and test against http://example.com with a timeout of 10 seconds:\n\n```sh\npcheck -i proxies.txt -o working_proxies.txt -u http://example.com -t 10\n```\n\n## Proxy Format\n\nThe script supports proxies in the following formats:\n\n```\n    username:password@host:port\n    host:port:username:password\n```\n\nMake sure to provide proxies in one of these formats to ensure proper parsing.\n\n## Output\n\nThe script writes the working proxies to the specified output file, with each proxy on a new line. It also displays real-time progress on the console, including the number of working and invalid proxies, checks per second, and the number of remaining proxies.\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n## Contact\n\nFor any questions or issues, please contact rootcode@duck.com or open an issue here.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A easy to use and blazingly fast proxy checker written in python",
    "version": "0.1.5",
    "project_urls": {
        "Homepage": "https://github.com/ProtDos/pcheck"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "86d6305dc6422e1fe23b827928f3762dc50f9b3328d08ae404d9dbf97362b157",
                "md5": "9e64b73f91174ce09ac0a9ef6b001e07",
                "sha256": "7335f3de5018aa998c386034c2e1df2cffe302141d9f1e47a42f60c1053dbf6a"
            },
            "downloads": -1,
            "filename": "pcheck-0.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9e64b73f91174ce09ac0a9ef6b001e07",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5232,
            "upload_time": "2024-09-05T13:48:48",
            "upload_time_iso_8601": "2024-09-05T13:48:48.812150Z",
            "url": "https://files.pythonhosted.org/packages/86/d6/305dc6422e1fe23b827928f3762dc50f9b3328d08ae404d9dbf97362b157/pcheck-0.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ba9720cd8a77d6246bd6eb66c83439679b9aa348bfefb2c42f1ea69598e0642f",
                "md5": "2b30832c0d317b19cbac23c858f01e56",
                "sha256": "b79026e45e287581803dbd3b08a8c5c72c07141d1b8d6c876f89c957597adcc3"
            },
            "downloads": -1,
            "filename": "pcheck-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "2b30832c0d317b19cbac23c858f01e56",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4459,
            "upload_time": "2024-09-05T13:48:49",
            "upload_time_iso_8601": "2024-09-05T13:48:49.674509Z",
            "url": "https://files.pythonhosted.org/packages/ba/97/20cd8a77d6246bd6eb66c83439679b9aa348bfefb2c42f1ea69598e0642f/pcheck-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-05 13:48:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ProtDos",
    "github_project": "pcheck",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "pcheck"
}
        
Elapsed time: 0.29940s