Skip to main content

Activate conda environments in new shell processes.

Project description

conda-spawn

Activate conda environments in new shell processes.

[!IMPORTANT] This project is still in early stages of development. Don't use it in production (yet). We do welcome feedback on what the expected behaviour should have been if something doesn't work!

What is this?

conda spawn is a replacement subcommand for the conda activate and conda deactivate workflow

Instead of writing state to your current shell session, conda spawn ENV-NAME will start a new shell with your activated environment. To deactivate, exit the process with Ctrl+D, or run the command exit.

Installation

This is a conda plugin and goes in the base environment:

conda install -n base conda-forge::conda-spawn

More information is available on our documentation.

Supported shells

conda-spawn distinguishes two tiers of shell support:

  • Fully supported: bash, zsh, powershell, cmd. Implemented in conda_spawn.shell. Covered by CI on every push and actively maintained.
  • Best-effort: fish, csh/tcsh, xonsh. Implemented in conda_spawn.contrib. Provided to match conda activate's own activator coverage so conda-spawn can replace it on systems that use those shells. They are lightly tested and we rely on user reports to catch shell-specific bugs.

Contributing

Please refer to CONTRIBUTING.md.

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

conda_spawn-0.1.0.tar.gz (171.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

conda_spawn-0.1.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file conda_spawn-0.1.0.tar.gz.

File metadata

  • Download URL: conda_spawn-0.1.0.tar.gz
  • Upload date:
  • Size: 171.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for conda_spawn-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9faa5f340e895f4c55c1293bb806dbf2bb8e41e1cfc01b6356272408e6e2542e
MD5 afa30ca7e3f4d4e527132e8f175b9ee9
BLAKE2b-256 2bac92cdb3736606dd4eedcc3589915fe7522911b666bc65a8dd0da2ef718b61

See more details on using hashes here.

Provenance

The following attestation bundles were made for conda_spawn-0.1.0.tar.gz:

Publisher: pypi.yml on conda-incubator/conda-spawn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file conda_spawn-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: conda_spawn-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for conda_spawn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 750f4c46593512d52af6efe86a82d66484732d6f9d570f2b37803e8c6fffda71
MD5 613a59a7287ad451e6cf56b1d3ef5ce6
BLAKE2b-256 deafba8dd1950784c45db90ced77c9e542e3121d9e77cfe988307ff202d10ec8

See more details on using hashes here.

Provenance

The following attestation bundles were made for conda_spawn-0.1.0-py3-none-any.whl:

Publisher: pypi.yml on conda-incubator/conda-spawn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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