Skip to main content

auto-activate venv as one cd into a poetry project

Project description

auto-activate venv as one cd into a poetry project folder.

Installation

To install use pip:

xpip install xontrib-avox-poetry
# or: xpip install -U git+https://github.com/jnoortheen/xontrib-avox-poetry

Usage

xontrib load avox_poetry

Configuration

# name of the venv folder. If found will activate it.
# if set to None then local folder activation will not work.
$XSH_AVOX_VENV_NAME = ".venv"

# exclude activation of certain paths by setting
$XSH_AVOX_EXCLUDED_PATHS = {"xsh-src"}

Credits

This package was created with xontrib cookiecutter template.

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

xontrib-avox-poetry-0.2.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

xontrib_avox_poetry-0.2.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file xontrib-avox-poetry-0.2.0.tar.gz.

File metadata

  • Download URL: xontrib-avox-poetry-0.2.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.8.18-1-MANJARO

File hashes

Hashes for xontrib-avox-poetry-0.2.0.tar.gz
Algorithm Hash digest
SHA256 121a60f9461fbe6667281d95078a79c5f6a02f4dc6e831dc021cd33cac649614
MD5 f3de840adf285e17c9e6d6cfd5a01c19
BLAKE2b-256 687b37fa283e05d76cae1f6d6b8a8a820e998dc70484a75fe8d39359b19ffab0

See more details on using hashes here.

File details

Details for the file xontrib_avox_poetry-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for xontrib_avox_poetry-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b77282dc3a9fc7882670b17bf9d51f896a1bb7bdec425a964944453bb239842
MD5 21a0507fd3cd5592481685961d1db4be
BLAKE2b-256 e2fe0918c8c66c51d96afb97967ee09a32369cc8652104c4736ab57167049c1a

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