Skip to main content

A Python package for managing and using rotating proxies

Project description

Rotating Proxy

A Python package for managing and utilizing rotating proxies effectively. This module provides a simple and efficient way to handle multiple proxies, automatically switching between them to enhance web scraping or any HTTP requests that require anonymity.

Features

  • Proxy Pool Management: Easily add, remove, and manage a list of proxies.
  • Automatic Proxy Rotation: Automatically rotates through working proxies to ensure seamless web requests.
  • Proxy Testing: Verifies the functionality of each proxy before use, maintaining a blacklist of failed proxies.
  • Support for HTTP and SOCKS proxies: Works with different types of proxies to meet your needs.

Installation

You can install the package using pip:

pip install rotating_proxy

Usage

from rotating_proxy import ProxyPool

# Create a ProxyPool instance with your proxies
pool = ProxyPool([{'http': '192.140.42.83:31511'}, {'http': '131.153.187.5:50689'}])

# Get a working proxy
proxy = pool.rotate_proxy()

# Use the proxy for your requests

Contributing

Contributions are welcome! If you have suggestions for improvements or additional features, feel free to open an issue or submit a pull request.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rotating_proxy-0.1.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file rotating_proxy-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for rotating_proxy-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 00582dd3df44dc7f3945d1bb51591a2913c977affe82003777863839aab72c7a
MD5 0be343bf8bec90abb46eeaec38992dc0
BLAKE2b-256 374ac0bc86b947367260cb21e7a9c7c22b908e4f3a63d914f57bb190caf9d07c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page