Comparison
igwn-segments vs intervaltree vs portion vs quicksectx
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Representations of semi-open intervals
Actively maintained. Last release 3 weeks ago. A safe choice.
pip install igwn-segmentsEditable interval tree data structure for Python 2 and 3
Low maintenance activity. Last release 11 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install intervaltreePython data structure and operations for intervals
Maintained. Last release 2 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install portionQuicksect is a fast python / cython implementation of interval search.
Low maintenance activity. Last release 15 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install quicksectxIn short
- intervaltree is the most used: 5.8M downloads a month, 2.7× more than portion.
- igwn-segments is better maintained: Pythie’s Index 74 against 31.
- intervaltree is growing fastest: downloads +14% over the last month.
- igwn-segments is the newcomer: first released Dec 2024.
Side by side
| Metric | igwn-segments | intervaltree | portion | quicksectx |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 74 | Pythie’s Index: 31 | Pythie’s Index: 55 | Pythie’s Index: 21 |
| Verdict | Actively maintained | Low maintenance activity | Maintained | Low maintenance activity |
| Downloads / month | 123.4K | 5.8M | 2.2M | 66.7K |
| Downloads, month over month | -2% | +14% | +9% | -5% |
| GitHub stars | – | 691 | 521 | 3 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 25 | 246 | 53 | 2 |
| Last release | Nov 12, 2026 | Dec 24, 2025 | Sep 29, 2026 | Aug 25, 2025 |
| Releases, 12 months | 2 | 1 | 2 | 0 |
| Weeks with commits | – | 0 / 26 | 4 / 26 | 0 / 26 |
| Recent contributors | – | 7 | 3 | 2 |
| First release | Dec 2024 | Dec 2014 | Mar 2020 | Dec 2019 |
| Python versions | 3.9 – 3.15 | 3.5 – 3.14 | 3.10 – 3.14 | – |
| License | GPL-3.0-or-later | Apache-2.0 | LGPL-3.0-or-later | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.