proxywhirl.strategies ===================== .. py:module:: proxywhirl.strategies .. autoapi-nested-parse:: Rotation strategies package for proxy selection. This package provides various strategies for selecting proxies from a pool: - RoundRobinStrategy: Sequential rotation through proxies - RandomStrategy: Random proxy selection - WeightedStrategy: Selection weighted by success rate or custom weights - LeastUsedStrategy: Selects least-used proxy (min-heap based) - PerformanceBasedStrategy: Selection based on EMA response times - SessionPersistenceStrategy: Maintains session affinity - GeoTargetedStrategy: Location-based selection - CostAwareStrategy: Selection considering proxy costs - CompositeStrategy: Combines multiple strategies Usage: from proxywhirl.strategies import RoundRobinStrategy, StrategyRegistry strategy = RoundRobinStrategy() proxy = strategy.select(pool) Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/proxywhirl/strategies/core/index