Skip to main content

wbauth — Web Bot Auth for Python

Ed25519 RFC 9421 request signing with the IETF Web Bot Auth profile, plus a pre-flight policy inspector (robots.txt, ai.txt, llms.txt, signing directory). Python ≥ 3.11. TypeScript SDK: npm install wb-auth.

pip install wbauth                 # core: httpx + requests adapters, inspector, CLI
pip install "wbauth[playwright]"   # + Playwright adapter
pip install "wbauth[http2]"        # + HTTP/2 for a shared inspector client

From source:

uv sync --locked --all-extras --dev --all-packages
../scripts/post-sync.sh   # macOS-only; clears UF_HIDDEN flag on uv editable .pth
uv run pytest python/tests

Why scripts/post-sync.sh?

On macOS, uv (≤0.11.7) sets the UF_HIDDEN file flag on the editable-install marker file .venv/lib/python*/site-packages/_editable_impl_wbauth.pth. Python 3.13+ silently skips hidden .pth files per CPython security policy (GH-99458 / issue #50028). Symptom: import wbauth fails with ModuleNotFoundError even though wbauth-*.dist-info/ is present in site-packages. The post-sync script clears UF_HIDDEN via chflags nohidden. No-op on Linux/Windows. Safe to re-run anytime.

See the repository README for usage.

Metadata

Release files for wbauth-sdk 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wbauth-sdk 0.3.0
File Size Uploaded
wbauth_sdk-0.3.0.tar.gz 86.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wbauth-sdk 0.3.0
File Interpreter ABI Platform
wbauth_sdk-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 141.2 kB

Release files / wbauth_sdk-0.3.0.tar.gz

Download URL wbauth_sdk-0.3.0.tar.gz
Size 86.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a24e22f8fbef1028d1ff0939f8bf2da5c9ea8f4f8321c4b5f0b30206ecb61505
BLAKE2b-256 checksum
How to use checksums
748114986d2c6b7128a8f29bdf810f69e695acf3e36e598c8e4e0c099cc887b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / wbauth_sdk-0.3.0-py3-none-any.whl

Download URL wbauth_sdk-0.3.0-py3-none-any.whl
Size 55.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfa9f3e1108cab681e9c9f3721e87cec45295b837d707119737032c7c11ad932
BLAKE2b-256 checksum
How to use checksums
09d7cbe6ad8a2b713930ca76d11e42d3016e71ec590b4cc16a553b60ef622e08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.4.0

2 release files

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page