Skip to main content

RLAAS Python SDK

Lightweight client for RLAAS HTTP APIs.

Install (local)

pip install -e .

Example

from rlaas_sdk import RlaasClient, CheckRequest

client = RlaasClient("http://localhost:8080")

decision = client.check_limit(CheckRequest(
    request_id="req-1",
    org_id="acme",
    tenant_id="retail",
    signal_type="http",
    operation="charge",
    endpoint="/v1/charge",
    method="POST",
    user_id="u1",
))

print(decision.allowed, decision.action, decision.reason)

Metadata

Release files for rlaas-sdk 1.1.3

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

Source distribution (sdist)

Source distribution for rlaas-sdk 1.1.3
File Size Uploaded Provenance Actions
rlaas_sdk-1.1.3.tar.gz 2.8 kB Without provenance Details for rlaas_sdk-1.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rlaas-sdk 1.1.3
File Interpreter ABI Platform Actions
rlaas_sdk-1.1.3-py3-none-any.whl Python 3 none any Details for rlaas_sdk-1.1.3-py3-none-any.whl

Total release size: 6.2 kB

Release files / rlaas_sdk-1.1.3.tar.gz

Download URL rlaas_sdk-1.1.3.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
23643fdd263e00f2c970aba61c33ed54b71f101ab6574cc64c9862d53cbfbea5
BLAKE2b-256 checksum
How to use checksums
0411638808d3d8dfb8e500c0cf7ae03c08619254a5243b77f8647d92fda29954
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / rlaas_sdk-1.1.3-py3-none-any.whl

Download URL rlaas_sdk-1.1.3-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6c3e5dc03ded3d5972dbb5fef9039d37c7cba5b8ad6188fa0abc6f02f7e6790
BLAKE2b-256 checksum
How to use checksums
8d15d5f614ef2c5bf4a1c21ba0e2ed87a0f18eda57ee9fd06ad4735a9ce37b1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for rlaas-sdk 1.1.3

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.

Release history Release notifications | RSS feed

This release

1.1.3 This release

2 release files No provenance

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