{"id":15282063,"url":"https://github.com/grantjenks/python-ivenv","last_synced_at":"2026-02-04T23:37:32.024Z","repository":{"id":66148506,"uuid":"254276220","full_name":"grantjenks/python-ivenv","owner":"grantjenks","description":"Interactive virtual environments for Python.","archived":false,"fork":false,"pushed_at":"2020-06-01T06:07:30.000Z","size":38,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T09:33:34.327Z","etag":null,"topics":["ipython","jupyter-notebook","python","venv","virtualenv"],"latest_commit_sha":null,"homepage":null,"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/grantjenks.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-09T05:06:22.000Z","updated_at":"2025-03-12T06:18:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"0550a41b-699b-4f29-82bb-a1760ca5c206","html_url":"https://github.com/grantjenks/python-ivenv","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantjenks%2Fpython-ivenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantjenks%2Fpython-ivenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantjenks%2Fpython-ivenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantjenks%2Fpython-ivenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grantjenks","download_url":"https://codeload.github.com/grantjenks/python-ivenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247584061,"owners_count":20962071,"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":["ipython","jupyter-notebook","python","venv","virtualenv"],"created_at":"2024-09-30T14:18:31.800Z","updated_at":"2026-02-04T23:37:27.005Z","avatar_url":"https://github.com/grantjenks.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"ivenv: Interactive Virtual Environments\n=======================================\n\n`ivenv`_ is an Apache2 licensed Python module for interactive virtual\nenvironments.\n\nThe `virtualenv` package had a clever script called `activate_this.py` which\nwhen executed in a Python shell would \"activate\" the virtual\nenvironment. Sadly, `venv` lacks this feature so `ivenv` adds it back.\n\nThe `ivenv` package also adds support for \"%activate\" and \"%deactivate\" magic\ncommands in IPython shells and Jupyter notebooks. This provides a simpler\nalternative to installing `ipykernel` in the destination virtual environment\nand adding the kernel to Jupyter.\n\n\nFeatures\n--------\n\n- Pure-Python\n- IPython Support\n- Jupyter Support\n- Developed on Python 3.8\n- Tested on CPython 3.6, 3.7, 3.8 and PyPy, PyPy3\n- Tested using GitHub Actions\n\n.. image:: https://github.com/grantjenks/python-ivenv/workflows/integration/badge.svg\n   :target: http://www.grantjenks.com/docs/ivenv/\n\n\nQuickstart\n----------\n\nInstalling `ivenv`_ is simple with `pip \u003chttp://www.pip-installer.org/\u003e`_::\n\n  $ pip install ivenv\n\nYou can access documentation in the interpreter with Python's built-in help\nfunction:\n\n.. code-block:: python\n\n   \u003e\u003e\u003e import ivenv\n   \u003e\u003e\u003e help(ivenv)\n   \u003e\u003e\u003e help(ivenv.activate)\n   \u003e\u003e\u003e help(ivenv.deactivate)\n\n\nTutorial\n--------\n\nThe `ivenv`_ module provides two functions for managing virtual environments:\n\n.. code-block:: python\n\n   \u003e\u003e\u003e from ivenv import activate, deactivate\n\nThe `activate` function accepts a path to a virtual environment directory and\n\"activates\" that virtual environment within the Python shell.\n\n.. code-block:: python\n\n   \u003e\u003e\u003e activate('path/to/venv/directory')\n\nThe `deactivate` function takes no arguments and \"deactivates\" the virtual\nenvironment within the Python shell.\n\n.. code-block:: python\n\n   \u003e\u003e\u003e deactivate()\n\nIt's also possible to use `ivenv`_ from IPython or Jupyter notebooks. To begin,\nload the `ivenv` extension:\n\n.. code-block:: shell\n\n   %load_ext ivenv\n\nOnce the extension is loaded, the \"magic\" commands: `%activate` and\n`%deactivate` may be used just as their corresponding functions.\n\n.. code-block:: shell\n\n   %activate path/to/venv/directory\n   %deactivate\n\n\nReference\n---------\n\n* `ivenv Documentation`_\n* `ivenv at PyPI`_\n* `ivenv at GitHub`_\n* `ivenv Issue Tracker`_\n\n.. _`ivenv Documentation`: http://www.grantjenks.com/docs/ivenv/\n.. _`ivenv at PyPI`: https://pypi.python.org/pypi/ivenv/\n.. _`ivenv at GitHub`: https://github.com/grantjenks/python-ivenv/\n.. _`ivenv Issue Tracker`: https://github.com/grantjenks/python-ivenv/issues/\n\n\nLicense\n-------\n\nCopyright 2020 Grant Jenks\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License.  You may obtain a copy of the\nLicense at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed\nunder the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\nCONDITIONS OF ANY KIND, either express or implied.  See the License for the\nspecific language governing permissions and limitations under the License.\n\n.. _`ivenv`: http://www.grantjenks.com/docs/ivenv/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrantjenks%2Fpython-ivenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrantjenks%2Fpython-ivenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrantjenks%2Fpython-ivenv/lists"}