Skip to main content

Free IP Proxy rotator for python

Project description

Swiftshadow

PyPI - Downloads
GitHub release (latest by date including pre-releases)

[!WARNING]
Heads up! If you're using versions 1.2.1 or below, please note that version 2.0.0 and above includes breaking changes. Before upgrading, read the documentation to understand the changes and ensure compatibility with your code. If you encounter issues, please review the docs before opening a GitHub issue.

About

Swiftshadow is a lightweight and efficient Python library designed to simplify IP proxy rotation for web scraping, data mining, and other automated tasks. It helps you bypass common challenges like IP bans, rate limits, and detection mechanisms, ensuring smooth and uninterrupted data collection.

Key Features

  • Speed: Optimized for fast proxy retrieval and rotation.
  • Reliability: Automatically switches to working proxies if one fails.
  • Customization: Configure proxy filters, rotation frequency, and caching behavior.
  • Low Dependencies: Only one third-party dependency (requests), making it easy to use and maintain.
  • Caching: Built-in caching mechanism to reduce load times and improve performance.

Whether you're a seasoned developer or a beginner, Swiftshadow makes proxy management effortless.


Installation

Install the library using pip:

pip install swiftshadow

Quick Start

Get a Proxy in 2 Lines

Fetch a random proxy with just two lines of code:

from swiftshadow import QuickProxy

print(QuickProxy())  # Output: http://<ip>:<port>

Advanced Usage

For more control, use the ProxyInterface class:

from swiftshadow.classes import ProxyInterface

# Fetch HTTPS proxies from the US
swift = ProxyInterface(countries=["US"], protocol="https")
print(swift.get().as_string())  # Output: https://<ip>:<port>

Documentation

Explore the full documentation to learn more about Swiftshadow's features and advanced usage:

📚 Documentation


Why Swiftshadow?

  • Lightweight: Minimal dependencies and easy to integrate.
  • Flexible: Supports filtering by country and protocol.
  • Scalable: Ideal for both small scripts and large-scale scraping projects.
  • Open Source: Free to use, modify, and contribute to under the MIT License.

Contributing

Contributions are welcome! If you'd like to improve Swiftshadow, feel free to open an issue or submit a pull request on GitHub.


License

Swiftshadow 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

swiftshadow-2.2.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swiftshadow-2.2.1-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file swiftshadow-2.2.1.tar.gz.

File metadata

  • Download URL: swiftshadow-2.2.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for swiftshadow-2.2.1.tar.gz
Algorithm Hash digest
SHA256 f89aaee832582736752f72e598561df07a9d5792fff776ef5f08d06bfcdc23bb
MD5 cd8118ed9cfe54af762135b9d28d1ae3
BLAKE2b-256 22fdab1e56c9ccd6c883dc98a30837883ac49c94580e2d9c34b98dee6a42e6c8

See more details on using hashes here.

File details

Details for the file swiftshadow-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: swiftshadow-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for swiftshadow-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 26256d67137e4fbf3ebb8d2df0318793c80cd740ea987f2619e4fa0f801a4035
MD5 d3d362b9c8c6f6e608efbac08bbf6c26
BLAKE2b-256 3c2c894b8af02213a8bdf2265c6f5ec2121282b02c9ed3d9007ec62bf673130d

See more details on using hashes here.

Supported by

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