Skip to main content

SciHist

Batch execution utilities for data pipelines.

Provides utilities for running functions over combinations of metadata, automatically loading inputs and saving outputs.

Usage

from scihist import for_each, Fixed

for_each(
    process_data,
    inputs={"raw": RawData, "calibration": Fixed(Calibration, session="baseline")},
    outputs=[ProcessedData],
    subject=[1, 2, 3],
    session=["A", "B", "C"],
)

for_each

Executes a function for all combinations of metadata, loading inputs and saving outputs automatically.

Fixed

Wrapper to specify fixed metadata overrides for an input. Use when an input should be loaded with different metadata than the current iteration.

# Always load baseline from session="BL", regardless of current session
for_each(
    compare_to_baseline,
    inputs={
        "baseline": Fixed(StepLength, session="BL"),
        "current": StepLength,
    },
    outputs=[Delta],
    subject=[1, 2, 3],
    session=["A", "B", "C"],
)

Download files

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

Source Distribution

scihist-0.1.14.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

scihist-0.1.14-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file scihist-0.1.14.tar.gz.

File metadata

  • Download URL: scihist-0.1.14.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for scihist-0.1.14.tar.gz
Algorithm Hash digest
SHA256 cc266b0d89e62fe60ace4600c6eba7e102906f36a70f74bcf46af05e6abb7527
MD5 75570e358df99bc9f87ef6d7c1d8b757
BLAKE2b-256 d6a2b9b76ea5f0a7fe1014bb8d2ccde8cc6575239e36df299ba8b7c3e79c9b97

See more details on using hashes here.

Provenance

The following attestation bundles were made for scihist-0.1.14.tar.gz:

Publisher: publish.yml on mtillman14/scistack

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

File details

Details for the file scihist-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: scihist-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for scihist-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 fd888862565a8d22b386c729155e924ae2199cfd6ffce3a6798e8ec01e49121b
MD5 f0cf5a05e8ff2b6abe1a07f144631d34
BLAKE2b-256 d71ab6871d2fae497c9dbc7c7a5c5f203377a24ae0abfa6a08b4dd355dd1b8bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for scihist-0.1.14-py3-none-any.whl:

Publisher: publish.yml on mtillman14/scistack

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

Release history Release notifications | RSS feed

0.1.29

2 files

0.1.28

2 files

0.1.26

2 files

0.1.21

2 files

0.1.20

2 files

0.1.19

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

This release

0.1.14 This release

2 files

0.1.13

2 files

0.1.11

2 files

0.1.10

2 files

0.1.0

2 files

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