Lightweight bootstrapper for a conda executable
Project description
ensureconda
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
- Find a preexisting conda/mamba executable
- Install one if nothing was found and installation is allowed.
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ensureconda-1.6.0.tar.gz.
File metadata
- Download URL: ensureconda-1.6.0.tar.gz
- Upload date:
- Size: 57.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52b3279cd48002cd0ed5f42a00dd1e4a9086a99d1fa68375e8920fde95f77738
|
|
| MD5 |
44a078433f50c9b351377e170ebac7c0
|
|
| BLAKE2b-256 |
d48049c5df6f90d1bad1d2b071c2f4937edb0cc9bd060ffef274bb16878a7a4f
|
File details
Details for the file ensureconda-1.6.0-py3-none-any.whl.
File metadata
- Download URL: ensureconda-1.6.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df518b64b08640a1e5e37b1c80d90810a8f5ad0a1b9938aaa740653bb66ef538
|
|
| MD5 |
c5ee1a3d62a37d3d4ef7cc86290847a1
|
|
| BLAKE2b-256 |
f56482570019b199a85b1d9559e75f448272fc6a79201d8692a1357f3f803837
|