activate virtual environment for current shell
Project description
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.1.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file dephell_shells-0.1.1.tar.gz
.
File metadata
- Download URL: dephell_shells-0.1.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bdbe16377c6a02d8ec1784be40b7976f95a6330eb9fb3c1e09e040a3fcb0b4f |
|
MD5 | 0624c6a655367622ee431576e28ac352 |
|
BLAKE2b-256 | f86f1d3b15fbb163c4c4a075d9a6d9fa25709af13d8c01575af861ac8cf66fbb |
File details
Details for the file dephell_shells-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: dephell_shells-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 774f6b4652bfa6dc9f601d2c0f05f3b51e00729636b5eb6099360e0be4bed28d |
|
MD5 | ef99673d1235c182d75007d89bb42252 |
|
BLAKE2b-256 | 4c5bd045ccf3bc702cf9c2c3048979850ee9af0f00313c7413f374d04a34f339 |