{ "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": "pybin\n=====\n\n.. image:: https://img.shields.io/pypi/v/pybin.svg?style=flat-square\n :target: https://pypi.org/project/pybin\n :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/pypi/pyversions/pybin.svg?style=flat-square\n :target: https://pypi.org/project/pybin\n :alt: Supported Python versions\n\n.. image:: https://img.shields.io/pypi/l/pybin.svg?style=flat-square\n :target: https://choosealicense.com/licenses\n :alt: License\n\n-----\n\nWhen you install a package via ``pip install --user ...``, any executables get\nplaced in a special directory specifically for the intended user. Unfortunately,\nthis location is most likely not included in your user's PATH variable. So for\nexample if you did ``pip3 install --user hatch`` and then tried to learn more\nabout your new tool by doing ``hatch --help``, it would fail to be located.\nSee: ``_\n\npybin solves this problem by providing a small CLI, and corresponding API, to\nlocate your Python's user bin and optionally update the user PATH. It supports\nall major 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\npybin 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 pybin\n\nDo not use ``--user``!\n\nCommands\n--------\n\nOnly 2!\n\npybin\n^^^^^\n\n.. code-block:: bash\n\n $ pybin -h\n Usage: pybin [OPTIONS] COMMAND [ARGS]...\n\n Shows the location of the bin directory and whether or not it is in the\n user PATH.\n\n Options:\n -p, --pypath TEXT An absolute path to a Python executable.\n --version Show the version and exit.\n -h, --help Show this message and exit.\n\n Commands:\n put Updates the user PATH\n\npybin put\n^^^^^^^^^\n\n.. code-block:: bash\n\n $ pybin put -h\n Usage: pybin put [OPTIONS]\n\n Updates the user PATH. The shell must be restarted for the update to take\n effect.\n\n Options:\n -p, --pypath TEXT An absolute path to a Python executable.\n -f, --force Update PATH even if it appears to be correct.\n -h, --help Show this message and exit.\n\nAPI\n---\n\n.. code-block:: python\n\n >>> from pybin import in_path, locate, put_in_path\n >>> in_path()\n False\n >>> locate()\n 'C:\\\\Users\\\\Ofek\\\\AppData\\\\Roaming\\\\Python\\\\Python36\\\\Scripts'\n >>> success = put_in_path()\n\nManual modification\n-------------------\n\nUse the location pybin shows in concert with this very comprehensive document\nJava provides: ``_\n\nLicense\n-------\n\npybin 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": "https://github.com/ofek/pybin", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ofek/pybin", "keywords": "packaging,scripts,user path,path,cli", "license": "MIT/Apache-2.0", "maintainer": "", "maintainer_email": "", "name": "pybin", "package_url": "https://pypi.org/project/pybin/", "platform": "", "project_url": "https://pypi.org/project/pybin/", "project_urls": { "Download": "https://github.com/ofek/pybin", "Homepage": "https://github.com/ofek/pybin" }, "release_url": "https://pypi.org/project/pybin/0.3.4/", "requires_dist": [ "click" ], "requires_python": "", "summary": "Cross-platform tool to put Python's user bin in PATH, no sudo/runas required!", "version": "0.3.4" }, "last_serial": 3145277, "releases": { "0.3.2": [ { "comment_text": "", "digests": { "md5": "37d1895ad0b412ba411b2423070778a4", "sha256": "e442bfd24f001bed2866ba3afbaed1d71825995d7f019fff886748442f3337d1" }, "downloads": -1, "filename": "pybin-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "37d1895ad0b412ba411b2423070778a4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7848, "upload_time": "2017-09-01T04:04:29", "url": "https://files.pythonhosted.org/packages/8c/c7/3ca83e80d0e32180c64f121387ca9661fbd8f7a03cd084f3e7bb26d9dcbd/pybin-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e2bfbb334abc36b24fac528b95c3b254", "sha256": "9a04566ccf692c5d574638c5bcf79e05d3e841b67a800937536319ef59372856" }, "downloads": -1, "filename": "pybin-0.3.2.tar.gz", "has_sig": false, "md5_digest": "e2bfbb334abc36b24fac528b95c3b254", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8916, "upload_time": "2017-09-01T04:04:31", "url": "https://files.pythonhosted.org/packages/0b/d1/6ed70ead80446a63cee818ccb4677b7bcfaf7995407128e864fb9ba7f889/pybin-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "68fd5adf13a18ec9d283a77d677c4a85", "sha256": "1c24eacdef17ab530c1979a1cfcf1c0ec0c7d72764d4cc37b27b4b38137f3f5f" }, "downloads": -1, "filename": "pybin-0.3.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "68fd5adf13a18ec9d283a77d677c4a85", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7867, "upload_time": "2017-09-01T16:31:09", "url": "https://files.pythonhosted.org/packages/64/e6/9e691371408f7bdba1221ca1659b0111f7e34faf94ab4bb640b9a6e7ff92/pybin-0.3.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2fa5097b0afddd518a760698a4ef717f", "sha256": "5a006260e0680ceff25b307043b7836bb105a18b595da6336f9a190a67c2725b" }, "downloads": -1, "filename": "pybin-0.3.3.tar.gz", "has_sig": false, "md5_digest": "2fa5097b0afddd518a760698a4ef717f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8994, "upload_time": "2017-09-01T16:31:10", "url": "https://files.pythonhosted.org/packages/ef/09/a0ef2db3931f9eb337b5eb19f3884a76664b1bd236e3bc64a73d2337a871/pybin-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "c40eb130a4f7fc3ad32a52831b1b18ef", "sha256": "983dae50c9a1717b54de57abc4c4084d60c61fb1e45b5834654b5d941fa76f68" }, "downloads": -1, "filename": "pybin-0.3.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c40eb130a4f7fc3ad32a52831b1b18ef", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7863, "upload_time": "2017-09-03T13:09:30", "url": "https://files.pythonhosted.org/packages/7e/41/2b844055dcc1e5f2a9d0554e64b0a85a7e498d0c4814e58bd2f58a0db1aa/pybin-0.3.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac500f1e71b1815ab938b87f3fc82714", "sha256": "36c82a50dd16f7a912afdc094f5e0b1df7a53d16f35d653b7dc189d6b9b93018" }, "downloads": -1, "filename": "pybin-0.3.4.tar.gz", "has_sig": false, "md5_digest": "ac500f1e71b1815ab938b87f3fc82714", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8993, "upload_time": "2017-09-03T13:09:31", "url": "https://files.pythonhosted.org/packages/c3/e2/99f2071761d63d919acd9cc4e0d70a2267b6207c10d330ac0764cd84224a/pybin-0.3.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c40eb130a4f7fc3ad32a52831b1b18ef", "sha256": "983dae50c9a1717b54de57abc4c4084d60c61fb1e45b5834654b5d941fa76f68" }, "downloads": -1, "filename": "pybin-0.3.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c40eb130a4f7fc3ad32a52831b1b18ef", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7863, "upload_time": "2017-09-03T13:09:30", "url": "https://files.pythonhosted.org/packages/7e/41/2b844055dcc1e5f2a9d0554e64b0a85a7e498d0c4814e58bd2f58a0db1aa/pybin-0.3.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac500f1e71b1815ab938b87f3fc82714", "sha256": "36c82a50dd16f7a912afdc094f5e0b1df7a53d16f35d653b7dc189d6b9b93018" }, "downloads": -1, "filename": "pybin-0.3.4.tar.gz", "has_sig": false, "md5_digest": "ac500f1e71b1815ab938b87f3fc82714", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8993, "upload_time": "2017-09-03T13:09:31", "url": "https://files.pythonhosted.org/packages/c3/e2/99f2071761d63d919acd9cc4e0d70a2267b6207c10d330ac0764cd84224a/pybin-0.3.4.tar.gz" } ] }