userpath
| CI/CD | |
| Package | |
| Meta |
This is a tool for modifying a user's PATH.
Table of Contents
Installation
pip install userpath
CLI
$ 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
>>> 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 license.
Release files for userpath 1.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| userpath-1.9.2.tar.gz | 11.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| userpath-1.9.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.2 kB
Release files / userpath-1.9.2.tar.gz
| Download URL | userpath-1.9.2.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c52288dab069257cc831846d15d48133522455d4677ee69a9781f11dbefd815
|
|
BLAKE2b-256 checksum How to use checksums |
d5b730753098208505d7ff9be5b3a32112fb8a4cb3ddfccbbb7ba9973f2e29ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Release files / userpath-1.9.2-py3-none-any.whl
| Download URL | userpath-1.9.2-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2cbf01a23d655a1ff8fc166dfb78da1b641d1ceabf0fe5f970767d380b14e89d
|
|
BLAKE2b-256 checksum How to use checksums |
43993ec6335ded5b88c2f7ed25c56ffd952546f7ed007ffb1e1539dc3b57015a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|