Skip to main content

coffea - Columnar Object Framework For Effective Analysis

https://zenodo.org/badge/159673139.svg https://github.com/CoffeaTeam/coffea/workflows/CI%2FCD/badge.svg https://codecov.io/gh/CoffeaTeam/coffea/branch/master/graph/badge.svg?event=schedule https://badge.fury.io/py/coffea.svg https://img.shields.io/pypi/dm/coffea.svg https://img.shields.io/conda/vn/conda-forge/coffea.svg https://badges.gitter.im/CoffeaTeam/coffea.svg https://mybinder.org/badge_logo.svg

Basic tools and wrappers for enabling not-too-alien syntax when running columnar Collider HEP analysis.

coffea is a prototype package for pulling together all the typical needs of a high-energy collider physics (HEP) experiment analysis using the scientific python ecosystem. It makes use of uproot and awkward-array to provide an array-based syntax for manipulating HEP event data in an efficient and numpythonic way. There are sub-packages that implement histogramming, plotting, and look-up table functionalities that are needed to convey scientific insight, apply transformations to data, and correct for discrepancies in Monte Carlo simulations compared to data.

coffea also supplies facilities for horizontally scaling an analysis in order to reduce time-to-insight in a way that is largely independent of the resource the analysis is being executed on. By making use of modern big-data technologies like Apache Spark, parsl, Dask , and Work Queue, it is possible with coffea to scale a HEP analysis from a testing on a laptop to: a large multi-core server, computing clusters, and super-computers without the need to alter or otherwise adapt the analysis code itself.

coffea is a HEP community project collaborating with iris-hep and is currently a prototype. We welcome input to improve its quality as we progress towards a sensible refactorization into the scientific python ecosystem and a first release. Please feel free to contribute at our github repo!

Installation

Install coffea like any other Python package:

pip install coffea

or similar (use sudo, --user, virtualenv, or pip-in-conda if you wish). For more details, see the Installing coffea section of the documentation.

Strict dependencies

The following are installed automatically when you install coffea with pip:

  • numpy (1.18+, below 2);

  • uproot for interacting with ROOT files and handling their data transparently;

  • awkward-array to manipulate complex-structured columnar data, such as jagged arrays;

  • numba just-in-time compilation of python functions;

  • scipy for many statistical functions;

  • matplotlib as a plotting backend;

  • and other utility packages, as enumerated in pyproject.toml.

Documentation

All documentation is hosted at https://coffea-hep.readthedocs.io/en/backports-v0.7.x/

Metadata

Release files for coffea 0.7.32

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

Source distribution (sdist)

Source distribution for coffea 0.7.32
File Size Uploaded Provenance Actions
coffea-0.7.32.tar.gz 698.5 kB With provenance Details for coffea-0.7.32.tar.gz

Built distribution (wheel)

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

Total release size: 927.9 kB

Release files / coffea-0.7.32.tar.gz

Download URL coffea-0.7.32.tar.gz
Size 698.5 kB
Tags Source
SHA-256 checksum
How to use checksums
eb74b8516c6001730cc734674a156408625734bc94a69d71a0d95b6ab124f433
BLAKE2b-256 checksum
How to use checksums
ac3927167b464fd6ff04d31e8d7f36628fa90e61b839b61eb17b186543adb1fd
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 Dec 4, 2026.

Transparency log

Release files / coffea-0.7.32-py3-none-any.whl

Download URL coffea-0.7.32-py3-none-any.whl
Size 229.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf15e03ed5a984768a2f6a4bf5b6c81ce2ecbbac5e0a64db5f08416efae31bfb
BLAKE2b-256 checksum
How to use checksums
a82ebb288252cddc6a47bc8d9ca6aac80ff3730eed10a554a1dc3a076f3e19b4
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 Dec 4, 2026.

Transparency log

Security for coffea 0.7.32

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for coffea-0.7.32.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 Dec 4, 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.

Release history Release notifications | RSS feed

This release

0.7.32 This release

2 release files Full provenance

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