Comparison
path vs pathlib-mate vs pathlib2 vs pathmagic
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A module wrapper for os.path
Low maintenance activity. Last release 16 months ago, commits in 7 of the last 26 weeks. Weaker on recent releases and issue handling.
pip install pathAn extended and more powerful pathlib.
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pathlib-mateObject-oriented filesystem paths
Low maintenance activity. Last release over 4 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pathlib2Provides ORM path classes (File and Dir), which automatically emit file system IO operations upon having their attributes modified. File objects allow for easy content manipulation of many forms of files.
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install pathmagicIn short
- pathmagic looks abandoned: avoid it for new projects.
- pathlib2 is the most used: 3.9M downloads a month, 2.3× more than path.
- path is better maintained: Pythie’s Index 37 against 17.
- path is growing fastest: downloads +14% over the last month.
Side by side
| Metric | path | pathlib-mate | pathlib2 | pathmagic |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 37 | Pythie’s Index: 16 | Pythie’s Index: 17 | Pythie’s Index: 12 |
| Verdict | Low maintenance activity | Low maintenance activity | Low maintenance activity | Likely abandoned |
| Downloads / month | 1.7M | 1.1M | 3.9M | 339.8K |
| Downloads, month over month | +14% | -30% | +3% | -4% |
| GitHub stars | 1.1K | 9 | 86 | 1 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 106 | 29 | 220 | 5 |
| Last release | Jul 27, 2025 | Jan 22, 2024 | Feb 10, 2022 | Feb 1, 2021 |
| Releases, 12 months | 0 | 0 | 0 | 0 |
| Weeks with commits | 7 / 26 | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 7 | 1 | 7 | 1 |
| First release | Nov 2019 | Sep 2016 | Oct 2014 | Jul 2019 |
| Python versions | – | 3.7 – 3.12 | 3.5 – 3.9 | 3.8 |
| License | MIT | MIT | MIT | 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.