--- id: trollsift version: "1.0.1" license: Apache-2.0 license_treatment: permissive maintenance: active --- # trollsift — String parser/formatter License: permissive · Maintenance: active · Downloads: 82.1K/mo ## 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 above — 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 pip install trollsift uv add trollsift 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_current - Install friction: low - Maintenance: active - Downloads: 82.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags satellite filename parsing, granule name formatting, string pattern matching satellite data, pytroll string utilities, filename filter satellite, granule metadata extraction, satellite data naming conventions, satellite-data, pytroll, filename-parsing [View on SkillFed](https://skillfed.io/packages/trollsift) · [View on PyPI](https://pypi.org/project/trollsift/)