trollsift
String parser/formatter
What it is and what it does
Trollsift is a utility library for working with satellite granule file names—the standardized naming conventions used to identify and organize satellite data products. It provides parsing, formatting, and filtering capabilities to extract metadata from file names and generate compliant names according to satellite data standards. The package is part of the pytroll ecosystem and targets scientists and engineers working with satellite imagery and remote sensing data.
The library has no external runtime dependencies, making it lightweight to integrate into data processing pipelines. It requires Python >=3.9 and is classified as production-stable. With permissive Apache-2.0 licensing and active maintenance, it is suitable for both research and operational satellite data workflows.
Use it for:
- Extract metadata from satellite granule filenames for data cataloging and organization
- Generate standardized satellite product filenames that comply with naming conventions
- Filter collections of satellite data files by pattern to select specific instruments or time periods
- Validate satellite granule filenames against expected naming patterns in data pipelines
- Integrate filename handling into pytroll-based satellite data processing workflows
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Trollsift provides modules for parsing, formatting, and filtering satellite granule file names according to structured patterns.
Yes. Trollsift is a stable, lightweight utility with no dependencies, permissive licensing, and active maintenance. Install it if you work with satellite granule data and need to parse, format, or filter filenames according to satellite naming standards. The zero-dependency design makes integration low-risk.
Install
trollsift on PyPI
pip
pip install trollsiftuv
uv add trollsiftpoetry
poetry add trollsiftInstalling trollsift
Before you install
Low install friction with no runtime dependencies. Active maintenance status with a recent release.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install trollsift
import trollsift
# Parse a satellite granule filename using trollsift's parsing modules
Requires Python >=3.9
Verify before relying
- Whether the package handles real-world satellite naming conventions beyond basic pattern matching
- Performance characteristics when filtering large numbers of granule filenames
- Integration points with other pytroll ecosystem packages
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 74 days since the last release |
| First released | |
| Downloads | 82,071/month — #14,186 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: trollsift-1.0.1-py3-none-any.whl
Keywords: pytroll, string formatting, string parsing
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
trollimageTrollimage provides image processing and…
permissive · top 15,000 on PyPI
pyorbitalPyorbital computes orbital parameters from TLE…
permissive · top 15,000 on PyPI
confuConfu validates and generates configuration…
permissive · top 15,000 on PyPI
pystac-ext-satExtends PySTAC to handle satellite-specific…
permissive · top 5,000 on PyPI
mungeMunge is a data manipulation library and…
permissive · top 15,000 on PyPI
wheel-filenameParse and validate wheel filenames according to…
permissive · top 15,000 on PyPI
stringparserExtracts values from strings using…
permissive · top 15,000 on PyPI
mkdocs-excludeA mkdocs plugin that excludes files and…
permissive · top 15,000 on PyPI
gibberish-detectorDetects whether strings are gibberish or valid…
permissive · top 15,000 on PyPI
sanitize-filenameRemoves or replaces problematic characters from…
permissive · top 15,000 on PyPI