freshcrate
Skin:/
Home > Frameworks > userpath

userpath

Cross-platform tool for adding locations to the user PATH

Why this rank:Release freshnessHealthy release cadence

Description

# userpath | | | | --- | --- | | CI/CD | [![CI - Test](https://github.com/ofek/userpath/actions/workflows/test.yml/badge.svg)](https://github.com/ofek/userpath/actions/workflows/test.yml) [![CD - Build](https://github.com/ofek/userpath/actions/workflows/build.yml/badge.svg)](https://github.com/ofek/userpath/actions/workflows/build.yml) | | Package | [![PyPI - Version](https://img.shields.io/pypi/v/userpath.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/userpath/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/userpath.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/userpath/) | | Meta | [![License - MIT](https://img.shields.io/badge/license-MIT-9400d3.svg)](https://spdx.org/licenses/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/ofek?logo=GitHub%20Sponsors&style=social)](https://github.com/sponsors/ofek) | ----- This is a tool for modifying a user's `PATH`. **Table of Contents** - [Installation](#installation) - [CLI](#cli) - [API](#api) - [License](#license) ## Installation ```console pip install userpath ``` ## CLI ```console $ userpath -h Usage: userpath [OPTIONS] COMMAND [ARGS]... Options: --version Show the version and exit. -h, --help Show this message and exit. Commands: append Appends to the user PATH prepend Prepends to the user PATH verify Checks if locations are in the user PATH ``` ## API ```pycon >>> import userpath >>> location = r'C:\Users\Ofek\Desktop\test' >>> >>> userpath.in_current_path(location) False >>> userpath.in_new_path(location) False >>> userpath.append(location) True >>> userpath.in_new_path(location) True >>> userpath.need_shell_restart(location) True ``` ## License `userpath` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.

Release History

VersionChangesUrgencyDate
1.9.2Imported from PyPI (1.9.2)Low4/21/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

pyodpsODPS Python SDK and data analysis frameworkv0.13.2
cadwynProduction-ready community-driven modern Stripe-like API versioning in FastAPI7.3.0
boxsdkOfficial Box Python SDKv10.15.0
toxtox is a generic virtualenv management and test command line tool4.61.4
schemathesisProperty-based testing framework for Open API and GraphQL based appsv4.26.1

More from pypi

markitdownUtility tool for converting various files to Markdown
fastapiFastAPI framework, high performance, easy to learn, fast to code, ready for production
djangoA high-level Python web framework that encourages rapid development and clean, pragmatic design.
flaskA simple framework for building complex web applications.

More in Frameworks

onnxruntimeONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
bamlThe AI framework that adds the engineering to prompt engineering (Python/TS/Ruby/Java/C#/Rust/Go compatible)
pyodpsODPS Python SDK and data analysis framework
DrasilGenerate all the things (focusing on research software)