Skip to main content

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

Configuring conda-standalone channel

When ensureconda downloads the conda-standalone executable, you can select the channel via the environment variable ENSURECONDA_CONDA_STANDALONE_CHANNEL. It defaults to conda-forge, and you can set it to anaconda if you prefer:

export ENSURECONDA_CONDA_STANDALONE_CHANNEL=anaconda
ensureconda --conda-exe

The corresponding package page used is:

https://anaconda.org/$ENSURECONDA_CONDA_STANDALONE_CHANNEL/conda-standalone

License

ensureconda is distributed under the terms of the MIT License.

Metadata

Release files for ensureconda 1.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ensureconda 1.7.0
File Size Uploaded Provenance
ensureconda-1.7.0.tar.gz 59.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ensureconda 1.7.0
File Interpreter ABI Platform
ensureconda-1.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 73.3 kB

Release files / ensureconda-1.7.0.tar.gz

Download URL ensureconda-1.7.0.tar.gz
Size 59.6 kB
Tags Source
SHA-256 checksum
How to use checksums
03cf27ffc3c976f4770263ce4fd2740d32de636da30252195b0a8cd9b7e26558
BLAKE2b-256 checksum
How to use checksums
ad09a6c41ba2e9ab10c9652758be3b0130278500084d280bb9bf703b97356191
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ensureconda-1.7.0-py3-none-any.whl

Download URL ensureconda-1.7.0-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec57364dacac5e7baacd5a972f2a92a7284fce6bcc578941a0e14c85cc5a3f04
BLAKE2b-256 checksum
How to use checksums
41d7bdcbc4f3560e7922f9db447b3f00a724f0a76f61fc7d494590b8a7fb6b25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for ensureconda 1.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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