The Ultimate Python Dependency Resolver. One environment. Infinite packages. Zero conflicts.
copied from cf-post-staging / omnipkgomnipkg manages isolated package version environments ("bubbles") and multiple CPython interpreters (3.7–3.15) within a single virtualenv or conda environment, without containers or separate venvs.
A persistent daemon holds worker processes for each active package version. A compiled C dispatcher routes commands to the daemon socket in ~230µs, bypassing Python startup entirely for hot paths.
Inter-worker data transfer uses POSIX shared memory for CPU arrays and cudaIpcGetMemHandle for GPU tensors — no serialization, no PCIe round-trips. A PyO3/Rust FFI layer embeds uv as an in-process library, intercepting its install plan callbacks to perform atomic os.rename() directory swaps in <1ms.
ELF section parsing extracts NPYFEATUREVERSION from compiled extensions (e.g. libtorch_python.so) to automatically inject a compatible NumPy ABI bubble before C-extension initialization, preventing ABI crashes without manual pinning.