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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| codexray_sdk-0.1.1.tar.gz | 22.9 kB | With provenance | Details for codexray_sdk-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| codexray_sdk-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for codexray_sdk-0.1.1-py3-none-any.whl |
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 logRelease 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 logSecurity for codexray-sdk 0.1.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for codexray_sdk-0.1.1.tar.gz
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 logA 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.