Overview
Batchee is a Python package that intelligently groups filenames together, enabling efficient batch operations like concatenation.
What does it do?
Batchee analyzes filename patterns and groups related files together. For example (note that these are pseudo-real, not actual, TEMPO file names):
batchee TEMPO_NO2_L2_S006G01.nc TEMPO_NO2_L2_S006G02.nc TEMPO_NO2_L2_S007G08.nc TEMPO_NO2_L2_S007G09.nc
Output:
TEMPO_NO2_L2_S006G01.nc,TEMPO_NO2_L2_S006G02.nc→ Group 1 (scan 6)TEMPO_NO2_L2_S007G08.nc,TEMPO_NO2_L2_S007G09.nc→ Group 2 (scan 7)
This enables batch processing operations on each group separately.
Key Features
- Automatic filename grouping based on configurable patterns
- Command-line interface and Python API for integration with NASA Harmony service orchestrator
- Verbose logging for debugging
Installation
From PyPI (Recommended)
pip install batchee
From Source (Development)
For local development or the latest features:
git clone <Repository URL>
cd batchee
(Option A) using uv (Recommended for development):
# Install uv: https://docs.astral.sh/uv/getting-started/installation/
uv sync
(Option B) using pip:
pip install .
Usage
Basic Usage
batchee [file_names ...]
With uv (if installed via uv)
uv run batchee [file_names ...]
Options
-h, --help- Show help message and exit-v, --verbose- Enable verbose output to stdout; useful for debugging
Contributing
Issues and pull requests welcome on GitHub.
License & Attribution
Batchee is released under the Apache License 2.0.
This package is NASA Software Release Authorization (SRA) # LAR-20440-1
Metadata
Release files for batchee 1.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| batchee-1.5.3.tar.gz | 62.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| batchee-1.5.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 82.1 kB
Release files / batchee-1.5.3.tar.gz
| Download URL | batchee-1.5.3.tar.gz |
|---|---|
| Size | 62.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a9ff5ccba4462b52145b5d13a60443d87d4a6513a35d110f24bb727b7aba11d
|
|
BLAKE2b-256 checksum How to use checksums |
4d50f521301327a6c2764b70a0adbf94c56a96e2aaa672777378c2292dd13c2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 14, 2026.
Transparency logRelease files / batchee-1.5.3-py3-none-any.whl
| Download URL | batchee-1.5.3-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af0fdd392e1d542e86e5c67c0c57963a789eafecd65ec2dc6958499718dddeda
|
|
BLAKE2b-256 checksum How to use checksums |
0f7f6af22b6985df504c5fc52af649d43e4eacc0ea31d6423703e2e7439304c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 14, 2026.
Transparency log