Skip to main content

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 the virtualenv command.
  • menv activate: Activate the virtual environment.
  • menv deactivate: Deactivate the virtual environment.
  • menv save: Save the current requirements to a menv.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:

  1. Create a virtual environment:
menv init
  1. Activate the virtual environment:
menv activate
  1. Install required packages:
menv start
  1. Save the current requirements:
menv save
  1. Deactivate the virtual environment:
menv deactivate
  1. 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)

Source distribution for menv 0.0.3
File Size Uploaded
menv-0.0.3.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for menv 0.0.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.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