Comparison
intervaltree vs portion
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Editable 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 portionIn short
- intervaltree is the most used: 5.8M downloads a month, 2.7× more than portion.
- portion is better maintained: Pythie’s Index 55 against 31.
- intervaltree is growing fastest: downloads +14% over the last month.
Side by side
| Metric | intervaltree | portion |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 31 | Pythie’s Index: 55 |
| Verdict | Low maintenance activity | Maintained |
| Downloads / month | 5.8M | 2.2M |
| Downloads, month over month | +14% | +9% |
| GitHub stars | 691 | 521 |
| Stars, last 7 days | – | – |
| Direct dependents | 246 | 53 |
| Last release | Dec 24, 2025 | Sep 29, 2026 |
| Releases, 12 months | 1 | 2 |
| Weeks with commits | 0 / 26 | 4 / 26 |
| Recent contributors | 7 | 3 |
| First release | Dec 2014 | Mar 2020 |
| Python versions | 3.5 – 3.14 | 3.10 – 3.14 |
| License | Apache-2.0 | LGPL-3.0-or-later |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.