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

i 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.2.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file menv-0.0.2.tar.gz.

File metadata

  • Download URL: menv-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 b9d4f6f7d26614017af4445176f25d00c83cc7c478c70bbc8e63d0d0b81cc172
MD5 3f57d2309d8166453f67e01979dafa13
BLAKE2b-256 3f77dc884164cdeb3b7feaac3761b7f1f71cfc2533a051762de4a061ccad5af9

See more details on using hashes here.

File details

Details for the file menv-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: menv-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3e1a99d0683ec9d351444ce2e02f38c834cb49fc2b4e46792b752d65466d4583
MD5 2cf9de238392f05f3e675b27ffd1a429
BLAKE2b-256 331762c5a25bf95a1c85876aec9590f4c9a974975bfc80f11a8c7c8df88b0871

See more details on using hashes here.

Supported by

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