Skip to main content

Run your Python scripts using an automated pool of virtual environments to satisfy their requirements

Project description

venvpool

Run your Python scripts using an automated pool of virtual environments to satisfy their requirements

Commands

motivate

Create and maintain wrapper scripts in ~/.local/bin for all runnable modules in the given projects, or the current project if none given.

motivate -S

Create/maintain wrappers for all console_scripts of the given requirement specifier.

motivate -C

Compact the pool of venvs.

API

venvpool

dotpy

Python source file extension including dot.

initlogging
def initlogging()

Initialise the logging module to send debug (and higher levels) to stderr.

venvpool.util

detach
def detach()

For all venvs (typically just one) that this process has locked for reading, set those locks to non-inheritable. Return a copy of os.environ in which PATH does not include the bin directories of those venvs. Then passing that environment to a subprocess will launch it free of any venvpool venv.

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

venvpool-19.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

venvpool-19-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file venvpool-19.tar.gz.

File metadata

  • Download URL: venvpool-19.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for venvpool-19.tar.gz
Algorithm Hash digest
SHA256 cbf7e580dbee2c93b3ccf5f915fb7f96ccccf474f3653ce63278ceb260efc3e2
MD5 904b631cebf04a8db1beafb62602286c
BLAKE2b-256 3502071fa3506596337bb9e014e9de995bd406302029b098502ba83e3fac4fe1

See more details on using hashes here.

File details

Details for the file venvpool-19-py3-none-any.whl.

File metadata

  • Download URL: venvpool-19-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for venvpool-19-py3-none-any.whl
Algorithm Hash digest
SHA256 9a160a0e8f55ff38435d8dba18ce5464ffe8093497e0eb9869861f5e632c1693
MD5 df88125dda0336df1bc1b0cb18bc95eb
BLAKE2b-256 6dcec7eb23dc7d8ac0058124df0787f534c7ec4508e436251480c94887a92b8c

See more details on using hashes here.

Supported by

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