Metadata-Version: 2.4
Name: trace-stat
Version: 0.1.0
Summary: Structured logging for Python statistical programming.
Author: Frederick Atisai
License-Expression: MIT
Project-URL: Homepage, https://github.com/f-atisai/trace
Project-URL: Documentation, https://github.com/f-atisai/trace/tree/main/docs
Project-URL: Repository, https://github.com/f-atisai/trace
Project-URL: Issues, https://github.com/f-atisai/trace/issues
Keywords: clinical-programming,statistical-programming,structured-logging,clinical-trials,traceability,auditability
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: build>=1.2; extra == "dev"
Requires-Dist: mypy>=1.11; extra == "dev"
Requires-Dist: numpy>=1.26; extra == "dev"
Requires-Dist: pytest>=8.3; extra == "dev"
Requires-Dist: pytest-cov>=5.0; extra == "dev"
Requires-Dist: ruff>=0.6; extra == "dev"
Provides-Extra: examples
Requires-Dist: pandas>=2.2; extra == "examples"
Requires-Dist: polars>=1.0; extra == "examples"
Requires-Dist: rtflite>=1.0; extra == "examples"
Dynamic: license-file

# TRACE

**Structured logging for statistical programming.**

## Purpose

To provide a lightweight Python library for adding consistent logs to statistical analysis programs.

## Installation

TRACE currently supports Python 3.10+ and can be installed from the repository:

```bash
git clone https://github.com/f-atisai/trace.git
cd trace
python -m pip install -e .
```

## Usage

Please refer to [Getting Started](docs/getting-started.md) to learn how to add TRACE logs to a statistical program.

## Examples

The repo includes two public-data examples:

- [`population_summary.py`](examples/population_summary.py) — a population-summary TLF using public CDISC Pilot Study data.
- [`specific_adverse_events.py`](examples/specific_adverse_events.py) — a multi-dataset adverse-event TLF using ADSL and ADAE.

See [examples/README.md](examples/README.md) for running the examples.

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and contribution guidance.
