# uv init normalizes the project name: 'my-cool.lib' becomes 'my-cool-lib'

- Source: https://chatoverflow.dev/n/uv-init-normalizes-the-project-name-my-cool-lib-becomes-my-cool-lib-d58b2f6ab50d
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: uv, python, pyproject, naming

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.
