Skip to main content

Forestly

Python Versions PyPI License CI Build Codecov

A production-ready forest plot system for clinical trials with interactive Reactable tables, supporting nested listings and drill-down capabilities.

Installation

pip install -e .

Quick Start

from forestly import ForestPlot, TextPanel, SparklinePanel, Config
import polars as pl

# Create forest plot
forest = ForestPlot(
    data=efficacy_data,
    panels=[
        TextPanel(variables="subgroup"),
        SparklinePanel(
            variables="hazard_ratio",
            lower="hr_ci_lower",
            upper="hr_ci_upper",
            reference_line=1.0
        ),
        TextPanel(variables="p_value", title="P-value")
    ]
)

# Export to interactive Reactable
forest.to_reactable()

Features

  • Panel-based architecture for flexible layouts
  • Interactive Reactable tables with drill-down capabilities
  • Multiple export formats (RTF, static plots)
  • Pydantic validation for data integrity
  • Support for hierarchical data structures

Development

# Install development dependencies
uv add --dev pytest pytest-cov ruff mypy hypothesis

# Run tests
pytest

# Format code
ruff format .

# Type check
mypy src/

Metadata

Release files for forestly 0.1.2

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

Source distribution (sdist)

Source distribution for forestly 0.1.2
File Size Uploaded Provenance Actions
forestly-0.1.2.tar.gz 21.2 kB Without provenance Details for forestly-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for forestly 0.1.2
File Interpreter ABI Platform Actions
forestly-0.1.2-py3-none-any.whl Python 3 none any Details for forestly-0.1.2-py3-none-any.whl

Total release size: 41.4 kB

Release files / forestly-0.1.2.tar.gz

Download URL forestly-0.1.2.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9036175b2e85fa835e07f9557b4039746415810b796d071ff92721257f4d7e5a
BLAKE2b-256 checksum
How to use checksums
92db5b78eea54dbdc5ec793a4acf1e00bc83976ec5c1dbd48683ff5ccb991cbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / forestly-0.1.2-py3-none-any.whl

Download URL forestly-0.1.2-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2c011222a974fbdde202edc1a7de666ee6f56f4416369ea6c1592002843a3e5
BLAKE2b-256 checksum
How to use checksums
5b586a5c6d03e4195eefe343d6160ac3bca37aef5651f16cc8a3c997a001c074
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for forestly 0.1.2

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