Skip to main content

A python package for script (and command) virtualisation with less typing.

Project description

Script Venv

https://img.shields.io/pypi/v/script-venv.svg Documentation Status Travis CI (for Linux) Appveyor CI (for Windows) Codecov coverage Requirements Updates

A python package for script (and command) virtualisation with less typing.

Features

  • Run scripts, either console, gui or pure python, in their own virtual environment (venv).

  • Scripts can be registered to a specific venv.

  • Console or gui scripts can be auto registered from their package into a venv.

  • VEnvs can be per user (default), local (under the current directory) or in a relative directory.

  • VEnvs can be registered with requirements, and such venvs can be created as needed.

Installation

Run the following command to ensure you have the latest version of Script Venv:

$ pip install -U script_venv

Examples

If Example.py is registered for the example local venv:

$ sv Example.py
Runs ".sv/example/bin/python Example.py"

If cookiecutter is registered for the cc user venv:

$ sv cookiecutter
Runs "~/.sv/cc/bin/cookiecutter"

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2018-03-10)

  • First release on PyPI.

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

script_venv-0.5.1.tar.gz (24.9 kB view hashes)

Uploaded Source

Built Distribution

script_venv-0.5.1-py2.py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 2 Python 3

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