{"id":19197143,"url":"https://github.com/python-poetry/poetry-plugin-shell","last_synced_at":"2025-04-12T22:34:30.541Z","repository":{"id":257826265,"uuid":"861397917","full_name":"python-poetry/poetry-plugin-shell","owner":"python-poetry","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-24T20:14:56.000Z","size":92,"stargazers_count":81,"open_issues_count":24,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T09:05:46.060Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/python-poetry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-09-22T19:28:06.000Z","updated_at":"2025-04-03T15:43:42.000Z","dependencies_parsed_at":"2024-11-26T00:19:23.878Z","dependency_job_id":"0621ff58-eac3-40f5-b762-54e48b3afced","html_url":"https://github.com/python-poetry/poetry-plugin-shell","commit_stats":null,"previous_names":["python-poetry/poetry-plugin-shell"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-poetry%2Fpoetry-plugin-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-poetry%2Fpoetry-plugin-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-poetry%2Fpoetry-plugin-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-poetry%2Fpoetry-plugin-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python-poetry","download_url":"https://codeload.github.com/python-poetry/poetry-plugin-shell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248641786,"owners_count":21138268,"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-11-09T12:15:40.030Z","updated_at":"2025-04-12T22:34:30.482Z","avatar_url":"https://github.com/python-poetry.png","language":"Python","readme":"# Poetry Plugin: Shell\n\n[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)\n\n\u003e [!NOTE]\n\u003e We are looking for maintainers, see the [issue](https://github.com/python-poetry/poetry-plugin-shell/issues/3).\n\nThis package is a plugin that runs a subshell with virtual environment activated.\n\n\nThis plugin replaces the same feature as the `shell` command previously available in Poetry.\n\n\n## Installation\n\nThe easiest way to install the `shell` plugin is via the `self add` command of Poetry.\n\n```bash\npoetry self add poetry-plugin-shell\n```\n\nIf you used `pipx` to install Poetry you can add the plugin via the `pipx inject` command.\n\n```bash\npipx inject poetry poetry-plugin-shell\n```\n\nOtherwise, if you used `pip` to install Poetry you can add the plugin packages via the `pip install` command.\n\n```bash\npip install poetry-plugin-shell\n```\n\n\n## Usage\n\nThe plugin provides a `shell` command to run a subshell with virtual environment activated.\n\n```bash\npoetry shell\n```\n\nBy default, the current active shell is detected and used. Failing that,\nthe shell defined via the environment variable `SHELL` (on *nix) or\n`COMSPEC` (on Windows) is used.\n\nIf a virtual environment does not exist, it will be created.\n\nNote that this command starts a new shell and activates the virtual environment.\n\nAs such, `exit` should be used to properly exit the shell and the virtual environment instead of `deactivate`.\n\n\u003e [!NOTE]\n\u003e This plugin internally uses the [Shellingham](https://github.com/sarugaku/shellingham) project to detect current active shell.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-poetry%2Fpoetry-plugin-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-poetry%2Fpoetry-plugin-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-poetry%2Fpoetry-plugin-shell/lists"}