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

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

saferx_pharma-2.0.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

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

Hashes for saferx_pharma-2.0.2.tar.gz
Algorithm Hash digest
SHA256 70bf9f2493dd6a46eb85f69c6fbd30182c141f52625174cbcd894cc1bda24ee6
MD5 139f6e20dbce6d8e64cd74c7d7070ad0
BLAKE2b-256 14c6034e3ad5906b45e5fcd0d6b2425adb420addbaacd1e72c4385faefc44e8c

See more details on using hashes here.

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

Hashes for saferx_pharma-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0cc062c3757197287667a222002bd3082083c665b6f1b793ff07a3e1bbd51e1a
MD5 3d1a28b5218ae1beb1cd840689fd067d
BLAKE2b-256 ce65083a921594d988b782c8bc22e8745a25cb36370bb6496b33e72fb41451f8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 files

2.0.1

2 files

1.4.4

2 files

1.4.3

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

0.0.57

2 files

0.0.50

2 files

0.0.48

2 files

0.0.46

2 files

0.0.44

2 files

0.0.41

2 files

0.0.40

2 files

0.0.35

2 files

0.0.31

2 files

0.0.29

2 files

0.0.26

2 files

0.0.23

2 files

0.0.21

2 files

0.0.20

2 files

0.0.17

2 files

0.0.14

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.4

2 files

0.0.3

2 files

0.0.1

2 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