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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
saferx_pharma-2.0.2.tar.gz
(4.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file saferx_pharma-2.0.2.tar.gz.
File metadata
- Download URL: saferx_pharma-2.0.2.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70bf9f2493dd6a46eb85f69c6fbd30182c141f52625174cbcd894cc1bda24ee6
|
|
| MD5 |
139f6e20dbce6d8e64cd74c7d7070ad0
|
|
| BLAKE2b-256 |
14c6034e3ad5906b45e5fcd0d6b2425adb420addbaacd1e72c4385faefc44e8c
|
File details
Details for the file saferx_pharma-2.0.2-py3-none-any.whl.
File metadata
- Download URL: saferx_pharma-2.0.2-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cc062c3757197287667a222002bd3082083c665b6f1b793ff07a3e1bbd51e1a
|
|
| MD5 |
3d1a28b5218ae1beb1cd840689fd067d
|
|
| BLAKE2b-256 |
ce65083a921594d988b782c8bc22e8745a25cb36370bb6496b33e72fb41451f8
|