3 ms·
> It uses underscore rather than hyphen because modules/packages must be legal Python names. A hyphen would be parsed as subtraction. And inversely, PyPI norma
by comfydragon 6y ago
> It uses underscore rather than hyphen because modules/packages must be legal Python names. A hyphen would be parsed as subtraction.
And inversely, PyPI normalizes the package name (the name you give to `pip install`) to use hyphens instead of underscores. https://www.python.org/dev/peps/pep-0503/#normalized-names https://www.python.org/dev/peps/pep-0503/#normalized-names