Skip to main content

codexray-sdk

Watch your software think. Zero-dependency Python telemetry for CodeXRay.

pip install codexray-sdk
cd your-project
codexray init                        # creates the CodeXRay project
codexray serve --app app.main:app    # serve with live tracing
codexray logs path/to/app.log        # tail a log file → dashboard Logs panel
codexray logs path/to/logs/          # or a whole directory of *.log/*.jsonl
# → open the printed dashboard link

On SaaS servers, codexray init prompts for your license key in a box (one attempt — wrong key exits without writing .codexray.json). For non-interactive use pass --license KEY or set CODEXRAY_LICENSE_KEY. Open-source deployments without CODEXRAY_LICENSE_KEY configured skip the prompt entirely.

Local development (from this repo):

pip install -e /path/to/sdk/python

Manual spans for deeper causality (DB calls, LLM calls, jobs):

from codexray import Tracer

tracer = Tracer(service="my-api", api_url="http://127.0.0.1:3101", api_key="cxr_...")

with tracer.span("groq chat", service="groq", metadata={"model": "llama-3.1-8b-instant"}):
    answer = chat(...)

codexray doctor checks API reachability + auth. Telemetry failures never raise into your app.

Metadata

Release files for codexray-sdk 0.1.1

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

Source distribution (sdist)

Source distribution for codexray-sdk 0.1.1
File Size Uploaded
codexray_sdk-0.1.1.tar.gz 22.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for codexray-sdk 0.1.1
File Interpreter ABI Platform
codexray_sdk-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 43.5 kB

Release files / codexray_sdk-0.1.1.tar.gz

Download URL codexray_sdk-0.1.1.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d8982bc1a2a8571d13b7f81a2c8c554fee0f940e9bdfa6aa0fb033e66e880f7e
BLAKE2b-256 checksum
How to use checksums
51e3fffd36629d4f224b75a8ff90c8921334c7f7baa8397e231e1b61ef498a6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / codexray_sdk-0.1.1-py3-none-any.whl

Download URL codexray_sdk-0.1.1-py3-none-any.whl
Size 20.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ca5119945379afe44a9051cfb7262001028df7115250776ed5f651af65d854c
BLAKE2b-256 checksum
How to use checksums
f7286f4769eadced703e42495dc1c7fb3af5c6adb78a9bcc5f1a00bf4f88893f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release 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