Skip to main content

request-auth-client

Python client for the Request Authorization gRPC permit service.

Installation

Install from the local package directory:

pip install ./client

Or from PyPI:

pip install dwilson-request-auth-client

Requires: Python 3.11+, grpcio>=1.80.0, protobuf>=6.31.1


Quick start

from request_auth_client import RequestAuthClient

client = RequestAuthClient("localhost:9000")

try:
    with client.acquire("example.com") as permit:
        # run request here
        permit.set_status(200)
finally:
    client.close()

Explicit release

permit = client.acquire("example.com")
try:
    # run request here
    permit.release(200)
except Exception:
    permit.release(0)

Metadata

Release files for dwilson-request-auth-client 0.1.4

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

Source distribution (sdist)

Source distribution for dwilson-request-auth-client 0.1.4
File Size Uploaded Provenance Actions
dwilson_request_auth_client-0.1.4.tar.gz 7.0 kB Without provenance Details for dwilson_request_auth_client-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dwilson-request-auth-client 0.1.4
File Interpreter ABI Platform Actions
dwilson_request_auth_client-0.1.4-py3-none-any.whl Python 3 none any Details for dwilson_request_auth_client-0.1.4-py3-none-any.whl

Total release size: 13.5 kB

Release files / dwilson_request_auth_client-0.1.4.tar.gz

Download URL dwilson_request_auth_client-0.1.4.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7a744eac9462ecc030c3f13b7595c6eec1a28d6743593bd4cb408ae55e679043
BLAKE2b-256 checksum
How to use checksums
68eafe4018ca21f8eaad6938be5f941c262fe537aa8e0d0e5991af56b066662f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / dwilson_request_auth_client-0.1.4-py3-none-any.whl

Download URL dwilson_request_auth_client-0.1.4-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08ffd583e6d815a518f41099ccfc89b218a074d8f5e31cf9ecbfce4ebad9937b
BLAKE2b-256 checksum
How to use checksums
5117dfb6efcc04a686e557acd25c7b0102a7839a44e789db996d3ba0b5a06193
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for dwilson-request-auth-client 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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