Skip to main content

Easiest and quickest way to setup a temporary python virtual environment

Project description

tempyenv

Description

The easiest and quickest way to create a temp/tmp/temporary python virtual environment.

tempyenv sets up a python environment in a temporary path. Quick way to create a throw away python environment.

Build Status PIP Version Coverage Status Gitter IM

Installation

$ python -m pip install tempyenv

Usage

$ tmpyenv

or

$ tempyenv
(tempyenv) is setting up your virtual environment...hold tight
Virtual environment created at /var/folders/4b/dnp21z017cg_rbgfdtzclqlm0000gn/T/tmpacwjkg5z/venv
Virtual environment loading from /var/folders/4b/dnp21z017cg_rbgfdtzclqlm0000gn/T/tmpacwjkg5z/venv
(tempyenv)(venv) $ echo "now you can pip install in your virtual environment"

To specify a specific version of python

$ tempyenv -p python3.10

or

$ python3.10 -m tempyenv

License

tempyenv is released under the MIT License.

Author

David Whiteside (david@davidwhiteside.com)

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

tempyenv-1.0.4.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

tempyenv-1.0.4-py3-none-any.whl (4.8 kB view hashes)

Uploaded 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