virtualenv manager
Project description
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 thevirtualenv
command.menv activate
: Activate the virtual environment.menv deactivate
: Deactivate the virtual environment.menv save
: Save the current requirements to amenv.json
file.menv start
: Install the saved requirements. Use the--force
flag 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
menv-0.0.3.tar.gz
(1.9 kB
view details)
Built Distribution
menv-0.0.3-py3-none-any.whl
(1.9 kB
view details)
File details
Details for the file menv-0.0.3.tar.gz
.
File metadata
- Download URL: menv-0.0.3.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6228a9f5e933fae6a5e7a05c95ab3cbbc7183aff7e7301dd9bd8532c7c409df4
|
|
MD5 |
0f896d81d267f167bdf8353b6e3bd75d
|
|
BLAKE2b-256 |
4d7d380ff852ec3478e5cc545ebc187f1c42fa3487ef6fb4f7044276572853bc
|
File details
Details for the file menv-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: menv-0.0.3-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a30baf11ea4686f460a0a5929cac243d9225756489a3752d40893d4b11f8ede1
|
|
MD5 |
6b40d8b3a494dd6e9c95e71c38dbcc96
|
|
BLAKE2b-256 |
3eeef1fe1b4d8e877a9f033d65cd7f02032435d474675c3bda704ed6994dab6c
|