# Dephell Shells
Run shell for virtual environment.
## Installation
Install from [PyPI](https://pypi.org/project/dephell-shells/):
```bash
python3 -m pip install --user dephell_shells
```
## Usage
```python
from pathlib import Path
from dephell_shells import Shells
shells = Shells(bin_path=Path('/home/gram/.../dephell-nLn6/bin'))
shells.current
# ZshShell(bin_path=Path('/home/gram/.../dephell-nLn6'), shell_path=Path('/usr/bin/zsh'))
shells.current.run()
```
## CLI
Show current shell path:
```bash
$ python3 -m dephell_shells
/bin/zsh
```
Actiavate venv:
```bash
$ python3.7 -m dephell_shells ./venv/bin
```
Raw data
{
"_id": null,
"home_page": "",
"name": "dephell-shells",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "dephell,packaging,venv,pipenv,virtualenv",
"author": "Gram",
"author_email": "gram@orsinium.dev",
"download_url": "https://files.pythonhosted.org/packages/b1/6e/ca45ab70f782c71293584398a50f3d73da873f1fd5fee2a0faddea2a2ed9/dephell_shells-0.1.5.tar.gz",
"platform": "None",
"description": "# Dephell Shells\n\nRun shell for virtual environment.\n\n## Installation\n\nInstall from [PyPI](https://pypi.org/project/dephell-shells/):\n\n```bash\npython3 -m pip install --user dephell_shells\n```\n\n## Usage\n\n```python\nfrom pathlib import Path\nfrom dephell_shells import Shells\n\nshells = Shells(bin_path=Path('/home/gram/.../dephell-nLn6/bin'))\nshells.current\n# ZshShell(bin_path=Path('/home/gram/.../dephell-nLn6'), shell_path=Path('/usr/bin/zsh'))\nshells.current.run()\n```\n\n## CLI\n\nShow current shell path:\n\n```bash\n$ python3 -m dephell_shells\n/bin/zsh\n```\n\nActiavate venv:\n\n```bash\n$ python3.7 -m dephell_shells ./venv/bin\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "activate virtual environment for current shell",
"version": "0.1.5",
"project_urls": {
"Repository": "https://github.com/dephell/dephell_shells"
},
"split_keywords": [
"dephell",
"packaging",
"venv",
"pipenv",
"virtualenv"
],
"urls": [
{
"comment_text": "None",
"digests": {
"blake2b_256": "39b1e8e109d591b749fa7a2c83eb220c1c9b3e4aec2b03260412142a9b7e7c07",
"md5": "e48bd94eb1930197b2eccee0f4dffede",
"sha256": "3bdb8aba72640c51259dc5cb0ee40c4cd948cb644e5ceedd7e725766575a5225"
},
"downloads": -1,
"filename": "dephell_shells-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e48bd94eb1930197b2eccee0f4dffede",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 6520,
"upload_time": "2020-05-29T08:08:46",
"upload_time_iso_8601": "2020-05-29T08:08:46.242784Z",
"url": "https://files.pythonhosted.org/packages/39/b1/e8e109d591b749fa7a2c83eb220c1c9b3e4aec2b03260412142a9b7e7c07/dephell_shells-0.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "None",
"digests": {
"blake2b_256": "b16eca45ab70f782c71293584398a50f3d73da873f1fd5fee2a0faddea2a2ed9",
"md5": "fe8170b0ffbb7937999d4382dca635dc",
"sha256": "77150b732db135d436f41c2c6f12694e6058a8609214117ee80f6c40234ac2d5"
},
"downloads": -1,
"filename": "dephell_shells-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "fe8170b0ffbb7937999d4382dca635dc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 5145,
"upload_time": "2020-05-29T08:08:44",
"upload_time_iso_8601": "2020-05-29T08:08:44.516137Z",
"url": "https://files.pythonhosted.org/packages/b1/6e/ca45ab70f782c71293584398a50f3d73da873f1fd5fee2a0faddea2a2ed9/dephell_shells-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2020-05-29 08:08:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dephell",
"github_project": "dephell_shells",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"appveyor": true,
"lcname": "dephell-shells"
}