astral-sh / uv

An extremely fast Python package and project manager, written in Rust.
https://docs.astral.sh/uv
Apache License 2.0
26.43k stars 769 forks source link

[feature request] `uv init` command compatible with cookiecutter/copier templates #4759

Open baggiponte opened 4 months ago

baggiponte commented 4 months ago

I have been using the package management uv features, albeit in preview. Amazing product, responsiveness and pace of development 🚀

PDM has a great feature: the pdm init command can take --cookiecutter or --copier optional argument to initialise a project (including scaffold) using a template ref. I don't know how to reproduce that in uv - I don't know what template engine there is in Rust, maybe Armin's minijinja? Would be a slick feature.

astrojuanlu commented 4 months ago

https://rye.astral.sh/guide/commands/init/ ?

pauleveritt commented 2 months ago

Agreed. Scaffolding from community templates would be a nice (but not critical) next step. No comment on cookiecutter vs. copier vs. other.