{"id":41685579,"url":"https://github.com/jnmclarty/pyenvdiff-lib","last_synced_at":"2026-01-24T19:27:36.012Z","repository":{"id":15219101,"uuid":"77280338","full_name":"jnmclarty/pyenvdiff-lib","owner":"jnmclarty","description":"Python environment comparison tool","archived":false,"fork":false,"pushed_at":"2022-12-26T20:25:54.000Z","size":247,"stargazers_count":22,"open_issues_count":7,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-12T19:25:48.755Z","etag":null,"topics":["audit","conda","devtools","diagnostics","environment","management","pyenvdiff","python","virtualenv","webapp"],"latest_commit_sha":null,"homepage":"http://pyenvdiff.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jnmclarty.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-24T11:37:21.000Z","updated_at":"2025-02-19T13:50:44.000Z","dependencies_parsed_at":"2023-01-13T18:19:02.212Z","dependency_job_id":null,"html_url":"https://github.com/jnmclarty/pyenvdiff-lib","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jnmclarty/pyenvdiff-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnmclarty%2Fpyenvdiff-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnmclarty%2Fpyenvdiff-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnmclarty%2Fpyenvdiff-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnmclarty%2Fpyenvdiff-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jnmclarty","download_url":"https://codeload.github.com/jnmclarty/pyenvdiff-lib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnmclarty%2Fpyenvdiff-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28735229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T19:23:36.361Z","status":"ssl_error","status_checked_at":"2026-01-24T19:23:28.966Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audit","conda","devtools","diagnostics","environment","management","pyenvdiff","python","virtualenv","webapp"],"created_at":"2026-01-24T19:27:35.247Z","updated_at":"2026-01-24T19:27:36.005Z","avatar_url":"https://github.com/jnmclarty.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===============================\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    \u003e\u003e\u003e from pyenvdiff import Environment\n\n    \u003e\u003e\u003e e = Environment()\n    \u003e\u003e\u003e e.to_file('my_env.json')\n\n    \u003e\u003e\u003e o = Environment.from_file('other_env.json')\n\n    \u003e\u003e\u003e e == o\n    True\n\n    \u003e\u003e\u003e print(e)\n    ... # prints a dump of the environment details\n\n    \u003e\u003e\u003e from pyenvdiff import EnvironmentDiff\n    \u003e\u003e\u003e ed = EnvironmentDiff(e, o)\n    \u003e\u003e\u003e print(ed)\n    ... # prints a diff of the two environments\n\n\nSooo much room for activities!\n------------------------------\n\n* Compare dev, test \u0026 prod!\n* Works on my machine, strange it doesn't work on yours\n* Confirming deployments\n* Auditing user desktops, servers, research environments \u0026 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 \u0026 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnmclarty%2Fpyenvdiff-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjnmclarty%2Fpyenvdiff-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnmclarty%2Fpyenvdiff-lib/lists"}