Skip to main content

portableenv

portableenv is a Python CLI tool that allows you to create virtual environments using an embedded Python interpreter. This makes it easy to manage isolated Python environments without relying on the system-wide Python installation.

Features

  • Seamless Virtual Environment Creation: Creates virtual environments using the embedded Python interpreter, ensuring portability and isolation from system-wide installations.
  • Simple CLI Interface: Provides a command-line interface similar to virtualenv for ease of use.

Installation

Install portableenv via pip:

pip install portableenv

Usage

Create a Virtual Environment

To create a virtual environment using the embedded Python interpreter, use the following command:

python -m portableenv myenv

This will create a virtual environment named myenv using the embedded Python, Python 3.10.9 by default if not specified.

Specifying a Different Python Version

You can specify a different Python version using the -v or --version option:

python -m portableenv myenv -v 3.11.5

This will download the embedded Python version 3.11.5 from python.org and use it to create the virtual environment.

The tool downloads the embedded Python distribution directly from python.org and configures it automatically. It also installs and updates pip to the latest version in both the embedded Python and the created virtual environment, ensuring you have the most up-to-date package manager without seeing upgrade notices when installing packages.

Requirements

  • Python 3.7 or higher
  • virtualenv library (automatically installed with this package)
  • Internet connection for the initial download of the embedded Python interpreter

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please fork this repository and submit a pull request with your changes.

Author

Links

Release files for portableenv 2.0.6

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

Source distribution (sdist)

Source distribution for portableenv 2.0.6
File Size Uploaded
portableenv-2.0.6.tar.gz 6.9 kB Details

Built distribution (wheel)

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

Total release size: 14.8 kB

Release files / portableenv-2.0.6.tar.gz

Download URL portableenv-2.0.6.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5566ce7f63b4d29386e245e22570b953a88f9a2cf82ac7cb938d9d042f363b8c
BLAKE2b-256 checksum
How to use checksums
f69460c82d962833d0774eecbdb724a71b73e884bb84ba7117d10a81ce768fb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / portableenv-2.0.6-py3-none-any.whl

Download URL portableenv-2.0.6-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a988d58f3326b09efcac3b2bdaaed48600ace3200bcd4dcc489df76106fe3ca5
BLAKE2b-256 checksum
How to use checksums
e8bc4efad624d19ae23514d057336bb3f208d55d0c5a310029e3963629e49518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

2.0.6 This release

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

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