{"id":15360602,"url":"https://github.com/tkf/emacs-python-environment","last_synced_at":"2025-04-14T06:36:47.413Z","repository":{"id":9076935,"uuid":"10849966","full_name":"tkf/emacs-python-environment","owner":"tkf","description":"Python virtualenv API for Emacs Lisp","archived":false,"fork":false,"pushed_at":"2015-03-10T08:54:03.000Z","size":320,"stargazers_count":60,"open_issues_count":5,"forks_count":13,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-27T20:19:57.541Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkf.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-21T18:53:43.000Z","updated_at":"2024-06-26T13:22:17.000Z","dependencies_parsed_at":"2022-09-10T18:40:42.479Z","dependency_job_id":null,"html_url":"https://github.com/tkf/emacs-python-environment","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkf%2Femacs-python-environment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkf%2Femacs-python-environment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkf%2Femacs-python-environment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkf%2Femacs-python-environment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkf","download_url":"https://codeload.github.com/tkf/emacs-python-environment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248834756,"owners_count":21169085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-01T12:50:55.626Z","updated_at":"2025-04-14T06:36:47.360Z","avatar_url":"https://github.com/tkf.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"======================================\n Python virtualenv API for Emacs Lisp\n======================================\n\n.. sidebar:: Links:\n\n   * `Repository\n     \u003chttps://github.com/tkf/emacs-python-environment\u003e`_ (at GitHub)\n   * `Issue tracker\n     \u003chttps://github.com/tkf/emacs-python-environment/issues\u003e`_ (at GitHub)\n   * `Travis CI\n     \u003chttps://travis-ci.org/tkf/emacs-python-environment\u003e`_ |build-status|\n   * `MELPA\n     \u003chttp://melpa.org/#/python-environment\u003e`_ |melpa-badge|\n   * `MELPA Stable\n     \u003chttp://stable.melpa.org/#/python-environment\u003e`_ |melpa-stable-badge|\n\n\nEmacs integrates well with external tools written in languages other\nthan Emacs Lisp and thus use of these tools should be encouraged.\nHowever, many people try to avoid using non-Emacs Lisp software tools\nsince it makes installation of their Emacs plugin hard.\npython-environment.el solves this problem (only for the case the tool\nis written in Python) by providing virtualenv API in Emacs Lisp so\nthat you can automate installation of tools written in Python.\n\nLet's say you write Emacs plugin which uses Python script.  Then you\nwould want to setup Python modules for that script easily from Emacs.\nThis is how to do that using python-environment.el\n\n.. code :: cl\n\n   (require 'python-environment)\n\n   (defun YOUR-PLUGIN-install-python-dependencies ()\n     (interactive)\n     (python-environment-run \"pip\" \"install\" \"epc\"))\n\nIn your plugin, if you want the path to command installed in the\nvirtualenv, do something like this\n\n.. code :: cl\n\n   (start-process NAME BUFFER\n                  (python-environment-bin \"COMMAND\")\n                  ...)\n\nPath to access COMMAND may be different in \\*nix and in Windows, but\npython-environment.el finds the right path.\n\n\n.. Build status badge\n.. |build-status|\n   image:: https://secure.travis-ci.org/tkf/emacs-python-environment.png\n           ?branch=master\n   :target: http://travis-ci.org/tkf/emacs-python-environment\n   :alt: Build Status\n.. |melpa-badge|\n   image:: http://melpa.org/packages/python-environment-badge.svg\n   :target: http://melpa.org/#/python-environment\n   :alt: MELPA Badge\n.. |melpa-stable-badge|\n   image:: http://stable.melpa.org/packages/python-environment-badge.svg\n   :target: http://stable.melpa.org/#/python-environment\n   :alt: MELPA Stable Badge\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkf%2Femacs-python-environment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkf%2Femacs-python-environment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkf%2Femacs-python-environment/lists"}