Skip to main content

Install and run applications packaged with conda in isolated environments

Project description

ensureconda

GitHub Workflow Status Licence: MIT PyPI code-style Black

Installation

ensureconda is distributed on PyPI as a universal wheel and is available on Linux, macOS and Windows and supports Python 3.6+ and PyPy.

$ pip install ensureconda

Usage

Ensureconda is a cli tool that will

  1. Find a preexisting conda/mamba executable
  2. Install one if nothing was found and installation is allowed.
  3. Return the path of the executable found/installed on stdout
ensureconda --help
Usage: ensureconda [OPTIONS]

  Ensures that a conda/mamba is installed.

Options:
  --mamba / --no-mamba            search for mamba
  --micromamba / --no-micromamba  search for micromamba, install if not
                                  present

  --conda / --no-conda            search for conda
  --conda-exe / --no-conda-exe    search for conda.exe / conda-standalone,
                                  install if not present

  --no-install                    don't install conda/mamba if no version can
                                  be discovered

  --min-conda-version VERSIONNUMBER
                                  minimum version of conda to accept (defaults
                                  to 4.8.2)

  --min-mamba-version VERSIONNUMBER
                                  minimum version of mamba/micromamba to
                                  accept (defaults to 0.7.3)

  --help                          Show this message and exit.

License

ensureconda is distributed under the terms of the MIT License.

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

ensureconda-1.3.0.tar.gz (10.3 kB view hashes)

Uploaded Source

Supported by

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