{ "info": { "author": "Dan Ryan", "author_email": "dan@danryan.co", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "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 :: Libraries :: Python Modules" ], "description": "===============================================================================\nmork: A project for installing packages across the virtualenv boundary.\n===============================================================================\n\n.. image:: https://img.shields.io/pypi/v/mork.svg\n :target: https://pypi.org/project/mork\n\n.. image:: https://img.shields.io/pypi/l/mork.svg\n :target: https://pypi.org/project/mork\n\n.. image:: https://api.travis-ci.com/sarugaku/mork.svg?branch=master\n :target: https://travis-ci.com/sarugaku/mork\n\n.. image:: https://ci.appveyor.com/api/projects/status/5mo40rneihk6y8po/branch/master?svg=true\n :target: https://ci.appveyor.com/project/sarugaku/mork\n\n.. image:: https://img.shields.io/pypi/pyversions/mork.svg\n :target: https://pypi.org/project/mork\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/mork/badge/?version=latest\n :target: https://mork.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\nSummary\n=======\n\nMork_ is a library designed for installing and querying python packages inside virtual\nenvironments.\n\n.. _Mork: https://mork.readthedocs.io/en/latest/\n\n\n\ud83d\udc09 See What's Installed\n-----------------------\n\n ::\n\n >>> import mork\n >>> venv = mork.VirtualEnv.from_project_path('/home/user/git/pipenv')\n >>> dists = venv.get_distributions()\n >>> [dist for dist in dists][:3]\n [wheel 0.31.1 (/home/user/.virtualenvs/pipenv-MfOPs1lW/lib/python3.7/site-packages), Werkzeug 0.14.1 (/home/user/.virtualenvs/pipenv-MfOPs1lW/lib/python3.7/site-packages), vistir 0.1.4 (/home/user/.virtualenvs/pipenv-MfOPs1lW/lib/python3.7/site-packages)]\n\n\n\ud83d\udc09 Install A Package\n--------------------\n\n ::\n\n >>> from requirementslib.models.requirements import Requirement\n >>> r = Requirement.from_line(\"requests\")\n >>> venv.install(r, editable=False)\n\n\n\ud83d\udc09 Uninstall a Package\n----------------------\n\n ::\n\n >>> pkg = \"pytz\"\n >>> with venv.uninstall(pkg, auto_confirm=True) as uninstall:\n if uninstall.paths:\n cleaned = pkg\n >>> print(\"Removed package: %s\" % cleaned)\n\n\n\ud83d\udc09 Display Information about Python\n-----------------------------------\n\n ::\n\n >>> venv.python\n '/home/user/.virtualenvs/pipenv-MfOPs1lW/bin/python'\n >>> venv.python_version\n '3.7'\n\n\n\ud83d\udc09 Run Commands Inside the Virtualenv\n-------------------------------------\n\n ::\n\n >>> cmd = venv.run(\"env\")\n >>> [line for line in cmd.out.splitlines() if line.startswith(\"VIRTUAL_ENV\")]\n ['VIRTUAL_ENV=/user/hawk/.virtualenvs/pipenv-MfOPs1lW']\n >>> cmd = venv.run_py([\"import os; print(os.environ.get('VIRTUAL_ENV'))\"])\n Deactivating virtualenv...\n >>> cmd.out\n '/home/user/.virtualenvs/pipenv-MfOPs1lW\\n'\n >>> with venv.activated():\n print(os.environ[\"VIRTUAL_ENV\"])\n /home/hawk/.virtualenvs/pipenv-MfOPs1lW\n\n\n`Read the documentation `__.\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/mork", "keywords": "package management,package installer,virtual environment,pipenv,requirementslib,pipfile,dependencies,dependency management", "license": "ISC License", "maintainer": "", "maintainer_email": "", "name": "mork", "package_url": "https://pypi.org/project/mork/", "platform": "", "project_url": "https://pypi.org/project/mork/", "project_urls": { "Homepage": "https://github.com/sarugaku/mork" }, "release_url": "https://pypi.org/project/mork/0.1.4/", "requires_dist": [ "cached-property", "distlib", "packagebuilder", "pip-shims", "recursive-monkey-patch", "requirementslib", "setuptools", "six", "virtualenv", "vistir[spinner]", "pytest-timeout; extra == 'tests'", "pytest-xdist; extra == 'tests'", "pytest-cov; extra == 'tests'", "pytest; extra == 'tests'" ], "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "summary": "A project for installing packages across the virtualenv boundary.", "version": "0.1.4" }, "last_serial": 4323348, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7388ecadc525c91bfd22e7240828c55d", "sha256": "9cf945de7f69ed7ace8062509c5613c9484bdc2a5ac14caed6bba71f31f459c5" }, "downloads": -1, "filename": "mork-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7388ecadc525c91bfd22e7240828c55d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 7193, "upload_time": "2018-09-21T23:49:14", "url": "https://files.pythonhosted.org/packages/7f/27/4c08644dedd457c1f21f45af19ddaff15d5b57b5eb0945583be9081ba0a4/mork-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0887008488a218bbd19e091d8c20b3a8", "sha256": "988dd3d768369e9c88bdade3d9b90ed3bfc91cb5eb229a0da4db9b119b0a5d7a" }, "downloads": -1, "filename": "mork-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0887008488a218bbd19e091d8c20b3a8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 12344, "upload_time": "2018-09-21T23:49:15", "url": "https://files.pythonhosted.org/packages/3f/e7/2764f6ffdfe1431abaf7040a37162296e4667ee433e366239ffe3a6a1bed/mork-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e8c89281d14d1f5b1e5ae29885b790ef", "sha256": "2a85d76bf669fd27d2532fa6721fc76fb7815d7ae7de62e095353f8aa845818c" }, "downloads": -1, "filename": "mork-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e8c89281d14d1f5b1e5ae29885b790ef", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 7710, "upload_time": "2018-09-23T04:19:00", "url": "https://files.pythonhosted.org/packages/d0/15/07e9b6da2f5e0f772b8cb22fbf42eae2dc647c7b7c8646a7127b7ab4f8b8/mork-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8c12bc4f2a8356ef2988c5f861d1939e", "sha256": "bca61f20754f9432a7eec1874103b8fb6461a747e7b9b7dddcbd2fd6f9ffde32" }, "downloads": -1, "filename": "mork-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8c12bc4f2a8356ef2988c5f861d1939e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 13079, "upload_time": "2018-09-23T04:19:01", "url": "https://files.pythonhosted.org/packages/84/93/d8c00bac6bd9a75f952a386ef841e563ac4aec6810a39f473f72939ae90f/mork-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "7a6becbb0789b550ba1a7f60592357c9", "sha256": "bd16240d34ae4833cffa44b2671306c24fe830456105b908dac34fd31d2017af" }, "downloads": -1, "filename": "mork-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7a6becbb0789b550ba1a7f60592357c9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 7730, "upload_time": "2018-09-23T18:04:47", "url": "https://files.pythonhosted.org/packages/8f/9e/e965aa885a84256e2ecc92616e9973e782a629e002ad0c81f184947f989a/mork-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "90403895666b6b29658ab28e17734952", "sha256": "2ac3eed13edb8d854b6be470f0126da38514e9fb50b2112e45fc263e846d1576" }, "downloads": -1, "filename": "mork-0.1.2.tar.gz", "has_sig": false, "md5_digest": "90403895666b6b29658ab28e17734952", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 13161, "upload_time": "2018-09-23T18:04:48", "url": "https://files.pythonhosted.org/packages/e6/95/c4b93d15a1f49dab8a94a03d591d79060572929c95b1f3a58a9f914531f2/mork-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "1023b65902f34f364a50af6f32a609c5", "sha256": "0efda9d3f77d05d7f14af5f1263dac25a4c398ae6b838de95e1ce20e6b5b2213" }, "downloads": -1, "filename": "mork-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1023b65902f34f364a50af6f32a609c5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 8108, "upload_time": "2018-09-28T05:37:46", "url": "https://files.pythonhosted.org/packages/61/65/daa880585ba1444d845468d40a710c3e991c85e3f7db2f5366848f6fcfb3/mork-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5e84442b7098a7a00d890b08d8e03f46", "sha256": "d0e7eb660c6406390d6ae725beb788110620edb099836ea5c32664041247fb58" }, "downloads": -1, "filename": "mork-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5e84442b7098a7a00d890b08d8e03f46", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 14326, "upload_time": "2018-09-28T05:37:48", "url": "https://files.pythonhosted.org/packages/ae/d8/829b214a479f8a03592a44326e783479e619a34e3ac4e98edeafe1e4719f/mork-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "23e386a7a001e6de00da3617a15aea29", "sha256": "13772edb4724915cf0cfa30d31426e0565487a3b2d7883b8468718eaed8ecfc2" }, "downloads": -1, "filename": "mork-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "23e386a7a001e6de00da3617a15aea29", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 8441, "upload_time": "2018-09-29T19:07:10", "url": "https://files.pythonhosted.org/packages/68/cc/bb165d54a71797d5e0d90fa192c6e7b65d21f368ffbd57902fc0ba1c625b/mork-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "88bbe2661af1013ffb7d867d75d7794e", "sha256": "b1b41bc31603eef1b50e42e75ae2d74d7a0d9ab46ea4d0dd1ba387a451870873" }, "downloads": -1, "filename": "mork-0.1.4.tar.gz", "has_sig": false, "md5_digest": "88bbe2661af1013ffb7d867d75d7794e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 14774, "upload_time": "2018-09-29T19:07:11", "url": "https://files.pythonhosted.org/packages/c5/84/0dfcdf0b9a265cb1dd2f331d03aa3e2208fcc84ebefa91fc4843ad2c1146/mork-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "23e386a7a001e6de00da3617a15aea29", "sha256": "13772edb4724915cf0cfa30d31426e0565487a3b2d7883b8468718eaed8ecfc2" }, "downloads": -1, "filename": "mork-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "23e386a7a001e6de00da3617a15aea29", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 8441, "upload_time": "2018-09-29T19:07:10", "url": "https://files.pythonhosted.org/packages/68/cc/bb165d54a71797d5e0d90fa192c6e7b65d21f368ffbd57902fc0ba1c625b/mork-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "88bbe2661af1013ffb7d867d75d7794e", "sha256": "b1b41bc31603eef1b50e42e75ae2d74d7a0d9ab46ea4d0dd1ba387a451870873" }, "downloads": -1, "filename": "mork-0.1.4.tar.gz", "has_sig": false, "md5_digest": "88bbe2661af1013ffb7d867d75d7794e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6,!=3.0,!=3.1,!=3.2,!=3.3", "size": 14774, "upload_time": "2018-09-29T19:07:11", "url": "https://files.pythonhosted.org/packages/c5/84/0dfcdf0b9a265cb1dd2f331d03aa3e2208fcc84ebefa91fc4843ad2c1146/mork-0.1.4.tar.gz" } ] }