Skip to main content

tempyenv

Description

The easy and quick way to create a temporary Python virtual environment.

tempyenv sets up a python environment in a temporary path and auto removes the environment when you exit.

Build Status PIP Version

Installation

Using uv (recommended):

$ uv tool install tempyenv

Using pip:

$ python -m pip install tempyenv

Usage

$ 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)$ which pip
/var/folders/j4/skpmllqx5ls_6s4kn3l25gq00000gn/T/tmpo5a2dwmh/venv/bin/pip
(tempyenv)$ exit
Cleaning up temporary virtual environment...
Temporary environment removed successfully.

Help

$ tempyenv -h
usage: tempyenv [-h] [-p PYTHON_EXEC] [-v]

options:
  -h, --help            show this help message and exit
  -p, --python PYTHON_EXEC
                        Specify the Python executable
  -v, --version         show program's version number and exit

To specify a specific version of python

$ tempyenv -p python3.14

License

tempyenv is released under the MIT License.

Author

David Whiteside (david@davidwhiteside.com)

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

Uploaded Source

Built Distribution

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

tempyenv-1.0.8-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file tempyenv-1.0.8.tar.gz.

File metadata

  • Download URL: tempyenv-1.0.8.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tempyenv-1.0.8.tar.gz
Algorithm Hash digest
SHA256 9cd6a00ad9375de8ccdffa48d647ef7927ccd2939b58aebffaab4edcb112bdab
MD5 46add2c8bd957234941d02e501533fa9
BLAKE2b-256 4031fc44d4daaf53973a22032a77ab5905fa829320442a7eb14d638e166dfdeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for tempyenv-1.0.8.tar.gz:

Publisher: deploy-prod.yml on outbit/tempyenv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tempyenv-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: tempyenv-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tempyenv-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ea8f4265a80f8e5afe19aeb9cb27097142f35dd0b910d2356182e489db2f93b9
MD5 151ea857ebe481b2bd1fddf3aa2e9c51
BLAKE2b-256 4eb36767fc44a6af29e7924393ed884f78692062598055061a61669ff6b66b49

See more details on using hashes here.

Provenance

The following attestation bundles were made for tempyenv-1.0.8-py3-none-any.whl:

Publisher: deploy-prod.yml on outbit/tempyenv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.0.8 This release

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

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