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)

Metadata

Release files for tempyenv 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tempyenv 1.0.8
File Size Uploaded
tempyenv-1.0.8.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tempyenv 1.0.8
File Interpreter ABI Platform
tempyenv-1.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / tempyenv-1.0.8.tar.gz

Download URL tempyenv-1.0.8.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9cd6a00ad9375de8ccdffa48d647ef7927ccd2939b58aebffaab4edcb112bdab
BLAKE2b-256 checksum
How to use checksums
4031fc44d4daaf53973a22032a77ab5905fa829320442a7eb14d638e166dfdeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.

Transparency log

Release files / tempyenv-1.0.8-py3-none-any.whl

Download URL tempyenv-1.0.8-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea8f4265a80f8e5afe19aeb9cb27097142f35dd0b910d2356182e489db2f93b9
BLAKE2b-256 checksum
How to use checksums
4eb36767fc44a6af29e7924393ed884f78692062598055061a61669ff6b66b49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.8 This release

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page