userpath
Cross-platform tool for adding locations to the user PATH
Install
userpath on PyPI
pip
pip install userpathuv
uv add userpathpoetry
poetry add userpathPackage facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — click |
| Maintenance | dormant — 896 days since the last release |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: userpath-1.9.2-py3-none-any.whl
Keywords: path, user path
About userpath
from the package's own PyPI description — quoted content, verbatim
userpath
| CI/CD | CI - Test (image) CD - Build (image) |
| Package | PyPI - Version (image) PyPI - Python Version (image) |
| Meta | License - MIT (image) GitHub Sponsors (image) |
This is a tool for modifying a user's PATH.
Table of Contents
Installation
pip install userpath
CLI
```console $ userpath -h Usage: userpath [OPTIONS] COMMAND [ARGS]...
Options:...
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
userpath modifies a user's PATH environment variable across platforms, providing both CLI and Python API methods to append, prepend, or verify locations in the user's PATH.
Low friction install with a single runtime dependency (click). Package is dormant—last release was 896 days ago—but supports Python 3.7–3.11 and PyPy, suggesting stable maintenance rather than active development.
MIT license permits unrestricted use, modification, and distribution with minimal obligations, making this suitable for both open-source and proprietary projects.
Usage
pip install userpath
import userpath
location = '/usr/local/myapp'
userpath.append(location)
if userpath.in_new_path(location):
print('Location added to PATH')
Modifying PATH requires appropriate file system permissions; shell restart may be needed for changes to take effect in the current session.
Verdict: userpath is a lightweight, permissively licensed tool for cross-platform PATH manipulation with no known vulnerabilities. Its dormant status and lack of recent activity are offset by broad Python version support and a simple, stable API. Suitable for scripting and tooling that needs to modify user PATH without external complications.
Needs verification
- Whether dormant status reflects intentional stability or abandonment risk over the next 12–24 months
- Compatibility with Python 3.12+ despite classifiers only listing through 3.11
- Whether shell restart requirement is automatic or manual on all supported platforms
Similar packages
permissive · top 100 on PyPI
hatchpermissive · top 1,000 on PyPI
ninjapermissive · top 1,000 on PyPI
hatch-vcspermissive · top 1,000 on PyPI
vcs-versioningpermissive · top 1,000 on PyPI
pipenvpermissive · top 1,000 on PyPI
griffepermissive · top 1,000 on PyPI
pywin32permissive · top 1,000 on PyPI
fastapipermissive · top 100 on PyPI
appdirspermissive · top 1,000 on PyPI