skillfed

trollsift

String parser/formatter

trollsift v1.0.1 82.1K downloads/30d#14,186 on PyPI
Permissive license Apache-2.0 Active released

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 trollsift

uv

uv add trollsift

poetry

poetry add trollsift

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: PythonTopic :: Scientific/EngineeringTyping :: Typed

Tags

satellite filename parsinggranule name formattingstring pattern matching satellite datapytroll string utilitiesfilename filter satellitegranule metadata extractionsatellite data naming conventions
satellite-datapytrollfilename-parsing

More Scientific/Engineering packages