Python Environment Reader (Labs)

This node reads an existing Python environment specification and forwards it to downstream Python-aware nodes such as Python Script nodes. The environment is defined using pixi, a fast package manager built on top of conda-forge and PyPI that ensures reproducible Python environments across different platforms (Windows, Linux, macOS).

The node supports two input sources:

  • Bundled environment (default): Select a Python environment that is bundled with a KNIME extension installed in your Analytics Platform. This allows to use a pre-configured environment without the need for manual setup. A system administrator can manage these environments centrally, ensuring consistency and compliance across the organization.
  • File: Select an existing pixi.toml file from a filesystem. The corresponding pixi.lock file must be located in the same directory as the selected pixi.toml. Both files are read and forwarded through the output port. This is useful for sharing pre-installed environments between workflows or across users.

Using the environment: The output port of this node provides a Python Environment specification that can be connected to Python Script nodes and other Python-aware KNIME nodes. These downstream nodes will automatically use the specified environment when executing Python code.

Note: This node does not create or install environments — it only reads and forwards the environment information. To create and install environments, use the Python Environment Provider node.

Options

Input Mode
Choose how to define the Python environment (TOML file or bundled environment)
Bundled environment
Select a pixi environment from the bundled environments directory.
pixi.toml file
Select the pixi.toml file of an existing pixi environment. The selected file's directory must also contain the matching pixi.lock file and the installed .pixi/ environment folder. All three are required side by side; this node only reads them, it does not install or resolve the environment.

Input Ports

This node has no input ports

Output Ports

Icon
Python environment information (pixi.toml and pixi.lock content)

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.