Skip to main content

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.4.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

dephell_shells-0.1.4-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file dephell_shells-0.1.4.tar.gz.

File metadata

  • Download URL: dephell_shells-0.1.4.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for dephell_shells-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f8254fc21d1b823eaf6f641b4c58480a4205bbff0341582b8b8f6fa2d9f8784c
MD5 7164991fe24958c308dcde09cecc0654
BLAKE2b-256 98201204ff61a2d5bfaf97bc26671bf53ad6c55bade9a2104a4b085b3adf437b

See more details on using hashes here.

File details

Details for the file dephell_shells-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: dephell_shells-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for dephell_shells-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7bd1bdcaad09ab4bb24a3ad8176af0c07221a5025dffdd9eb9431a237e1bd2ba
MD5 86f8dcb64e358e3cdccbd064edc511a9
BLAKE2b-256 5c91e34b0495d5adfed0c5f770c372c0b2e9313dc179e1af90018ff68503cd43

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page