{ "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.7", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "userpath\n========\n\n.. image:: https://img.shields.io/travis/ofek/userpath/master.svg?logo=travis&label=Travis%20CI\n :target: https://travis-ci.org/ofek/userpath\n :alt: CI - Travis\n\n.. image:: https://img.shields.io/appveyor/ci/ofek/userpath/master.svg?logo=appveyor&label=AppVeyor\n :target: https://ci.appveyor.com/project/ofek/userpath\n :alt: CI - AppVeyor\n\n.. image:: https://img.shields.io/codecov/c/github/ofek/userpath/master.svg?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNDgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CgogPGc+CiAgPHRpdGxlPmJhY2tncm91bmQ8L3RpdGxlPgogIDxyZWN0IGZpbGw9Im5vbmUiIGlkPSJjYW52YXNfYmFja2dyb3VuZCIgaGVpZ2h0PSI0MDIiIHdpZHRoPSI1ODIiIHk9Ii0xIiB4PSItMSIvPgogPC9nPgogPGc+CiAgPHRpdGxlPkxheWVyIDE8L3RpdGxlPgogIDxwYXRoIGlkPSJzdmdfMSIgZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSIjZmZmZmZmIiBkPSJtMjUuMDE0LDBjLTEzLjc4NCwwLjAxIC0yNS4wMDQsMTEuMTQ5IC0yNS4wMTQsMjQuODMybDAsMC4wNjJsNC4yNTQsMi40ODJsMC4wNTgsLTAuMDM5YTEyLjIzOCwxMi4yMzggMCAwIDEgOS4wNzgsLTEuOTI4YTExLjg0NCwxMS44NDQgMCAwIDEgNS45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MTI2LDAuMjE3Yy0wLjE4NCwwLjMxOCAtMC4zNDgsMC42MjIgLTAuNDg3LDAuOWwtMC4wMzMsMC4wNjFjLTAuMzU0LDAuNzExIC0wLjY2MSwxLjQ1NSAtMC45MTcsMi4yMTRsLTAuMDM2LDAuMTExYTE3LjEzLDE3LjEzIDAgMCAwIC0wLjg1NSw1LjY0NGwwLjAwMywwLjIzNGEyMy41NjUsMjMuNTY1IDAgMCAwIDAuMDQzLDAuODIyYzAuMDEsMC4xMyAwLjAyMywwLjI1OSAwLjAzNiwwLjM4OGMwLjAxNSwwLjE1OCAwLjAzNCwwLjMxNiAwLjA1MywwLjQ3MWwwLjAxMSwwLjA4OGwwLjAyOCwwLjIxNGMwLjAzNywwLjI2NCAwLjA4LDAuNTI1IDAuMTMsMC43ODdjMC41MDMsMi42MzcgMS43Niw1LjI3NCAzLjYzNSw3LjYyNWwwLjA4NSwwLjEwNmwwLjA4NywtMC4xMDRjMC43NDgsLTAuODg0IDIuNjAzLC0zLjY4NyAyLjc2LC01LjM2OWwwLjAwMywtMC4wMzFsLTAuMDE1LC0wLjAyOGExMS43MzYsMTEuNzM2IDAgMCAxIC0xLjMzMywtNS40MDdjMCwtNi4yODQgNC45NCwtMTEuNTAyIDExLjI0MywtMTEuODhsMC40MTQsLTAuMDE1YzIuNTYxLC0wLjA1OCA1LjA2NCwwLjY3MyA3LjIzLDIuMTM2bDAuMDU4LDAuMDM5bDQuMTk3LC0yLjQ0bDAuMDU1LC0wLjAzM2wwLC0wLjA2MmMwLjAwNiwtNi42MzIgLTIuNTkyLC0xMi44NjUgLTcuMzE0LC0xNy41NTFjLTQuNzE2LC00LjY3OSAtMTAuOTkxLC03LjI1NSAtMTcuNjcyLC03LjI1NSIvPgogPC9nPgo8L3N2Zz4=&label=Codecov\n :target: https://codecov.io/github/ofek/userpath?branch=master\n :alt: Codecov\n\n|\n\n.. image:: https://img.shields.io/pypi/pyversions/userpath.svg?logo=python&label=Python&logoColor=gold\n :target: https://pypi.org/project/userpath\n :alt: PyPI - Supported Python versions\n\n.. image:: https://img.shields.io/pypi/v/userpath.svg?logo=python&label=PyPI&logoColor=gold\n :target: https://pypi.org/project/userpath\n :alt: PyPI - Version\n\n.. image:: https://img.shields.io/pypi/dm/userpath.svg?color=blue&label=Downloads&logo=python&logoColor=gold\n :target: https://pypi.org/project/userpath\n :alt: PyPI - Downloads\n\n|\n\n.. image:: https://img.shields.io/badge/License-MIT%2FApache--2.0-9400d3.svg\n :target: https://choosealicense.com/licenses\n :alt: License: MIT/Apache-2.0\n\n.. image:: https://img.shields.io/badge/say-thanks-ff69b4.svg\n :target: https://saythanks.io/to/ofek\n :alt: Say Thanks\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\nuserpath is distributed on `PyPI `_ as a universal\nwheel and is available on Linux/macOS and Windows and supports\nPython 2.7/3.6+ and PyPy.\n::\n\n $ pip install userpath\n\nCommands\n--------\n\nOnly 3!\n::\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\nHistory\n-------\n\nImportant changes are emphasized.\n\n1.3.0\n^^^^^\n\n- Only require the dependency ``distro`` on Linux\n- Ship tests with source distributions\n\n1.2.0\n^^^^^\n\n- Added support for shell auto-detection and selection\n\n1.1.0\n^^^^^\n\n- First public stable release\n\nView `all history `_\n\n\n", "description_content_type": "", "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 OR Apache-2.0", "maintainer": "Ofek Lev", "maintainer_email": "ofekmeister@gmail.com", "name": "userpath", "package_url": "https://pypi.org/project/userpath/", "platform": "", "project_url": "https://pypi.org/project/userpath/", "project_urls": { "Homepage": "https://github.com/ofek/userpath" }, "release_url": "https://pypi.org/project/userpath/1.3.0/", "requires_dist": [ "click", "distro ; platform_system == \"Linux\"" ], "requires_python": "", "summary": "Cross-platform tool for adding locations to the user PATH, no elevated privileges required!", "version": "1.3.0" }, "last_serial": 6002886, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "6e4d3fcdbce146d629d1aa93a77930ef", "sha256": "f6cfd9766bce164e3d3ae6854201d49c62494bca212e7527bf099b0aa043440c" }, "downloads": -1, "filename": "userpath-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6e4d3fcdbce146d629d1aa93a77930ef", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6027, "upload_time": "2018-05-15T20:38:22", "url": "https://files.pythonhosted.org/packages/83/42/0d959aafc959fc3a02eaed8bd0287256063b68d4f02d35f7156aa0b65bb3/userpath-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "41db0167dd4c6512170439dd94dd5695", "sha256": "bd1a4d60920b608e58d7328df9f5ac0c9c61ab8658813670d1cf23f8fe0051e3" }, "downloads": -1, "filename": "userpath-1.0.0.tar.gz", "has_sig": false, "md5_digest": "41db0167dd4c6512170439dd94dd5695", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9244, "upload_time": "2018-05-15T20:38:23", "url": "https://files.pythonhosted.org/packages/05/d9/38df6812bc30c4973dc0048945f8692aa51ecf75040b7d5208818a59003f/userpath-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "43f1cec0886b2886d3ac23d653e19280", "sha256": "a32b79fe56a8a6c3785c42053a951fe2e8b658688752d867fb6f3c1c22810e27" }, "downloads": -1, "filename": "userpath-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "43f1cec0886b2886d3ac23d653e19280", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6027, "upload_time": "2018-05-15T20:52:00", "url": "https://files.pythonhosted.org/packages/23/8c/be43c12d4a78247491bf39f223d5f9e88312adb220e9f22a4cda6e478137/userpath-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2b5f61e9a28e0cdf3a66c136d73563a6", "sha256": "c4aa4b20298d14272e2a39047a38a7e2195c1d697dd37dec247e2331067e7f31" }, "downloads": -1, "filename": "userpath-1.1.0.tar.gz", "has_sig": false, "md5_digest": "2b5f61e9a28e0cdf3a66c136d73563a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9251, "upload_time": "2018-05-15T20:52:00", "url": "https://files.pythonhosted.org/packages/24/7b/3b991e87d08211a95bafcadc370cb17e75a7dfb51e6f9ce9247f8cfff4c0/userpath-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "84d66a25bc54333c9cbd0df4976dcff9", "sha256": "975660da84bd46f82e62dd8df0e540c5f12f67b761329b5fca0a0fabc41ada08" }, "downloads": -1, "filename": "userpath-1.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "84d66a25bc54333c9cbd0df4976dcff9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14763, "upload_time": "2019-07-13T20:57:09", "url": "https://files.pythonhosted.org/packages/8c/71/72611cc9aed89374326645a4069787328db573c842e4e37b78c022b18146/userpath-1.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd8d2cec67757b3324f369a6f346b22c", "sha256": "10fa2a90c61546f188989680a9b7510888b976f5d18503ad4482c8f919e783cb" }, "downloads": -1, "filename": "userpath-1.2.0.tar.gz", "has_sig": false, "md5_digest": "dd8d2cec67757b3324f369a6f346b22c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15917, "upload_time": "2019-07-13T20:57:10", "url": "https://files.pythonhosted.org/packages/32/92/4abff0a80d028a306e00bf82f8b21ff18d9ad8199b6d179da3521edf83af/userpath-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "3928c6f9c3a1680abd3879f484b0fef9", "sha256": "914fe0e8c517bedf4ad36d14c6089e2a8b64fb21a50a8126352eca30a805511e" }, "downloads": -1, "filename": "userpath-1.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3928c6f9c3a1680abd3879f484b0fef9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14876, "upload_time": "2019-10-20T13:39:25", "url": "https://files.pythonhosted.org/packages/8a/72/07927efb668a0aa0cef502dbe4da442ac9598f19344bca9a3eb9bd062ec1/userpath-1.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8232c40700bcd0ecf56d8617d1372a7e", "sha256": "dd0b8ba650732c614c5e6b709e51be321c596566422d99a443d545401a965468" }, "downloads": -1, "filename": "userpath-1.3.0.tar.gz", "has_sig": false, "md5_digest": "8232c40700bcd0ecf56d8617d1372a7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19056, "upload_time": "2019-10-20T13:39:27", "url": "https://files.pythonhosted.org/packages/20/5c/5a59dabbe0bb09549243fa649718fa206167437ec48b4cb4c715ec018c7a/userpath-1.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3928c6f9c3a1680abd3879f484b0fef9", "sha256": "914fe0e8c517bedf4ad36d14c6089e2a8b64fb21a50a8126352eca30a805511e" }, "downloads": -1, "filename": "userpath-1.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3928c6f9c3a1680abd3879f484b0fef9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14876, "upload_time": "2019-10-20T13:39:25", "url": "https://files.pythonhosted.org/packages/8a/72/07927efb668a0aa0cef502dbe4da442ac9598f19344bca9a3eb9bd062ec1/userpath-1.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8232c40700bcd0ecf56d8617d1372a7e", "sha256": "dd0b8ba650732c614c5e6b709e51be321c596566422d99a443d545401a965468" }, "downloads": -1, "filename": "userpath-1.3.0.tar.gz", "has_sig": false, "md5_digest": "8232c40700bcd0ecf56d8617d1372a7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19056, "upload_time": "2019-10-20T13:39:27", "url": "https://files.pythonhosted.org/packages/20/5c/5a59dabbe0bb09549243fa649718fa206167437ec48b4cb4c715ec018c7a/userpath-1.3.0.tar.gz" } ] }