Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ensureconda

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ensureconda

Lightweight bootstrapper for a conda executable

  • 1.4.4
  • PyPI
  • Socket score

Maintainers
3

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc