Skip to main content

br_logging_and_profiling

Reusable logging/profiling/tracing package extracted from Forecasting-sidecar3.

Current state

  • Logging: Loguru + colorama via br_py_log_n_profile.do_log.log_it
  • Profiling: profile_it decorator (wall-clock timing, colored console output)
  • Correlation IDs: ray_id via contextvars.ContextVar

Planned

  • tracing/ module: init_tracing(), traced decorator (OTel span replacement for profile_it), @counted/@timed_metric for hot-loop metrics
  • Backend: Prometheus + Jaeger + Grafana + OTel Collector
  • Migration phases: Phase 0 (deps/config) → Phase 1 (core tracing) → Phase 2 (migrate by layer) → Phase 3 (metrics) → Phase 4 (backend stack)

Install

pip install br-logging-and-profiling

Development

pip install -r requirements-dev.txt
pre-commit install
pytest -m unit

Metadata

Release files for br-logging-and-profiling 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 br-logging-and-profiling 0.1.1
File Size Uploaded Provenance Actions
br_logging_and_profiling-0.1.1.tar.gz 5.6 kB Without provenance Details for br_logging_and_profiling-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for br-logging-and-profiling 0.1.1
File Interpreter ABI Platform Actions
br_logging_and_profiling-0.1.1-py3-none-any.whl Python 3 none any Details for br_logging_and_profiling-0.1.1-py3-none-any.whl

Total release size: 11.6 kB

Release files / br_logging_and_profiling-0.1.1.tar.gz

Download URL br_logging_and_profiling-0.1.1.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3d11ca3192306f1a5eea2be8eb8cd3ae9f355cf349d3345e98b4e8ffe9fda173
BLAKE2b-256 checksum
How to use checksums
7caae7b28b1f487a04b82c7ee37db5e7c7c4c2fd901b55ae2996c2631f9cab88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.9

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

Download URL br_logging_and_profiling-0.1.1-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a7e39850d7635ce5d6d8d7dea90aad509f657df8ad611578c95923868caa625
BLAKE2b-256 checksum
How to use checksums
be61a284cb26bf853298fc9d9af448296d9e448d72530c11d1fcbe1f850dbbbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.9

Security for br-logging-and-profiling 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.

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