Files
vex1023 b48a3216bf Add pcurl: curl-like CLI backed by primp (Chrome TLS fingerprint)
- curl-compatible subset: -X/-d/-H/-F/-o/-L/-k/-s/-i/-I/-j/--max-time/--proxy
- Default impersonate chrome_146 (primp 2.x); --no-fingerprint to opt out
- Env proxy default (PRIMP_PATCH_PROXY/HTTPS_PROXY); curl exit codes
- Registered as console script 'pcurl' + python -m primp_patch.curl
2026-10-01 10:52:07 +08:00

39 lines
1.1 KiB
TOML

[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "primp-patch"
version = "0.2.0"
description = "Runtime HTTP-layer replacement: route requests/urllib3/http.client/urllib through primp for browser-grade anti-bot fingerprinting"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "vex1023" }]
keywords = ["primp", "requests", "urllib", "anti-bot", "http", "impersonate", "patch"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"primp>=0.10",
]
[project.scripts]
pcurl = "primp_patch.curl:main"
[project.optional-dependencies]
requests = ["requests>=2.20"]
urllib3 = ["urllib3>=1.26"]
all = ["requests>=2.20", "urllib3>=1.26"]
[tool.setuptools.packages.find]
where = ["src"]
[project.urls]
Homepage = "https://github.com/vex1023/primp-patch"