Skip to main content

fasthep-render

CI PyPI Python Versions Documentation Status Discussions

FAST-HEP

fasthep-render provides plotting, table rendering, reporting, and visualization utilities for FAST-HEP workflows.

The Python import namespace is:

import fasthep_render

Scope

fasthep-render is responsible for:

  • histogram rendering
  • cutflow tables
  • report generation
  • plotting backends
  • rendering registries
  • artifact formatting
  • summary visualizations
  • workflow diagnostics output

It is the presentation and reporting layer of the FAST-HEP ecosystem.

Relationship to fasthep-flow

fasthep-flow provides:

  • workflow compilation
  • orchestration
  • execution planning
  • backend interfaces

fasthep-render provides:

  • visualization
  • report generation
  • artifact formatting
  • plotting implementations
  • rendering specifications

In practice, most HEP users will use both packages together.

  • fasthep-flow

    • workflow language and execution engine
  • fasthep-carpenter

    • HEP analysis transforms
    • histogramming
    • event processing
  • fasthep-curator

    • dataset inspection
    • validation
    • metadata generation
  • fasthep-cli

    • the unified fasthep command-line interface

Alternatively, install the meta package:

pip install fasthep

Installation

Install directly:

pip install fasthep-render

Development environment:

pixi install
pixi run ci

Minimal example

Example render specification:

render:
  NumberOfJets:
    renderer: histogram
    style:
      title: Jet multiplicity
      x_label: Number of jets
      y_label: Events

Example Python usage:

from fasthep_render.api import render_spec_file

render_spec_file(
    "render_specs/render_NumberOfJets.yaml",
    product="results/NumberOfJets.pkl",
    out="results/NumberOfJets.png",
)

Renderer implementations are organised by domain:

  • fasthep_render.hist for histogram plots and render-side histogram transforms
  • fasthep_render.graph for graph renderers and graph compile hooks
  • fasthep_render.reports for document/template rendering
  • fasthep_render.tables for tabular outputs

fasthep_render.api is the stable invocation boundary for standalone rendering and Flow-facing render sinks.

Comparison area normalisation

hep.render.comparison supports a small presentation-only option:

comparison:
  normalise: area

This scales each input histogram independently to unit visible-bin area before drawing the comparison, using the histogram API's density() implementation for the normalized visible-bin values. The renderer operates on histogram copies, so stored histogram artifacts keep their original weighted counts and can be reused by other render stages. Weighted variances are scaled with the copied histogram.

Zero-integral histograms are left unchanged and reported in renderer metadata. Negative visible-bin integrals are rejected because the area normalisation would be ambiguous. This option is intentionally narrow; a more general render transform mechanism may replace it later.

Design principles

fasthep-render focuses on:

  • declarative rendering
  • reusable render specifications
  • backend-independent visualization
  • registry-driven extensibility
  • reproducible reports
  • publication-oriented outputs

The package intentionally separates rendering and presentation concerns from workflow execution and analysis logic.

Documentation

Main FAST-HEP documentation:

API documentation for this package:

Repository

Main FAST-HEP repository and project links:

Contributing

Contribution guidelines, development setup, and project-wide documentation are maintained centrally in the main FAST-HEP repository.

Legacy branch

Earlier rendering implementations existed inside the monolithic prototype repositories.

The current repository contains the standalone split-package rendering layer.

Status

FAST-HEP is currently in active pre-alpha development.

Interfaces may evolve rapidly while the package split and stabilization work continues.

Metadata

Release files for fasthep-render 2026.11.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 fasthep-render 2026.11.1
File Size Uploaded Provenance Actions
fasthep_render-2026.11.1.tar.gz 33.2 kB With provenance Details for fasthep_render-2026.11.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fasthep-render 2026.11.1
File Interpreter ABI Platform Actions
fasthep_render-2026.11.1-py3-none-any.whl Python 3 none any Details for fasthep_render-2026.11.1-py3-none-any.whl

Total release size: 78.7 kB

Release files / fasthep_render-2026.11.1.tar.gz

Download URL fasthep_render-2026.11.1.tar.gz
Size 33.2 kB
Tags Source
SHA-256 checksum
How to use checksums
931d756e9b625dbc0dcec4d60a98f55a483f842b1f37e6c2864fcb052e0ea755
BLAKE2b-256 checksum
How to use checksums
4fc3ce45aebc63bacbcf0afd5dfb2c115876e5c8db3df14b8ac4af40e65c9dbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 2, 2026.

Transparency log

Release files / fasthep_render-2026.11.1-py3-none-any.whl

Download URL fasthep_render-2026.11.1-py3-none-any.whl
Size 45.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e140d043b04202f56c281d6b3da40635f5eee1b1804f7f5424f7582e780a8a7
BLAKE2b-256 checksum
How to use checksums
39c1958232defbb0a8f8701dec1c587a15e16174a4fff52917949ae22e5283a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 2, 2026.

Transparency log

Security for fasthep-render 2026.11.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for fasthep_render-2026.11.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 Nov 2, 2026.

Transparency log

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