Skip to content

Add Python proxy waterfall examples - #28

Open
proxymeshai wants to merge 1 commit into
mainfrom
feat/python-proxy-waterfall
Open

Add Python proxy waterfall examples#28
proxymeshai wants to merge 1 commit into
mainfrom
feat/python-proxy-waterfall

Conversation

@proxymeshai

@proxymeshai proxymeshai commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add three Python proxy waterfall examples: basic ladder, TTL decision cache, and curl_cffi TLS fingerprint (Tier 0.5)
  • Share tier building and content-level validation in waterfall_common.py
  • Document env vars and usage under README “Other Python scripts” (not wired into CI/run_tests.py)

Test plan

  • PROXY_URL=... python3 python/requests-waterfall-proxy.py
  • WATERFALL_CACHE_PATH=/tmp/wf.json PROXY_URL=... python3 python/requests-waterfall-cache-proxy.py twice (second run shows cache hit)
  • pip install 'curl_cffi>=0.6.0' && PROXY_URL=... python3 python/curl-cffi-waterfall-proxy.py
  • Confirm missing proxy env exits non-zero with a clear error
  • Confirm EXPECT_MUST_CONTAIN failure walks all tiers then exits 1

…ache.

Demonstrate cheap-to-expensive tier escalation from the proxy waterfall pattern, including a curl_cffi TLS fingerprint variant.

Co-authored-by: Cursor <cursoragent@cursor.com>
@proxymeshai
proxymeshai enabled auto-merge (squash) July 27, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant