{ "info": { "author": "Jeffrey McLarty", "author_email": "jeffrey.mclarty@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "===============================\nPyEnvDiff\n===============================\n\n\n.. image:: https://img.shields.io/pypi/v/pyenvdiff.svg\n :target: https://pypi.python.org/pypi/pyenvdiff\n\n.. image:: https://travis-ci.org/jnmclarty/pyenvdiff-lib.svg?branch=master\n :target: https://travis-ci.org/jnmclarty/pyenvdiff-lib\n\n.. image:: https://readthedocs.org/projects/pyenvdiff/badge/?version=latest\n :target: http://pyenvdiff.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\nPython environment comparison tool. Maximized for compatibility between versions 2.6 to 3.8, pypy,\noperating systems, distributions, and forks! Virtualenv, pyenv, pyvenv, conda and system!\n\nvia Command-Line\n----------------\n\nFrom the command line, to get information on the current environment:\n\n::\n\n python -m pyenvdiff.info\n\n\nSerialize the information to a file...\n\n::\n\n python -m pyenvdiff.info my_environment.json\n\n\nSwitch to another environment (you'll need pyenvdiff installed in both)\n\n::\n\n python -m pyenvdiff.compare my_environment.json\n\n\nOr compare two from any environment\n\n::\n\n python -m pyenvdiff.compare my_environment.json my_other_environment.json\n\n\nvia Hub-Based Compare\n---------------------\n\nAn HTTP-based service comes with pyenvdiff, all without dependencies (thanks to a copy of bottle). It stores environment\ninformation in RAM, for as long as it runs. This service should be considered alpha-stage.\n\nTo launch the built-in hub (server):\n\n::\n\n python -m pyenvdiff.hub\n\n\nThen navigate in your browser to the URL it gives you to see the menu of available options. Before you send information\nabout other environments on the same machine, your options will be limited to just viewing the server's environment.\n\nSamples of the `Hub Landing Page`_ and the `Environment Information Page`_ illustrate the features.\n\nFrom one or more other environments run:\n\n::\n\n python -m pyenvdiff.post_to_hub\n\n\nA URL will be displayed to view environment information from any machine on the same network.\n\nNavigate back to the base URL, you'll see more options to compare the two environments.\n\nA Sample of the `Environment Diff Page`_ illustrate what the diff can do (if ```ghdiff``` is installed for the hub).\n\nProgrammatic Usage\n------------------\n.. code-block:: python\n\n >>> from pyenvdiff import Environment\n\n >>> e = Environment()\n >>> e.to_file('my_env.json')\n\n >>> o = Environment.from_file('other_env.json')\n\n >>> e == o\n True\n\n >>> print(e)\n ... # prints a dump of the environment details\n\n >>> from pyenvdiff import EnvironmentDiff\n >>> ed = EnvironmentDiff(e, o)\n >>> print(ed)\n ... # prints a diff of the two environments\n\n\nSooo much room for activities!\n------------------------------\n\n* Compare dev, test & prod!\n* Works on my machine, strange it doesn't work on yours\n* Confirming deployments\n* Auditing user desktops, servers, research environments & ecosystems\n* Filing (or requesting) bug reports\n\nInstallation\n------------\n\nThere are no mandatory, nor automatically installing, dependencies. There are optional dependencies which increase.\n\n::\n\n pip install pyenvdiff\n\nOR just copy & paste pyenvdiff anywhere on PYTHONPATH\n\nThere is one optional dependency. The core functionality doesn't use it. It's only needed for pretty HTML-based comparisons via the web.\n\n::\n\n pip install ghdiff\n\n\nUnder the hood\n--------------\n\n* Robust and organized object model collects and serializes environment information.\n* Zero dependency, pure-python, harmless install! Simply `pip install pyenvdiff` or copy anywhere on PYTHONPATH.\n* As-needed import statements, to maximize compatibility across python flavours.\n* Favours compatible python-code over succinct or newer-style python-code\n* Free software: BSD license\n* Documentation: https://pyenvdiff.readthedocs.io.\n\nCredits\n---------\n\nThis package was started with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n.. _`Hub Landing Page`: https://htmlpreview.github.io/?https://github.com/jnmclarty/pyenvdiff-lib/master/docs/examples/home.html\n.. _`Environment Information Page`: https://htmlpreview.github.io/?https://github.com/jnmclarty/pyenvdiff-lib/master/docs/examples/environment_info.html\n.. _`Environment Diff Page`: https://htmlpreview.github.io/?https://github.com/jnmclarty/pyenvdiff-lib/master/docs/examples/environment_diff_view.html\n\n\n=======\nHistory\n=======\n\n0.3.0 (2018-11-18)\n------------------\n\n* Add bottle-based Hub for P2P Comparisons\n* Added Python 3.8 Support\n* Fixed bug impacting Ubuntu 18 [GH Issue #15]\n* Removed documented support for Third-party API-enabled comparisons\n* Enhanced the SysPrefix collector. [PR#16]\n* Add error attribute to Collectors. [PR#16]\n* Fixed Docs on PyPI, added comments inline.\n* Improved language in console output.\n\n0.2.0 (2018-06-8)\n-----------------\n\n* Refactor info.py into environment.py to account for regression in cpython micro release (#5) [PR #6]\n* Change file format from yaml to json with sorted keys (#4) [PR #7]\n* Remove pyenvdiff.com as default server. [PR #8]\n* Simplify user-created custom Collector. [PR #8]\n* Enable user-created custom POST command. [PR #8]\n* Add more Collectors (OSEnviron, UserName, HomeDirectory, SysPrefix). [PR #9]\n* Add transparency to systematically disclose what information is collected. [PR #9]\n* Add invasive property [PR #9]\n* Make compatible with pip 10. [PR #10]\n* Enhance PipDistribution output. [PR #10]\n\n0.1.0 (2016-12-24)\n------------------\n\n* First release on PyPI.", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/jnmclarty/pyenvdiff-lib/tarball/0.3.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jnmclarty/pyenvdiff-lib", "keywords": "pyenvdiff", "license": "BSD license", "maintainer": "", "maintainer_email": "", "name": "pyenvdiff", "package_url": "https://pypi.org/project/pyenvdiff/", "platform": "", "project_url": "https://pypi.org/project/pyenvdiff/", "project_urls": { "Download": "https://github.com/jnmclarty/pyenvdiff-lib/tarball/0.3.0", "Homepage": "https://github.com/jnmclarty/pyenvdiff-lib" }, "release_url": "https://pypi.org/project/pyenvdiff/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "Python environment comparison tool.", "version": "0.3.0" }, "last_serial": 4500698, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "20fcc82dea5920a417d33939dc286f38", "sha256": "d1893363f7a3135acc88b06c021f5e3090d886681aa553c6714bfe001f42b461" }, "downloads": -1, "filename": "pyenvdiff-0.1.0.zip", "has_sig": false, "md5_digest": "20fcc82dea5920a417d33939dc286f38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36183, "upload_time": "2017-01-03T01:41:20", "url": "https://files.pythonhosted.org/packages/7e/08/e1cb75c92c6066019a22d34da590ae68f1330189e955108fe847256623fb/pyenvdiff-0.1.0.zip" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2cf81d70545cbd10a3193452f32751b8", "sha256": "3c333d3b891bb6dd51c2327b4e3681eecb11323e962656795fcd9c6bf497b564" }, "downloads": -1, "filename": "pyenvdiff-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2cf81d70545cbd10a3193452f32751b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27677, "upload_time": "2018-06-09T18:05:39", "url": "https://files.pythonhosted.org/packages/14/8c/222556e419b593ebcd887d56aa8bf6147a350c3f4d3f3251f9c568f8a74f/pyenvdiff-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "20c0cddcff95df443679e1014d88b5f9", "sha256": "2034fda1c8403ede0eebd17603bfd312b13f76d3a787d836e68ffd9f09f36b65" }, "downloads": -1, "filename": "pyenvdiff-0.3.0.tar.gz", "has_sig": false, "md5_digest": "20c0cddcff95df443679e1014d88b5f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 79307, "upload_time": "2018-11-18T20:59:52", "url": "https://files.pythonhosted.org/packages/9c/9a/a783c33eaab39067dca7f28135c83e854c6bbf0f0a36c45e02ec28b7c82b/pyenvdiff-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "20c0cddcff95df443679e1014d88b5f9", "sha256": "2034fda1c8403ede0eebd17603bfd312b13f76d3a787d836e68ffd9f09f36b65" }, "downloads": -1, "filename": "pyenvdiff-0.3.0.tar.gz", "has_sig": false, "md5_digest": "20c0cddcff95df443679e1014d88b5f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 79307, "upload_time": "2018-11-18T20:59:52", "url": "https://files.pythonhosted.org/packages/9c/9a/a783c33eaab39067dca7f28135c83e854c6bbf0f0a36c45e02ec28b7c82b/pyenvdiff-0.3.0.tar.gz" } ] }