Skip to main content

Lightweight bootstrapper for a conda executable

Project description

ensureconda

GitHub Workflow Status Licence: MIT PyPI code-style Black

Installation

Python-based

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

Go based

Additionally ensureconda is also available as a statically linked fully stand-alone golang binary. This is a full reimplementation with the same cli as the python version

These can be downloaded from releases

Alternatively if you have go installed you can install from githubg using

$ go install github.com/conda-incubator/ensureconda@latest
$ ensureconda --help

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.4.4.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

ensureconda-1.4.4-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file ensureconda-1.4.4.tar.gz.

File metadata

  • Download URL: ensureconda-1.4.4.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for ensureconda-1.4.4.tar.gz
Algorithm Hash digest
SHA256 2ee70b75f6aa67fca5b72bec514e66deb016792959763cbd48720cfe051a24a4
MD5 f1f213e9032b02471283788c1df8a421
BLAKE2b-256 6c64b50777efef940be697cb83c886acf54948f3cdbf6f31e1bc48c22f874cf9

See more details on using hashes here.

File details

Details for the file ensureconda-1.4.4-py3-none-any.whl.

File metadata

  • Download URL: ensureconda-1.4.4-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for ensureconda-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 260df1546fd450ce00573fe1d7cfc4d29980c2ceb5860de7716807cc59aa85d7
MD5 ae5aeb9a48e0adfaea445ba837618aab
BLAKE2b-256 c981196334bd8939d66be0f265e5aed5ddaf021879a8d2b0844d2385bd971b0f

See more details on using hashes here.

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