$npx skillfedfor your agent

userpath

Cross-platform tool for adding locations to the user PATH

With conditionsPyPI UtilitiesReleased Feb 202427.5M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — userpath-1.9.2-py3-none-any.whl
v1.9.2 · released 2024-02-29 · Python >=3.7 · 1 runtime deps: click

Yes, if you need to programmatically modify PATH in a cross-platform way and accept dormant maintenance. The package is stable, has no known vulnerabilities, and low install friction. However, the 897-day gap since the last release suggests it is no longer actively maintained; use it for straightforward PATH manipulation but do not expect updates for new Python versions or edge cases.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single runtime dependency (click).
  • Maintenance is dormant—last release was 897 days ago—but the package is stable and supports current Python versions (3.7 through 3.11).

License · maintenance · safety

permissive license (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

last release 2024-02-29 (897 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 27,451,531 downloads/mo, #859 on PyPI

Verify before relying

pip install userpath

import userpath

location = '/usr/local/bin'
if userpath.append(location):
    print('Added to PATH')
if userpath.need_shell_restart(location):
    print('Shell restart required')
  • Whether the package correctly handles PATH modifications on all supported operating systems (Windows, macOS, Linux).
  • Current state of the GitHub repository and whether dormancy indicates abandonment or stable maintenance.
Same gist for agents: .md · .json

What it is and what it does

userpath is a cross-platform library and CLI tool for programmatically modifying a user's PATH environment variable. It provides functions to append or prepend directories to PATH, check whether a location is already in the current or new PATH, and detect whether a shell restart is needed for changes to take effect. The package wraps platform-specific PATH manipulation logic behind a unified API, reducing the complexity of handling PATH edits in Python scripts and tools that need to register themselves in the user's executable search path.

The package exposes both a command-line interface (with append, prepend, and verify commands) and a Python API. It depends only on click for CLI handling, making it lightweight. It supports Python 3.7 through 3.11 on CPython and PyPy, and is classified as Beta-status software.

Use it for

  • Installer scripts that need to add a tool's binary directory to the user's PATH after installation.
  • Development environment setup tools that register custom command-line utilities in the shell's search path.
  • Verification utilities that check whether required executables are accessible in the current PATH.
  • Post-install hooks in package managers or build tools that need to update PATH without manual user intervention.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to programmatically modify PATH in a cross-platform way and accept dormant maintenance.

The package is stable, has no known vulnerabilities, and low install friction. However, the 897-day gap since the last release suggests it is no longer actively maintained; use it for straightforward PATH manipulation but do not expect updates for new Python versions or edge cases.

Install

userpath on PyPI

Before you install

Low install friction with a single runtime dependency (click). Maintenance is dormant—last release was 897 days ago—but the package is stable and supports current Python versions (3.7 through 3.11).

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install userpath

import userpath

location = '/usr/local/bin'
if userpath.append(location):
    print('Added to PATH')
if userpath.need_shell_restart(location):
    print('Shell restart required')

Verify before relying

  • Whether the package correctly handles PATH modifications on all supported operating systems (Windows, macOS, Linux).
  • Current state of the GitHub repository and whether dormancy indicates abandonment or stable maintenance.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
click
MaintenanceDormant 897 days since the last release
First released
Downloads27,451,531 / month, #859 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: userpath-1.9.2-py3-none-any.whl

Tags

Capabilities
add directory to PATHmodify user PATH environmentPATH management toolappend to system PATHcross-platform PATH modification
Topics
environment-setupcli-tool
PyPI keywords
pathuser path

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 › “add directory to PATH”

  • userpathModifies a user's PATH environment variable by appending or…
  • locateProvides utilities to locate the current Python file's directory and…
  • pathProvides Path objects that wrap filesystem operations as methods,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also find-exe · dep-sync · hatch · hatch-vcs · msgspec-click · dda · mozprofile · ninja · cmake · hatchling