Skip to main content

saferx-pharma

Signed Python client for the SafeRx Enterprise API.

pip install saferx-pharma
from saferx_pharma import SafeRxClient

client = SafeRxClient(
    base_url="https://saferx.online/api/enterprise/v1",
    api_key="YOUR_ENTERPRISE_KEY",
)

result = client.enterprise_safety_check(
    body={
        "locale": "en",
        "medications": [{"input_text": "Augmentin 1g"}],
        "requested_domains": ["ddi"],
    },
    idempotency_key="safety-check-001",
)

Server-side use only -- this client signs requests with your API key as the HMAC secret. Never embed it in browser or client-controlled code.

Full docs: https://docs.saferx.online

Metadata

Release files for saferx-pharma 3.0.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 saferx-pharma 3.0.0
File Size Uploaded Provenance Actions
saferx_pharma-3.0.0.tar.gz 5.3 kB Without provenance Details for saferx_pharma-3.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for saferx-pharma 3.0.0
File Interpreter ABI Platform Actions
saferx_pharma-3.0.0-py3-none-any.whl Python 3 none any Details for saferx_pharma-3.0.0-py3-none-any.whl

Total release size: 11.0 kB

Release files / saferx_pharma-3.0.0.tar.gz

Download URL saferx_pharma-3.0.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c8056baa61b203de7a2bb45d83dc39f85d9e2f57ae1d13f870f3773579ce8d20
BLAKE2b-256 checksum
How to use checksums
6f1dbe2143933b031e7c77ab3fa1d03374d70793ef26a86373255402df1d2d29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / saferx_pharma-3.0.0-py3-none-any.whl

Download URL saferx_pharma-3.0.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6222dbc5e28eea9cdf9f93532c63fc85754b090a01207a543f37b374dcbac612
BLAKE2b-256 checksum
How to use checksums
b858064bc61ea80494c19f593c517b4abf8ff7f23899c3bd62ebc1aa83274b4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for saferx-pharma 3.0.0

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

3.0.0 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