explaingit

gproxynet/proxyspin

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 2/5LicenseSetup · easy

TLDR

A zero dependency Python library that manages a rotating pool of proxy servers shared across Scrapy, Playwright, and requests.

Mindmap

mindmap
  root((proxyspin))
    What it does
      Rotates proxies
      Tracks proxy health
      Detects bans
    Integrations
      Scrapy middleware
      Playwright helper
      Requests session
    Features
      Sticky sessions
      CLI list checker
      Auto cooldown
    Tech stack
      Python
      Standard library only

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Share one rotating proxy pool across Scrapy spiders, Playwright browsers, and requests code.

USE CASE 2

Automatically bench and retire proxies that return ban codes like 403 or 429.

USE CASE 3

Keep the same proxy pinned to a specific account or domain using sticky sessions.

USE CASE 4

Test a list of proxies from the command line and save only the working ones.

What is it built with?

Python

How does it compare?

gproxynet/proxyspin0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultyeasymoderatemoderate
Complexity2/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Installs with pip and has no required dependencies beyond the Python standard library.

Released under the MIT license, allowing free use, modification, and redistribution for any purpose including commercial use.

In plain English

proxyspin is a Python library that manages a rotating pool of proxy servers for web scraping and automation. It works across three different tools: Scrapy, Playwright, and the requests library, all sharing the same underlying pool and health tracking logic. The README explains that it was built because an older, similar tool for Scrapy has not been updated in years and only worked with Scrapy, while proxyspin is meant to be one small pool usable everywhere. It has no required dependencies beyond Python's own standard library, and it installs with a simple pip install command. The core idea is a ProxyPool object that can be built from a file, a plain list, or a URL such as a provider's export endpoint. Once built, code can pull a proxy from the pool, mark it as failed after an error, or mark it as working again. The pool supports different rotation strategies, including round robin, random, and sticky, where sticky keeps using the same proxy for a given domain or account until it stops working. Failing proxies are automatically benched for a period of time that grows the more they fail, then quietly rejoin rotation on their own. For each of the three integrations, the README gives a short code example. Scrapy users add a downloader middleware and some settings. Playwright users create a browser context using a helper function that assigns a proxy per account or session. Requests users can use a special rotating session object that gets a new proxy for each call. There is also a small command line tool, proxyspin check, that tests a list of proxies at once and can save the working ones to a file. The library also lets developers configure which HTTP response codes count as a sign that a proxy has been banned, such as 403 or 429, so the pool automatically rotates away from a blocked proxy. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Show me how to add proxyspin as a downloader middleware in my Scrapy project settings.
Prompt 2
Help me write a Playwright script that gives each account its own sticky proxy using proxyspin.
Prompt 3
Explain how proxyspin's health model decides when to bench and un-bench a failing proxy.
Prompt 4
Help me use the proxyspin CLI to check which proxies in my list are still alive.

Frequently asked questions

What is proxyspin?

A zero dependency Python library that manages a rotating pool of proxy servers shared across Scrapy, Playwright, and requests.

What language is proxyspin written in?

Mainly Python. The stack also includes Python.

What license does proxyspin use?

Released under the MIT license, allowing free use, modification, and redistribution for any purpose including commercial use.

How hard is proxyspin to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is proxyspin for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.