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': 'http://192.140.42.83:31511'}, {'http': '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. License

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 Distribution

rotating_proxy-0.1.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file rotating_proxy-0.1.2.tar.gz.

File metadata

  • Download URL: rotating_proxy-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.9

File hashes

Hashes for rotating_proxy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 423aa686febe3ffb311570ce078d5efba05731302a07a47faf4033d232428e39
MD5 ef7ec63fd21147c5b8c952c3c81d2474
BLAKE2b-256 e728e10b397f8847e21ff3fa4124d58e450d2df15245a3072a25f488c8a0b70c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rotating_proxy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 48035d7c578f3f6edea359c09942929342d1eaac16cc60bf7713ebb12a6c832e
MD5 8ac382a593b6952cbce0ae26d56918a2
BLAKE2b-256 7e47594ef49fbcc7192e24ea8bdaea3386f649fa22cbae4feccfb28fe8c2b51b

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