Skip to main content

nurse-andrea (Python)

NurseAndrea observability SDK for Python — version 1.3.0. Ships logs and HTTP metrics from Django, FastAPI, and Flask apps to NurseAndrea.

Install

pip install nurse-andrea
# Framework extras (pick one):
pip install 'nurse-andrea[django]'
pip install 'nurse-andrea[fastapi]'
pip install 'nurse-andrea[flask]'

Configure

import os
import nurse_andrea

nurse_andrea.configure(
    org_token=os.environ["NURSE_ANDREA_ORG_TOKEN"],
    workspace_slug="checkout",
    environment=os.environ.get("PYTHON_ENV", "production"),
    host=os.environ.get("NURSE_ANDREA_HOST", "https://nurseandrea.io"),
)

Environment variables

Variable Required Default
NURSE_ANDREA_ORG_TOKEN Yes —
NURSE_ANDREA_HOST No https://nurseandrea.io
NURSE_ANDREA_SERVICE_NAME No auto-detected

Migration from 0.x

The 1.0 auth contract replaces a single token / api_key / ingest_token field with three required fields: org_token, workspace_slug, environment. Setting any of the legacy fields raises MigrationError at boot. See docs/sdk/migration.md for the full guide.

Metadata

Release files for nurse-andrea 1.7.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 nurse-andrea 1.7.0
File Size Uploaded Provenance Actions
nurse_andrea-1.7.0.tar.gz 30.7 kB Without provenance Details for nurse_andrea-1.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nurse-andrea 1.7.0
File Interpreter ABI Platform Actions
nurse_andrea-1.7.0-py3-none-any.whl Python 3 none any Details for nurse_andrea-1.7.0-py3-none-any.whl

Total release size: 56.7 kB

Release files / nurse_andrea-1.7.0.tar.gz

Download URL nurse_andrea-1.7.0.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8c604b73ca34f32ead91c25f66f3b4b0d0de2d30a65020b17e3d3dbbd4923e2a
BLAKE2b-256 checksum
How to use checksums
d99fcbae0154769b317e2b47f1daddc219b1e3a9dd98cb88dad176c974799c22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / nurse_andrea-1.7.0-py3-none-any.whl

Download URL nurse_andrea-1.7.0-py3-none-any.whl
Size 25.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e05493825bb35385e4413080366ca98fc075750eeef83c7ee4687fde1596905
BLAKE2b-256 checksum
How to use checksums
2aba9823d7634c61a36c6751ad4e6ffc27bc888b555b994f25819726429db731
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for nurse-andrea 1.7.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.

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