Python package utilizing Cloudflare Workers to proxy requests
Project description
cf_proxy
Python package utilizing Cloudflare Workers to proxy requests
Prerequisites
- Python 3.8+
- Node.js
- Cloudflare account (100k request/day free)
Setup (Cloudflare)
-
Deploy the Cloudflare worker
cd worker npx wrangler@latest deploy
-
Grab your worker URL After successful deployment, Wrangler will output your worker URL. It will look like:
https://cf_proxy.<username>.workers.dev
Getting Started
-
Install the package
pip install cf-proxy -
Run an example
pip install httpx cd example python sync_example.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cf_proxy-0.2.0.tar.gz
(35.7 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cf_proxy-0.2.0.tar.gz.
File metadata
- Download URL: cf_proxy-0.2.0.tar.gz
- Upload date:
- Size: 35.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3e1a9b72670b21db1cf7e4ee2cd6f06981b73660de3e3f12a9a2c75df954518
|
|
| MD5 |
ffb196d8b816881d20c21cea29566d9d
|
|
| BLAKE2b-256 |
e9882555d0eda8540b3745aef76b4fc509893a6b268bf14fd12c7a48629eda88
|
File details
Details for the file cf_proxy-0.2.0-py3-none-any.whl.
File metadata
- Download URL: cf_proxy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
815a6e631db17435df6e98db848fdf4e5c316d997a14c1d6693b0d8963cc6855
|
|
| MD5 |
8cc2d26ee1e0ae348a6c5f74413bb548
|
|
| BLAKE2b-256 |
bcadd6bef5c7a1e056cde732ecd67a64ae2ff4d02895981865c610194e136766
|