Skip to main content

fasthep-curator

CI PyPI Python Versions Documentation Status Discussions

FAST-HEP

fasthep-curator provides dataset inspection, metadata extraction, validation, and schema generation utilities for FAST-HEP workflows.

The Python import namespace is:

import fasthep_curator

Scope

fasthep-curator is responsible for:

  • dataset inspection
  • branch discovery
  • schema generation
  • metadata extraction
  • validation helpers
  • workflow diagnostics
  • runtime error reporting helpers
  • caching of inspection artifacts

It is the dataset and metadata management layer of the FAST-HEP ecosystem.

Relationship to fasthep-flow

fasthep-flow provides:

  • workflow compilation
  • orchestration
  • execution planning
  • backend interfaces

fasthep-curator provides:

  • dataset metadata
  • source schemas
  • validation utilities
  • dataset inspection tooling
  • diagnostics and reporting helpers

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

Recommended companion packages

  • fasthep-flow

    • workflow language and execution engine
  • fasthep-carpenter

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

    • plotting
    • tables
    • reports
  • fasthep-cli

    • the unified fasthep command-line interface

Alternatively, install the meta package:

pip install fasthep

Installation

Install directly:

pip install fasthep-curator

Development environment:

pixi install
pixi run ci

Minimal example

Example dataset inspection:

datasets:
  DYJets:
    files:
      - /data/example.root
    source:
      type: root_tree
      tree: Events

Example metadata artifact:

source_schema:
  events:
    pt: float
    eta: float
    phi: float

ROOT Schema Inspection

Curator provides the reusable Python schema-inspection API. Command-line access is exposed through the central FAST-HEP CLI.

Inspect a ROOT TTree interactively:

fasthep inspect schema input.root --tree Events

The default output is a readable table with field name, logical dtype, shape, and ROOT storage type.

Extract a pasteable YAML list for keep: or drop: workflow parameters:

fasthep inspect schema input.root \
  --tree Events \
  --include 'GenJet*' \
  --include 'GenMET*' \
  --include 'Generator_*' \
  --format yaml-list

Generate a starter hep.align_schema document:

fasthep inspect schema input.root \
  --tree Events \
  --include 'GenJetAK8_*' \
  --format alignment

Field filters use shell-style glob matching. Repeated --include options are unioned in source field order; repeated --exclude options remove matches after includes:

fasthep inspect schema input.root \
  --tree Events \
  --include 'Gen*' \
  --exclude 'GenPart_*'

The same inspection implementation is available from Python:

from fasthep_curator.api import inspect_root_tree_schema

schema = inspect_root_tree_schema("input.root", tree="Events")

Design principles

fasthep-curator focuses on:

  • reproducible metadata
  • reusable inspection artifacts
  • declarative validation
  • cached schema discovery
  • workflow diagnostics
  • experiment-agnostic interfaces where possible

The package intentionally separates dataset/metadata management from workflow orchestration and analysis execution.

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 prototype implementations are preserved in legacy repositories and branches.

The current repository contains the split-package FAST-HEP architecture.

Status

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

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fasthep_curator-2026.8.1.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fasthep_curator-2026.8.1-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file fasthep_curator-2026.8.1.tar.gz.

File metadata

  • Download URL: fasthep_curator-2026.8.1.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fasthep_curator-2026.8.1.tar.gz
Algorithm Hash digest
SHA256 41e6b070a31376efd6093ce837cae50d8f9272d24a3e28881a1797da32c17179
MD5 21b23af7cc4d9f29a9fcc2d0d8d14d41
BLAKE2b-256 48bf7ff441d4513cdf6e2b648c3a9b050c540a89ca564ed5ffa09327374d5943

See more details on using hashes here.

Provenance

The following attestation bundles were made for fasthep_curator-2026.8.1.tar.gz:

Publisher: cd.yml on FAST-HEP/fasthep-curator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fasthep_curator-2026.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fasthep_curator-2026.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2fb4c8addfc95fd76bd0f8c27d4abba21f39aeb951ee535054e0e243fbc817c7
MD5 9e7cbc424d15fc656a72e4c4d7e25e08
BLAKE2b-256 6342bf82b4208db8a116a80abd70488225a620bbc7c908ca8a3cdc9bb3dff2cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for fasthep_curator-2026.8.1-py3-none-any.whl:

Publisher: cd.yml on FAST-HEP/fasthep-curator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page