{ "info": { "author": "Dan Ryan", "author_email": "dan@danryan.co", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: ISC License (ISCL)", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "===============================================================================\npip-shims: Shims for importing packages from pip's internals.\n===============================================================================\n\n.. image:: https://img.shields.io/pypi/v/pip-shims.svg\n :target: https://pypi.python.org/pypi/pip-shims\n\n.. image:: https://img.shields.io/pypi/l/pip-shims.svg\n :target: https://pypi.python.org/pypi/pip-shims\n\n.. image:: https://travis-ci.com/sarugaku/pip-shims.svg?branch=master\n :target: https://travis-ci.com/sarugaku/pip-shims\n\n.. image:: https://img.shields.io/pypi/pyversions/pip-shims.svg\n :target: https://pypi.python.org/pypi/pip-shims\n\n.. image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg\n :target: https://saythanks.io/to/techalchemy\n\n.. image:: https://readthedocs.org/projects/pip-shims/badge/?version=latest\n :target: https://pip-shims.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\nWarning\n********\n\n.. warning::\n The authors of `pip`_ **do not condone** the use of this package. Relying on pip's\n internals is a **dangerous** idea for your software as they are broken intentionally\n and regularly. This package may not always be completely updated up PyPI, so relying\n on it may break your code! User beware!\n\n.. _pip: https://github.com/pypa/pip\n\n\nInstallation\n*************\n\nInstall from `PyPI`_:\n\n ::\n\n $ pipenv install --pre pip-shims\n\nInstall from `Github`_:\n\n ::\n\n $ pipenv install -e git+https://github.com/sarugaku/pip-shims.git#egg=pip-shims\n\n\n.. _PyPI: https://www.pypi.org/project/pip-shims\n.. _Github: https://github.com/sarugaku/pip-shims\n\n\n.. _`Summary`:\n\nSummary\n********\n\n**pip-shims** is a set of compatibilty access shims to the `pip`_ internal API. **pip-shims**\nprovides compatibility with pip versions 8.0 through the current release (18.x). The shims\nare provided using a lazy import strategy by hacking a module by overloading a class instance's *getattr* method.\nThis library exists due to my constant writing of the same set of import shims across\nmany different libraries, including `pipenv`_, `pip-tools`_, `requirementslib`_, and\n`passa`_.\n\n.. _passa: https://github.com/sarugaku/passa\n.. _pip: https://github.com/pypa/pip\n.. _pipenv: https://github.com/pypa/pipenv\n.. _pip-tools: https://github.com/jazzband/pip-tools\n.. _requirementslib: https://github.com/sarugaku/requirementslib\n\n\n.. _`Usage`:\n\nUsage\n******\n\nImporting a shim\n/////////////////\n\nYou can use **pip-shims** to expose elements of **pip**'s internal API by importing them:\n\n ::\n\n from pip_shims import Wheel\n mywheel = Wheel('/path/to/my/wheel.whl')\n\n\nAvailable Shims\n****************\n\n**pip-shims** provides the following compatibility shims:\n\n======================== ========================================== =======================================\nImport Path Import Name Former Path\n======================== ========================================== =======================================\nreq.constructors _strip_extras req.req_install\ncli cmdoptions cmdoptions\ncli.base_command Command basecommand\ncli.parser ConfigOptionParser baseparser\ncommands.freeze DEV_PKGS\nexceptions DistributionNotFound\nutils.hashes FAVORITE_HASH\nmodels FormatControl index\nutils.misc get_installed_distributions utils\nutils.compat stdlib_pkgs compat\ncli.cmdoptions index_group cmdoptions\nreq.req_install InstallRequirement\nreq.constructors install_req_from_line req.req_install.InstallRequirement\nreq.constructors install_req_from_editable req.req_install.InstallRequirement\nreq.req_uninstall UninstallPathSet\ndistributions make_distribution_for_install_requirement operations.prepare.make_abstract_dist\ndistributions.base AbstractDistribution\ndistributions.source SourceDistribution\ndistributions.installed InstalledDistribution\ndistributions.wheel WheelDistribution\ndownload is_archive_file\ndownload is_file_url\nutils.misc is_installable_dir utils\nindex Link\noperations.prepare make_abstract_dist req.req_set\ncli.cmdoptions make_option_group cmdoptions\nindex CandidateEvaluator\nindex PackageFinder\nreq.req_file parse_requirements\nindex parse_version\ndownload path_to_url\n__version__ pip_version\nexceptions PipError\nexceptions InstallationError\nexceptions UninstallationError\nexceptions DistributionNotFound\nexceptions RequirementsFileParseError\nexceptions BestVersionAlreadyInstalled\nexceptions BadCommand\nexceptions CommandError\nexceptions PreviousBuildDirError\noperations.prepare RequirementPreparer\noperations.freeze FrozenRequirement <`__init__`>\nreq.req_set RequirementSet\nreq.req_tracker RequirementTracker\nresolve Resolver\ndownload SafeFileCache\ndownload url_to_path\ndownload unpack_url\nlocations USER_CACHE_DIR\nvcs.versioncontrol VcsSupport vcs.VcsSupport\nwheel Wheel\nwheel WheelBuilder\ncache WheelCache wheel\n======================== ========================================== =======================================\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/sarugaku/pip-shims", "keywords": "pip,compatibility,shims,api,pip-shims,pipenv,pip-compat", "license": "ISC License", "maintainer": "", "maintainer_email": "", "name": "pip-shims", "package_url": "https://pypi.org/project/pip-shims/", "platform": "", "project_url": "https://pypi.org/project/pip-shims/", "project_urls": { "Homepage": "https://github.com/sarugaku/pip-shims" }, "release_url": "https://pypi.org/project/pip-shims/0.3.3/", "requires_dist": [ "pip", "wheel", "setuptools", "six", "importlib ; python_version < \"2.7\"", "pre-commit ; extra == 'dev'", "isort ; extra == 'dev'", "flake8 ; extra == 'dev'", "rope ; extra == 'dev'", "invoke ; extra == 'dev'", "parver ; extra == 'dev'", "towncrier ; extra == 'dev'", "wheel ; extra == 'dev'", "mypy ; (python_version >= \"3.5\") and extra == 'dev'", "flake8-bugbear ; (python_version >= \"3.5\") and extra == 'dev'", "black ; (python_version >= \"3.6\") and extra == 'dev'", "pytest-timeout ; extra == 'tests'", "pytest ; extra == 'tests'", "pytest-xdist ; extra == 'tests'", "pytest-cov ; extra == 'tests'", "twine ; extra == 'tests'", "readme-renderer[md] ; extra == 'tests'" ], "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "summary": "Compatibility shims for pip versions 8 thru current.", "version": "0.3.3" }, "last_serial": 5407893, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "628c1abf724b4fcb5bee1c5cce74ccd4", "sha256": "a34c740140672f6c4960f4d664b4568548c6e73b1d68ef59af6f675cdb257144" }, "downloads": -1, "filename": "pip_shims-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "628c1abf724b4fcb5bee1c5cce74ccd4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 5705, "upload_time": "2018-08-09T07:38:40", "url": "https://files.pythonhosted.org/packages/76/04/6be0711e1b313d92602eb43b14128baaad88bf58303090bd7c77fa4ab6d0/pip_shims-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4f2a5f903731d5c39176c4aabb7cd417", "sha256": "d462c85eceda8e2eab1c255ea23c6b40e2fd95b2be077cee92ab8d2c4387e989" }, "downloads": -1, "filename": "pip_shims-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4f2a5f903731d5c39176c4aabb7cd417", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 6216, "upload_time": "2018-08-09T07:38:42", "url": "https://files.pythonhosted.org/packages/6f/0e/6d40631dce90f2e9cffba00e1bb963dce669c51df7d63e1d608713e2c114/pip_shims-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c0b51ededa0871837c6ece40f35dd91a", "sha256": "2e3f042ddb9d15333bb482280b42012bdbfaf29e54ea04bd34af7c427d5b44bd" }, "downloads": -1, "filename": "pip_shims-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c0b51ededa0871837c6ece40f35dd91a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 5927, "upload_time": "2018-08-15T02:11:08", "url": "https://files.pythonhosted.org/packages/1d/80/0adf4583bd8c452d1e0056ef297d38925b2042c3b3a5a7ba9b900b08995a/pip_shims-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a5ef424a6b0674edf256927b8819f7e", "sha256": "f54c0cd5a02e00b566880a98a86b3d1d8e4b0ad4c521d1b39e45263a81fa0f55" }, "downloads": -1, "filename": "pip_shims-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1a5ef424a6b0674edf256927b8819f7e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 11295, "upload_time": "2018-08-15T02:11:10", "url": "https://files.pythonhosted.org/packages/48/20/33fa2604311ae62520fcc9be4a91372a6d912dded53745e978d564c68695/pip_shims-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "7fc401b151e97a7fa47e0b4f0c723eb7", "sha256": "9c8a568b4a8ce4000a2982224f48a35736fca81214dfdb30dcae24287866a7e4" }, "downloads": -1, "filename": "pip_shims-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7fc401b151e97a7fa47e0b4f0c723eb7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 6244, "upload_time": "2018-08-18T05:25:46", "url": "https://files.pythonhosted.org/packages/95/02/0705dca1e314e74eaf64c5b1b9deb251df64ce78f7db650cbaf011164f09/pip_shims-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "54240257a208c5c7498654b5628348db", "sha256": "ebc2bb29ddd21fa00c0cf28a5d8c725100f2f7ee98703aba237efd02e205c1c1" }, "downloads": -1, "filename": "pip_shims-0.1.2.tar.gz", "has_sig": false, "md5_digest": "54240257a208c5c7498654b5628348db", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 11789, "upload_time": "2018-08-18T05:25:47", "url": "https://files.pythonhosted.org/packages/df/97/8d03fbb0e700cbd312ef5c138b63e6f1487a5d43168febb8903448d5c610/pip_shims-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "5229f62333d30d64696dcbe01c34670c", "sha256": "90daeaf5f9300821ef32abfd821ebb29870ec06df89fc3fb7d0033b6e7c3377b" }, "downloads": -1, "filename": "pip_shims-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5229f62333d30d64696dcbe01c34670c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 6866, "upload_time": "2018-10-05T06:50:25", "url": "https://files.pythonhosted.org/packages/a6/a6/efaf45e2299965a5a12f742ef0f2b057d0fc2f1cf4c77e87c1095ec85487/pip_shims-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "697a4bd62bf631067c7e1c05b88da353", "sha256": "a93ae7ae9dc139397893f7016ac96666a4edaa4695d9b49700e920b12ad6f581" }, "downloads": -1, "filename": "pip_shims-0.2.0.tar.gz", "has_sig": false, "md5_digest": "697a4bd62bf631067c7e1c05b88da353", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 11903, "upload_time": "2018-10-05T06:50:27", "url": "https://files.pythonhosted.org/packages/f8/52/24f04b444577a73b636d6e19c37fa4ef9bb882cbeaea1f068b1ef5a8d5a6/pip_shims-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "519b9aa1e07e135948e901bee157cc71", "sha256": "27e2439aa93af8c1b8e58cf63a40cbcd26959b26424904f2e6d57837af8f76c5" }, "downloads": -1, "filename": "pip_shims-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "519b9aa1e07e135948e901bee157cc71", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 7964, "upload_time": "2018-10-06T10:05:58", "url": "https://files.pythonhosted.org/packages/45/fd/3323bde8ee65033eec93a7156132bd5e7f2ffed693aade44e7ee0f8b61ab/pip_shims-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "21996c81c8338cfc04c37d3d27333303", "sha256": "164b93bc94b207613d9632f28f4d55eba9301f9454aaaba335de36c24d92d106" }, "downloads": -1, "filename": "pip_shims-0.3.0.tar.gz", "has_sig": false, "md5_digest": "21996c81c8338cfc04c37d3d27333303", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 13166, "upload_time": "2018-10-06T10:05:59", "url": "https://files.pythonhosted.org/packages/38/ff/c9f51ccae9e93513ace3300ff49542725b83f7c07693639d7a1b4b87588f/pip_shims-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "8cd171ad4d03d261684ad4d22e174291", "sha256": "48db3585b522ceafbaff78b8cb0439c22ff4507518e78c7fa78a1808a2118f5f" }, "downloads": -1, "filename": "pip_shims-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8cd171ad4d03d261684ad4d22e174291", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 8152, "upload_time": "2018-10-07T00:01:53", "url": "https://files.pythonhosted.org/packages/1d/77/dd36586dd189f3b26afa0b496a3df74ef60c78ea36a2259f2d65c114caae/pip_shims-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f0c1defcf95b10a4b55e28ce552df288", "sha256": "928a37fbf7350744acd6884cf9ae448e9a679d71557ffd07452e845265ae1591" }, "downloads": -1, "filename": "pip_shims-0.3.1.tar.gz", "has_sig": false, "md5_digest": "f0c1defcf95b10a4b55e28ce552df288", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 13489, "upload_time": "2018-10-07T00:01:54", "url": "https://files.pythonhosted.org/packages/57/48/991098ab8db6661dde64594e3a01d53111cf469a791e1b6d4032940d5654/pip_shims-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "ea2f9cdfb32670c11f4ddcb9a64cc8ba", "sha256": "edb4cf3c509eab2f36b55c1ac1a59a4c485ccd537cc87934d74950880f641256" }, "downloads": -1, "filename": "pip_shims-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ea2f9cdfb32670c11f4ddcb9a64cc8ba", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 8237, "upload_time": "2018-10-27T21:51:42", "url": "https://files.pythonhosted.org/packages/41/4f/7259f949300380f2a277ba2ad0a2b6a22612d659dfe0a4fa464688932ab4/pip_shims-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cc091cf6cc38cc78050fb7a9caa94c89", "sha256": "3bc24ec050a6b9eea35419467237e4f47eaf806dadc9999bf887355c377edea7" }, "downloads": -1, "filename": "pip_shims-0.3.2.tar.gz", "has_sig": false, "md5_digest": "cc091cf6cc38cc78050fb7a9caa94c89", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 13601, "upload_time": "2018-10-27T21:51:43", "url": "https://files.pythonhosted.org/packages/68/00/c7f95de8655cca8514571bb8618abfa1bfce15e9ca737a8f6d1ddb787ef0/pip_shims-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "33cc047180b60ca02dd5d9239dcd2c22", "sha256": "d73372b9fa3a10e73f057fced70d39bb82df16a1ee3ded027fed0bb8d7c0ff97" }, "downloads": -1, "filename": "pip_shims-0.3.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "33cc047180b60ca02dd5d9239dcd2c22", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 8803, "upload_time": "2019-06-16T23:23:52", "url": "https://files.pythonhosted.org/packages/e5/4b/4c22644b91f574d854783f7b2dd990bcf22d5329c44c2227dc29bd507748/pip_shims-0.3.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b488a1c15eacecbb37a19dcacbf5385b", "sha256": "0162d846bd60c7b1feb4e1336541a3e661eb6a1eff4b9ea0d759780f8e0a2936" }, "downloads": -1, "filename": "pip_shims-0.3.3.tar.gz", "has_sig": false, "md5_digest": "b488a1c15eacecbb37a19dcacbf5385b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 15707, "upload_time": "2019-06-16T23:23:53", "url": "https://files.pythonhosted.org/packages/02/1f/1d4024e037a6bf2957976ca3eef5d846c4381613873dfb7f021b06cd0f1a/pip_shims-0.3.3.tar.gz" } ], "0.3.3.dev0": [ { "comment_text": "", "digests": { "md5": "3159f91adbf51c32f5be28b54f90bdf4", "sha256": "7bc6b2a9998617026db2f50263cf670dbaf6a1fe3899017e1d4ef5d9c66ffee1" }, "downloads": -1, "filename": "pip_shims-0.3.3.dev0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3159f91adbf51c32f5be28b54f90bdf4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 8604, "upload_time": "2019-06-16T22:48:33", "url": "https://files.pythonhosted.org/packages/b4/b1/7c1e5c2938701f695588dbddeb78a6db0f2a992a9da569f3f9b770e7dc88/pip_shims-0.3.3.dev0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "987c626f566d38447f455e9c81922e17", "sha256": "adddee88367ef89833cb2092da1a59d7bf5355d57b22b6c3015133a7f495f7c5" }, "downloads": -1, "filename": "pip_shims-0.3.3.dev0.tar.gz", "has_sig": false, "md5_digest": "987c626f566d38447f455e9c81922e17", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 15053, "upload_time": "2019-06-16T22:48:34", "url": "https://files.pythonhosted.org/packages/13/24/46cacbbb0c3cb2bfe56c9d9bc34ba6c69dfd271c96ef46720d50914c7fcc/pip_shims-0.3.3.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "33cc047180b60ca02dd5d9239dcd2c22", "sha256": "d73372b9fa3a10e73f057fced70d39bb82df16a1ee3ded027fed0bb8d7c0ff97" }, "downloads": -1, "filename": "pip_shims-0.3.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "33cc047180b60ca02dd5d9239dcd2c22", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 8803, "upload_time": "2019-06-16T23:23:52", "url": "https://files.pythonhosted.org/packages/e5/4b/4c22644b91f574d854783f7b2dd990bcf22d5329c44c2227dc29bd507748/pip_shims-0.3.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b488a1c15eacecbb37a19dcacbf5385b", "sha256": "0162d846bd60c7b1feb4e1336541a3e661eb6a1eff4b9ea0d759780f8e0a2936" }, "downloads": -1, "filename": "pip_shims-0.3.3.tar.gz", "has_sig": false, "md5_digest": "b488a1c15eacecbb37a19dcacbf5385b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 15707, "upload_time": "2019-06-16T23:23:53", "url": "https://files.pythonhosted.org/packages/02/1f/1d4024e037a6bf2957976ca3eef5d846c4381613873dfb7f021b06cd0f1a/pip_shims-0.3.3.tar.gz" } ] }