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.
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tempyenv-1.0.8.tar.gz | 4.7 kB | With provenance | Details for tempyenv-1.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tempyenv-1.0.8-py3-none-any.whl | Python 3 | none | any | Details for tempyenv-1.0.8-py3-none-any.whl |
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 logRelease 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 logSecurity for tempyenv 1.0.8
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for tempyenv-1.0.8.tar.gz
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 logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.