{ "info": { "author": "Ofek Lev", "author_email": "ofekmeister@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "userpath\n========\n\n.. image:: https://img.shields.io/pypi/v/adduserpath.svg?style=flat-square\n :target: https://pypi.org/project/adduserpath\n :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/travis/ofek/userpath/master.svg?style=flat-square\n :target: https://travis-ci.org/ofek/userpath\n :alt: Travis CI\n\n.. image:: https://img.shields.io/appveyor/ci/ofek/userpath/master.svg?style=flat-square\n :target: https://ci.appveyor.com/project/ofek/userpath\n :alt: AppVeyor CI\n\n.. image:: https://img.shields.io/pypi/pyversions/adduserpath.svg?style=flat-square\n :target: https://pypi.org/project/adduserpath\n :alt: Supported Python versions\n\n.. image:: https://img.shields.io/pypi/l/adduserpath.svg?style=flat-square\n :target: https://choosealicense.com/licenses\n :alt: License\n\n-----\n\nEver wanted to release a cool new app but found it difficult to add its\nlocation to PATH for users? Me too! This tool does that for you on all\nmajor operating systems and does not require elevated privileges!\n\n **Fear not, this only modifies the user PATH; the system PATH is never\n touched nor even looked at!**\n\n.. contents:: **Table of Contents**\n :backlinks: none\n\nInstallation\n------------\n\nadduserpath is distributed on `PyPI `_ as a universal\nwheel and is available on Linux/macOS and Windows and supports\nPython 2.6-2.7/3.3+ and PyPy.\n\n.. code-block:: bash\n\n $ pip install adduserpath\n\nCommands\n--------\n\nOnly 3!\n\n.. code-block:: bash\n\n $ userpath -h\n Usage: userpath [OPTIONS] COMMAND [ARGS]...\n\n Options:\n --version Show the version and exit.\n -h, --help Show this message and exit.\n\n Commands:\n append Appends to the user PATH\n prepend Prepends to the user PATH\n verify Checks if locations are in the user PATH\n\n.. image:: https://raw.githubusercontent.com/ofek/visuals/master/userpath/lt.PNG\n :alt: Example run\n\nAPI\n---\n\n.. code-block:: python\n\n >>> import userpath\n >>> location = r'C:\\Users\\Ofek\\Desktop\\test'\n >>>\n >>> userpath.in_current_path(location)\n False\n >>> userpath.in_new_path(location)\n False\n >>> userpath.append(location)\n True\n >>> userpath.in_new_path(location)\n True\n >>> userpath.need_shell_restart(location)\n True\n\nLicense\n-------\n\nuserpath is distributed under the terms of both\n\n- `MIT License `_\n- `Apache License, Version 2.0 `_\n\nat your option.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ofek/userpath", "keywords": "scripts,user path,path,cli", "license": "MIT/Apache-2.0", "maintainer": "", "maintainer_email": "", "name": "adduserpath", "package_url": "https://pypi.org/project/adduserpath/", "platform": "", "project_url": "https://pypi.org/project/adduserpath/", "project_urls": { "Homepage": "https://github.com/ofek/userpath" }, "release_url": "https://pypi.org/project/adduserpath/0.4.0/", "requires_dist": [ "click" ], "requires_python": "", "summary": "Cross-platform tool for adding locations to the user PATH, no sudo/runas required!", "version": "0.4.0" }, "last_serial": 3210416, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "bc3cb43e4a5eb56bf09810dec515965e", "sha256": "8f5dae97f4ba0a2c29d24c0675da5192affd074a6e1c34de4b669d639e563f02" }, "downloads": -1, "filename": "adduserpath-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bc3cb43e4a5eb56bf09810dec515965e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7914, "upload_time": "2017-09-21T03:57:49", "url": "https://files.pythonhosted.org/packages/b8/79/15c55e0d76aaaceccd247311e36c1fbdfd0c30212f60fe0089cd7553a203/adduserpath-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5fa2ea7202a565396bc90f029faeb2d4", "sha256": "14695a038d9e4d3bb104d8e43844834d90c62126c3837959380c881254894d3c" }, "downloads": -1, "filename": "adduserpath-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5fa2ea7202a565396bc90f029faeb2d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9164, "upload_time": "2017-09-21T03:57:51", "url": "https://files.pythonhosted.org/packages/03/a7/7a42e1e5c5f621696a38e5047c3b6dd2dbd9675e73f193a089ee71393a55/adduserpath-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "2177ac96ce840157f114be218aace680", "sha256": "0f587af64eb3b22ec1dfd3522c17c3881d8c8d46793a92fceed36fa000547919" }, "downloads": -1, "filename": "adduserpath-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2177ac96ce840157f114be218aace680", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8121, "upload_time": "2017-09-26T02:42:37", "url": "https://files.pythonhosted.org/packages/a1/ca/459e43b7571a69301097c0025682457da8c1da66e201551b378c58e98c3c/adduserpath-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7e0f0d791f06e4fd730e1ad1651a03fa", "sha256": "aac966b361850007c075dd5ac5349ce4b81c13fe5c686cd59443b655fa354473" }, "downloads": -1, "filename": "adduserpath-0.3.0.tar.gz", "has_sig": false, "md5_digest": "7e0f0d791f06e4fd730e1ad1651a03fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9345, "upload_time": "2017-09-26T02:42:39", "url": "https://files.pythonhosted.org/packages/61/9e/1d8f0401ee668b7645fbca865b2650789e97f6f7bf60534da32baf17b0cc/adduserpath-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "6f7be9ef96db27c847f8325ba20a0cb5", "sha256": "3494c0a58b8792c05feccfc3a4d3aee6b02ce469dab33798b4eae7622f631d7d" }, "downloads": -1, "filename": "adduserpath-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6f7be9ef96db27c847f8325ba20a0cb5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8134, "upload_time": "2017-09-28T15:08:06", "url": "https://files.pythonhosted.org/packages/e8/53/3035ff330183156e93295f5e83735ae1626ad38e215fdf837fe20ba0fab0/adduserpath-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cb1cf1377ed08f19ceecea93bf556a07", "sha256": "d12612a529028a2bda79f5111eab6ba4b787625b3fd8958f47ac9371ea9a76dc" }, "downloads": -1, "filename": "adduserpath-0.4.0.tar.gz", "has_sig": false, "md5_digest": "cb1cf1377ed08f19ceecea93bf556a07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9354, "upload_time": "2017-09-28T15:08:07", "url": "https://files.pythonhosted.org/packages/ad/cb/50f2be266f19130308cd705a3556f1d06220a5ca60a446c496a485b12726/adduserpath-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6f7be9ef96db27c847f8325ba20a0cb5", "sha256": "3494c0a58b8792c05feccfc3a4d3aee6b02ce469dab33798b4eae7622f631d7d" }, "downloads": -1, "filename": "adduserpath-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6f7be9ef96db27c847f8325ba20a0cb5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8134, "upload_time": "2017-09-28T15:08:06", "url": "https://files.pythonhosted.org/packages/e8/53/3035ff330183156e93295f5e83735ae1626ad38e215fdf837fe20ba0fab0/adduserpath-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cb1cf1377ed08f19ceecea93bf556a07", "sha256": "d12612a529028a2bda79f5111eab6ba4b787625b3fd8958f47ac9371ea9a76dc" }, "downloads": -1, "filename": "adduserpath-0.4.0.tar.gz", "has_sig": false, "md5_digest": "cb1cf1377ed08f19ceecea93bf556a07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9354, "upload_time": "2017-09-28T15:08:07", "url": "https://files.pythonhosted.org/packages/ad/cb/50f2be266f19130308cd705a3556f1d06220a5ca60a446c496a485b12726/adduserpath-0.4.0.tar.gz" } ] }