activate virtual environment for current shell
Project description
Dephell Shells
Run shell for virtual environment.
Installation
Install from PyPI:
python3 -m pip install --user dephell_shells
Usage
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:
$ python3 -m dephell_shells
/bin/zsh
Actiavate venv:
$ python3.7 -m dephell_shells ./venv/bin
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dephell_shells-0.1.5.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file dephell_shells-0.1.5.tar.gz
.
File metadata
- Download URL: dephell_shells-0.1.5.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: DepHell/0.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77150b732db135d436f41c2c6f12694e6058a8609214117ee80f6c40234ac2d5 |
|
MD5 | fe8170b0ffbb7937999d4382dca635dc |
|
BLAKE2b-256 | b16eca45ab70f782c71293584398a50f3d73da873f1fd5fee2a0faddea2a2ed9 |
File details
Details for the file dephell_shells-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: dephell_shells-0.1.5-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: DepHell/0.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bdb8aba72640c51259dc5cb0ee40c4cd948cb644e5ceedd7e725766575a5225 |
|
MD5 | e48bd94eb1930197b2eccee0f4dffede |
|
BLAKE2b-256 | 39b1e8e109d591b749fa7a2c83eb220c1c9b3e4aec2b03260412142a9b7e7c07 |