Trampoline binary for conda — launches tools from isolated conda environments
Project description
conda-trampoline
Small Rust trampoline binary plus a stdlib-only Python helper used by conda-global to run globally installed CLI tools without activating a conda environment every time.
What it does
_cg_trampoline(installed onPATHasbin/_cg_trampolineorScripts/_cg_trampoline.exe) reads a JSON config, adjustsPATHand optional environment variables, thenexecs the real executable.- Each exposed tool is typically a hardlink (or copy) to that single
binary. The trampoline picks the config file from its own filename:
config lives next to the links under a
trampoline/directory (see conda-global’s layout under~/.conda/global/bin).
Config shape (simplified):
{
"exe": "/path/to/real/binary",
"path_diff": "relative/path/prefix/for/PATH",
"env": {}
}
Python package
The conda_trampoline module has no third-party dependencies. It exposes
TrampolineManager to copy the master binary into place, create per-tool
configs, and manage hardlinks — used by conda-global, not usually by
end users directly.
from pathlib import Path
from conda_trampoline import TrampolineManager
tm = TrampolineManager(Path("~/.conda/global/bin").expanduser())
# deploy/remove are normally driven by conda global …
Install
Most people install conda-global, which pulls in conda-trampoline as a dependency. You can also install this package alone from PyPI if you are building tooling on top of the same trampoline layout.
- Repository: https://github.com/conda-incubator/conda-global
- Docs: https://conda-incubator.github.io/conda-global/
License
BSD-3-Clause (same as conda-global).
Design is inspired by pixi’s trampoline idea; this is a clean-room implementation with no shared code.
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 Distributions
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 conda_trampoline-0.2.0.tar.gz.
File metadata
- Download URL: conda_trampoline-0.2.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
770ae5deb744cf20f39427c5b9a5f0c6e0fe770a1cb754be98d146a875f41803
|
|
| MD5 |
1e01185e24a00d1f6c9565fe13466fc4
|
|
| BLAKE2b-256 |
07a365ce32cd7fc6e4ee6d02f06e4ec27a5cb11475f02e2f166e5f621b5d2ba1
|
Provenance
The following attestation bundles were made for conda_trampoline-0.2.0.tar.gz:
Publisher:
release.yml on conda-incubator/conda-global
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conda_trampoline-0.2.0.tar.gz -
Subject digest:
770ae5deb744cf20f39427c5b9a5f0c6e0fe770a1cb754be98d146a875f41803 - Sigstore transparency entry: 1916331100
- Sigstore integration time:
-
Permalink:
conda-incubator/conda-global@e8288af6159e45e82933f96f974ef2fe6b8b5bd8 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/conda-incubator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e8288af6159e45e82933f96f974ef2fe6b8b5bd8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file conda_trampoline-0.2.0-py3-none-win_amd64.whl.
File metadata
- Download URL: conda_trampoline-0.2.0-py3-none-win_amd64.whl
- Upload date:
- Size: 154.2 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33beb7aa922504d26715bd71d13c63f7cf044cb486b102316ea3da570390c408
|
|
| MD5 |
d21803fa2479254465b7d4e0cf4b97fd
|
|
| BLAKE2b-256 |
584dca00126930b7d497c425bd27bc73b69d49ef694523974fb81f0a9bdd7628
|
Provenance
The following attestation bundles were made for conda_trampoline-0.2.0-py3-none-win_amd64.whl:
Publisher:
release.yml on conda-incubator/conda-global
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conda_trampoline-0.2.0-py3-none-win_amd64.whl -
Subject digest:
33beb7aa922504d26715bd71d13c63f7cf044cb486b102316ea3da570390c408 - Sigstore transparency entry: 1916331301
- Sigstore integration time:
-
Permalink:
conda-incubator/conda-global@e8288af6159e45e82933f96f974ef2fe6b8b5bd8 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/conda-incubator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e8288af6159e45e82933f96f974ef2fe6b8b5bd8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file conda_trampoline-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: conda_trampoline-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 229.6 kB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
013e46b11b8ea57242b655f7dbbf07524079e8ec32ed74347ea8dfe10964cfdc
|
|
| MD5 |
72342bd87943bdfec942d86a913fbc58
|
|
| BLAKE2b-256 |
e31e285f8aa4e9ecd81e5ac90b9c0e4384db08ae42c9b1b3b4e38c12b88dc0e7
|
Provenance
The following attestation bundles were made for conda_trampoline-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on conda-incubator/conda-global
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conda_trampoline-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
013e46b11b8ea57242b655f7dbbf07524079e8ec32ed74347ea8dfe10964cfdc - Sigstore transparency entry: 1916331836
- Sigstore integration time:
-
Permalink:
conda-incubator/conda-global@e8288af6159e45e82933f96f974ef2fe6b8b5bd8 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/conda-incubator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e8288af6159e45e82933f96f974ef2fe6b8b5bd8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file conda_trampoline-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: conda_trampoline-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 224.0 kB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
115e9b854960f01ab8b201eef44f639dc9dae7636423de5cc69b2567a50114fd
|
|
| MD5 |
4a2a0cee448c9ecf3325a7a912bb2330
|
|
| BLAKE2b-256 |
413c8ac74bccd9c81c23c9bc5493cf0e3d2ccdc8d83c86887510b7e1a8787ec8
|
Provenance
The following attestation bundles were made for conda_trampoline-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release.yml on conda-incubator/conda-global
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conda_trampoline-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
115e9b854960f01ab8b201eef44f639dc9dae7636423de5cc69b2567a50114fd - Sigstore transparency entry: 1916332166
- Sigstore integration time:
-
Permalink:
conda-incubator/conda-global@e8288af6159e45e82933f96f974ef2fe6b8b5bd8 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/conda-incubator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e8288af6159e45e82933f96f974ef2fe6b8b5bd8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file conda_trampoline-0.2.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: conda_trampoline-0.2.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 205.8 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab70be80d76d438338e20108746ef03a522d2d24b28916f548b4f98cf967294a
|
|
| MD5 |
9b3aaeb38db6a7e7fcc5063bda38e5b9
|
|
| BLAKE2b-256 |
192f99ec30d3a4fbda791a26b22e968df46e563a73ebaee7d0b068c475c54e1d
|
Provenance
The following attestation bundles were made for conda_trampoline-0.2.0-py3-none-macosx_11_0_arm64.whl:
Publisher:
release.yml on conda-incubator/conda-global
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conda_trampoline-0.2.0-py3-none-macosx_11_0_arm64.whl -
Subject digest:
ab70be80d76d438338e20108746ef03a522d2d24b28916f548b4f98cf967294a - Sigstore transparency entry: 1916331668
- Sigstore integration time:
-
Permalink:
conda-incubator/conda-global@e8288af6159e45e82933f96f974ef2fe6b8b5bd8 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/conda-incubator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e8288af6159e45e82933f96f974ef2fe6b8b5bd8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file conda_trampoline-0.2.0-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: conda_trampoline-0.2.0-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 215.2 kB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6205207c2ff9b0aa051eb98450aab1e452d362f4c62d9ee53f3b1dde044dc773
|
|
| MD5 |
9a3360c96719802c1230529da5122323
|
|
| BLAKE2b-256 |
61cfbcfd0ef72e6a6845348338faad4c5b88aa68be234daabbe527d361327678
|
Provenance
The following attestation bundles were made for conda_trampoline-0.2.0-py3-none-macosx_10_12_x86_64.whl:
Publisher:
release.yml on conda-incubator/conda-global
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conda_trampoline-0.2.0-py3-none-macosx_10_12_x86_64.whl -
Subject digest:
6205207c2ff9b0aa051eb98450aab1e452d362f4c62d9ee53f3b1dde044dc773 - Sigstore transparency entry: 1916332471
- Sigstore integration time:
-
Permalink:
conda-incubator/conda-global@e8288af6159e45e82933f96f974ef2fe6b8b5bd8 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/conda-incubator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e8288af6159e45e82933f96f974ef2fe6b8b5bd8 -
Trigger Event:
push
-
Statement type: