igwn-segments
Representations of semi-open intervals
Decision gist · record as of 2026-08-14
Yes, if you work with semi-open intervals or time windows in scientific or data-analysis code. The package is stable, dependency-free, and widely used in gravitational-wave research. Install friction is moderate due to compiled wheels, but pre-built binaries exist for common platforms. The copyleft license is a blocker only if you need to distribute proprietary code; for internal or open-source use, it poses no barrier. Maintenance is aging (207 days since last release), so verify active support if you need ongoing updates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; compiled wheels available for Python 3.10–3.13 on macOS, Linux (x86_64, aarch64), and musl systems.
- Medium install friction due to compiled wheels across multiple platforms (Python 3.10–3.13, macOS, Linux variants, musl).
- Last release 207 days ago; maintenance status is aging but package is marked Production/Stable.
License · maintenance · safety
GPL-3.0-or-later (copyleft) — Licensed under GPL-3.0-or-later (copyleft). Any derivative work or bundled distribution must be released under compatible terms; proprietary or closed-source projects cannot use this without separate licensing.
last release 2026-01-19 (207 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 110,456 downloads/mo, #12,460 on PyPI
Alternatives
Verify before relying
pip install igwn-segments
from igwn_segments import segment, segmentlist
s = segment(0, 10)
sl = segmentlist([s])- Whether the package is actively maintained post-fork or in maintenance-only mode (repo metadata unavailable).
- Performance characteristics and scalability limits for large segmentlists.
- Specific use cases beyond gravitational-wave data analysis where this is commonly applied.
What it is and what it does
igwn-segments provides three core data structures—segment, segmentlist, and segmentlistdict—for working with semi-open intervals. It was forked in 2024 from ligo-segments and is designed to represent time windows or ranges, with built-in operations for combining, querying, and manipulating collections of intervals. The package has no runtime dependencies and is marked Production/Stable, supporting Python 3.9 through 3.14.
The library is primarily used in gravitational-wave physics and astronomy research, where time-interval representation is fundamental. It offers a clean API for interval arithmetic without requiring external dependencies, making it lightweight for projects that need interval logic without heavy computational overhead.
Use it for
- Represent and query detector uptime windows or data-quality segments in gravitational-wave observatories.
- Manage overlapping time intervals for event selection and filtering in physics data analysis.
- Combine or intersect multiple segmentlists to identify common valid time ranges across datasets.
- Store and retrieve interval metadata using segmentlistdict for labeled segment collections.
- Build interval-based filtering logic in scientific pipelines without external dependencies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with semi-open intervals or time windows in scientific or data-analysis code.
The package is stable, dependency-free, and widely used in gravitational-wave research. Install friction is moderate due to compiled wheels, but pre-built binaries exist for common platforms. The copyleft license is a blocker only if you need to distribute proprietary code; for internal or open-source use, it poses no barrier. Maintenance is aging (207 days since last release), so verify active support if you need ongoing updates.
Install
igwn-segments on PyPI
Before you install
Medium install friction due to compiled wheels across multiple platforms (Python 3.10–3.13, macOS, Linux variants, musl). Last release 207 days ago; maintenance status is aging but package is marked Production/Stable.
Requires Python 3.9 or later; compiled wheels available for Python 3.10–3.13 on macOS, Linux (x86_64, aarch64), and musl systems.
License in practice
Licensed under GPL-3.0-or-later (copyleft). Any derivative work or bundled distribution must be released under compatible terms; proprietary or closed-source projects cannot use this without separate licensing.
Quickstart
pip install igwn-segments
from igwn_segments import segment, segmentlist
s = segment(0, 10)
sl = segmentlist([s])
Verify before relying
- Whether the package is actively maintained post-fork or in maintenance-only mode (repo metadata unavailable).
- Performance characteristics and scalability limits for large segmentlists.
- Specific use cases beyond gravitational-wave data analysis where this is commonly applied.
Package facts
| License | GPL-3.0-or-later copyleft |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Aging 207 days since the last release |
| First released | |
| Downloads | 110,456 / month, #12,460 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: End Users/DesktopIntended Audience :: Science/ResearchLicense :: OSI Approved :: GNU General Public License v3 (GPLv3)Natural Language :: EnglishOperating System :: MacOSOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: AstronomyTopic :: Scientific/Engineering :: Physics |
Evidence: igwn_segments-2.1.1-cp310-cp310-macosx_13_0_x86_64.whl; igwn_segments-2.1.1-cp310-cp310-macosx_15_0_arm64.whl; igwn_segments-2.1.1-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; igwn_segments-2.1.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; igwn_segments-2.1.1-cp310-cp310-musllinux_1_2_aarch64.whl; igwn_segments-2.1.1-cp310-cp310-musllinux_1_2_x86_64.whl; igwn_segments-2.1.1-cp311-cp311-macosx_13_0_x86_64.whl; igwn_segments-2.1.1-cp311-cp311-macosx_15_0_arm64.whl; igwn_segments-2.1.1-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; igwn_segments-2.1.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; igwn_segments-2.1.1-cp311-cp311-musllinux_1_2_aarch64.whl; igwn_segments-2.1.1-cp311-cp311-musllinux_1_2_x86_64.whl; igwn_segments-2.1.1-cp312-cp312-macosx_12_0_arm64.whl; igwn_segments-2.1.1-cp312-cp312-macosx_13_0_x86_64.whl; igwn_segments-2.1.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; igwn_segments-2.1.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; igwn_segments-2.1.1-cp312-cp312-musllinux_1_2_aarch64.whl; igwn_segments-2.1.1-cp312-cp312-musllinux_1_2_x86_64.whl; igwn_segments-2.1.1-cp313-cp313-macosx_12_0_arm64.whl; igwn_segments-2.1.1-cp313-cp313-macosx_13_0_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “semi-open interval representation”
- igwn-segmentsProvides segment, segmentlist, and segmentlistdict objects for…
- nclsNCLS provides a fast interval overlap query data structure…
- portionportion provides data structures and operations for working with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also igwn-ligolw · lalsuite · intervals · portion · dttlib · lscsoft-glue · piecewise-regression · intervaltree · igwn-auth-utils · ncls