Skip to content
프로젝트

소개

무료 Python IP 프록시 로테이션 라이브러리입니다.

시스템 및 인프라

이 수치를 측정하는 방법

What you can do

  • Quick proxy retrieval — Get a proxy with a single function call.
  • Automatic rotation — Switch proxies when your workflow requires a different endpoint.
  • Configurable filtering — Select proxies by country and protocol.
  • Caching — Reuse cached proxy data to reduce repeated retrieval overhead.

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Swiftshadow — Python Proxy Rotation Library

Lightweight, configurable proxy rotation for Python.
Simplify proxy management for web scraping, data collection, and automation.

PyPI version Python versions PyPI monthly downloads Latest GitHub release MIT License

[!WARNING] Breaking changes in v2.0.0 and later

Upgrading from v1.2.1 or earlier requires attention: v2.0.0 introduced breaking changes. Review the documentation before upgrading to understand the migration requirements. If you encounter an issue, check the documentation and migration guidance before opening a bug report.

Overview

Swiftshadow is a lightweight Python library for retrieving and rotating HTTP proxies. It provides a simple interface for obtaining proxies, filtering them by country and protocol, and configuring proxy selection to suit your workflow.

Whether you're building a small scraping script or a larger data collection pipeline, Swiftshadow helps simplify proxy management without adding unnecessary dependencies.

Features

  • Quick proxy retrieval — Get a proxy with a single function call.
  • Automatic rotation — Switch proxies when your workflow requires a different endpoint.
  • Configurable filtering — Select proxies by country and protocol.
  • Caching — Reuse cached proxy data to reduce repeated retrieval overhead.
  • Lightweight — Only one third-party dependency: requests.
  • Simple API — Start with QuickProxy or use ProxyInterface for more control.

Installation

Install Swiftshadow from PyPI:

pip install swiftshadow
uv add swiftshadow

Quick start

Get a proxy

Retrieve a proxy with QuickProxy:

from swiftshadow import QuickProxy

proxy = QuickProxy()
print(proxy)
# Example: http://<ip>:<port>

Filter proxies

Use ProxyInterface when you need to configure proxy selection:

from swiftshadow.classes import ProxyInterface

proxy_pool = ProxyInterface(
    countries=["US"],
    protocol="https",
)

proxy = proxy_pool.get()
print(proxy.as_string())
# Example: https://<ip>:<port>

These examples illustrate the basic API. See the documentation for supported configuration options, proxy formats, and rotation behavior.

Documentation

Read the full documentation →

Explore configuration options, API references, and advanced usage.

Contributing

Contributions, bug reports, and feature suggestions are welcome.

  1. Check the existing issues.
  2. Open an issue to discuss significant changes.
  3. Submit a pull request with a clear description of your changes.

Please review the project's documentation before reporting issues related to configuration or version compatibility.

License

Swiftshadow is distributed under the GPL 3.0 License.

관련 프로젝트 살펴보기

불러오는 중…