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.2.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file dephell_shells-0.1.2.tar.gz
.
File metadata
- Download URL: dephell_shells-0.1.2.tar.gz
- Upload date:
- Size: 4.8 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 | 48e74213d369c84913738c6e372fdfcf4fdb51308fff0da59cdb044c8852869a |
|
MD5 | 40b835408af9c607c13fef9cc8ebf618 |
|
BLAKE2b-256 | 6a5c69b54608efde414fe7b38338c2d71af4e6e9b3fb282fedfcb014887af9a4 |
File details
Details for the file dephell_shells-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: dephell_shells-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.5 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 | 9ff3d7db1ef376b0ddc50ee344487dcc2ba82636274e191ee690042529daa967 |
|
MD5 | 818902cae7851bb3c188d66672b1e4ff |
|
BLAKE2b-256 | c7c8d75e5b13d7cd01e640c90a0e264ab4d12b729fb74cf348a9fe1bd56f15b5 |