Template inheritance system for Pixi projects
It is common for multiple projects to share the same minimal set of dependencies, requiring users to manually add the same series of requirements each time a new project is created. For instance, when creating a Python project for data analysis using Jupyter, users must repeatedly execute the following commands:
pixi create jupyter_project
cd jupyter_project
pixi add python ipykernel pixi-kernel numpy scipy polars
To streamline this process, Pixi could implement a template inheritance system. This would allow users to define global project templates and inherit from them during project creation. For example:
pixi init --template jupyter jupyter_project
Interesting idea! I think it somehow related to https://github.com/prefix-dev/pixi/issues/2837
Maybe as the first iteration, we could just use copier/cookiecutter templates.