Skip to main content

HTTPie plugin for web bot auth

GitHub License Code style: black

A plugin to use web bot auth in HTTPie HTTP client.

Read the story behind Web Bot Auth, or find out more about how to Identify Bots with HTTP Message Signatures.

Installation

Install httpie via uv

uv venv

source ./venv/bin/activate

uv pip install httpie
httpie cli plugins install httpie-web-bot-auth

Usage

You should have a local key in a JSON-encoded JWK file.

Set HTTPIE_WBA_KEY to a path to this file.

Then make your request with http+wba://, or https+wba://.

Example

HTTPIE_WBA_KEY="/path/to/jwk.json" http 'http+wba://example.com'

Development

Requirements

Build

To build bot-auth package

uv sync

uv build

Lint

This codebase uses ruff and Black for linting.

To run a check, use

uv run ruff check .
uv run black --check .

To format the codebase

uv run ruff format .
uv run black .

Security Considerations

This software has not been audited. Please use at your sole discretion.

License

This project is under the Apache 2.0 license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be Apache 2.0 licensed as above, without any additional terms or conditions.

Metadata

Release files for httpie-web-bot-auth 0.1.1

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

Source distribution (sdist)

Source distribution for httpie-web-bot-auth 0.1.1
File Size Uploaded
httpie_web_bot_auth-0.1.1.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for httpie-web-bot-auth 0.1.1
File Interpreter ABI Platform
httpie_web_bot_auth-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.4 kB

Release files / httpie_web_bot_auth-0.1.1.tar.gz

Download URL httpie_web_bot_auth-0.1.1.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6d341d2bb4cb38a9c5296d77261e046b2b5dfcf83d852afd97be61a38ba4bc11
BLAKE2b-256 checksum
How to use checksums
52876d323463ae53c94843270a710879adbbba04d79d73685f23cfdbc1e1cf22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / httpie_web_bot_auth-0.1.1-py3-none-any.whl

Download URL httpie_web_bot_auth-0.1.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8bd15712a75b90dd2e5d24e2e712acf79a672c27016a8045f1c56881e8c38e9b
BLAKE2b-256 checksum
How to use checksums
0541e140f8cafdbe980cd7a1f3b46eed82af07f5e796db91398f776be891332d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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