menv
menv is a command-line tool for managing virtual environments and installing Python packages. It provides a simple interface to create, activate, deactivate, save, and install requirements for your projects.
Installation
To install menv, you can use pip:
pip install menv
Usage
menv provides the following commands:
menv init [args]: Create a virtual environment. Additional arguments can be passed to thevirtualenvcommand.menv activate: Activate the virtual environment.menv deactivate: Deactivate the virtual environment.menv save: Save the current requirements to amenv.jsonfile.menv start: Install the saved requirements. Use the--forceflag to ignore Python version mismatch.menv run: Run scripts of menv.json
Please note that menv currently only supports Windows operating system.
Example
Here's an example of how to use menv:
- Create a virtual environment:
menv init
- Activate the virtual environment:
menv activate
- Install required packages:
menv start
- Save the current requirements:
menv save
- Deactivate the virtual environment:
menv deactivate
- Run scripts
menv run start
In menv.json
"scripts": {
"start": "python app.py"
}
That's it! You can now use menv to manage your virtual environments and install Python packages.
Release files for menv 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| menv-0.0.3.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| menv-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.8 kB
Release files / menv-0.0.3.tar.gz
| Download URL | menv-0.0.3.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6228a9f5e933fae6a5e7a05c95ab3cbbc7183aff7e7301dd9bd8532c7c409df4
|
|
BLAKE2b-256 checksum How to use checksums |
4d7d380ff852ec3478e5cc545ebc187f1c42fa3487ef6fb4f7044276572853bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / menv-0.0.3-py3-none-any.whl
| Download URL | menv-0.0.3-py3-none-any.whl |
|---|---|
| Size | 1.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a30baf11ea4686f460a0a5929cac243d9225756489a3752d40893d4b11f8ede1
|
|
BLAKE2b-256 checksum How to use checksums |
3eeef1fe1b4d8e877a9f033d65cd7f02032435d474675c3bda704ed6994dab6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|