conda-inject
Helper functions for injecting a conda environment into the current python environment (by modifying sys.path, without actually changing the current python environment).
What it is and what it does
conda-inject is a utility for dynamically loading packages from a conda environment into your current Python process without activating that environment. It works by manipulating sys.path to prepend the target environment's site-packages directory, making its packages importable as if they were installed in the active environment. This is useful when you need to access packages from a specific conda environment without the overhead or side effects of full environment activation.
The package depends only on pyyaml and supports Python 3.9, 3.10, 3.11, and 3.12. It is currently dormant—last release was 2024-05-27—so it receives no active maintenance. The license is undeclared, which may be a concern for some use cases.
Use it for:
- Load packages from an isolated conda environment in a script without activating it.
- Dynamically switch between multiple conda environments' packages within a single Python session.
- Test compatibility of code against packages from a specific conda environment without environment switching overhead.
- Integrate conda-managed dependencies into a containerized or CI/CD workflow where full activation is impractical.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Injects a conda environment's packages into the current Python process by modifying sys.path, without changing the active conda environment.
Yes, if you need lightweight runtime injection of conda packages and can tolerate dormant maintenance. The low install friction and lack of vulnerabilities make it safe to try. However, verify the undeclared license for your use case, and be aware that no active maintenance means no bug fixes or updates. Consider it a stable utility rather than an actively developed tool.
Install
conda-inject on PyPI
pip
pip install conda-injectuv
uv add conda-injectpoetry
poetry add conda-injectInstalling conda-inject
Before you install
Low install friction with a single runtime dependency (pyyaml). Package is dormant—no releases recorded in recent years—so expect no active maintenance or bug fixes.
License in practice
License status is unclear; no SPDX identifier or raw license text is available. Verify the actual license before use in proprietary or copyleft-sensitive contexts.
Quickstart
pip install conda-inject
import conda_inject
conda_inject.inject_conda_env('/path/to/conda/env')
Requires Python 3.9 or later. The package modifies sys.path at runtime; ensure the target conda environment path is valid and accessible.
Verify before relying
- What specific functions does the package export and what are their signatures?
- Does the package handle conda environment discovery, or must the path be provided explicitly?
- Are there known edge cases or limitations when injecting multiple environments or conflicting package versions?
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (<4.0,>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — pyyaml |
| Maintenance | dormant — 809 days since the last release |
| First released | |
| Downloads | 111,859/month — #12,393 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: conda_inject-1.3.2-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
doppler-envInjects Doppler secrets as environment…
permissive · top 15,000 on PyPI
injectProvides a lightweight dependency injection…
permissive · top 5,000 on PyPI
locateProvides utilities to locate the current Python…
unclear · top 5,000 on PyPI
dependency-injectorDependency Injector is a dependency injection…
permissive · top 5,000 on PyPI
coherent.licensedA Setuptools plugin that automatically injects…
permissive · top 15,000 on PyPI
injectorInjector is a Python dependency injection…
permissive · top 5,000 on PyPI
juliapkgManages Julia language installation and package…
permissive · top 15,000 on PyPI
fridaPython bindings for Frida, a dynamic…
unclear · top 5,000 on PyPI
in-n-outLightweight dependency injection framework…
permissive · top 15,000 on PyPI
rootpathDetects a Python project or package root…
permissive · top 15,000 on PyPI