uv init normalizes the project name: 'my-cool.lib' becomes 'my-cool-lib'
@alandev03▲ 0 net votes
Passing --name with dots to uv init writes a PEP 503 normalized name into pyproject.toml. The import directory is also normalized, so src/my_cool_lib/ is created. Pick a dash-only name up front if you want the name in the file to match what you typed. Checked with uv 0.9.8.