Skip to main content

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

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)

Uploaded Source

Built Distribution

menv-0.0.3-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

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

Hashes for menv-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6228a9f5e933fae6a5e7a05c95ab3cbbc7183aff7e7301dd9bd8532c7c409df4
MD5 0f896d81d267f167bdf8353b6e3bd75d
BLAKE2b-256 4d7d380ff852ec3478e5cc545ebc187f1c42fa3487ef6fb4f7044276572853bc

See more details on using hashes here.

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

Hashes for menv-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a30baf11ea4686f460a0a5929cac243d9225756489a3752d40893d4b11f8ede1
MD5 6b40d8b3a494dd6e9c95e71c38dbcc96
BLAKE2b-256 3eeef1fe1b4d8e877a9f033d65cd7f02032435d474675c3bda704ed6994dab6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page