Namespaces for the Python Package Index
Namespaces for the Python Package Index
Posted May 4, 2023 6:35 UTC (Thu) by NYKevin (subscriber, #129325)In reply to: Namespaces for the Python Package Index by SLi
Parent article: Namespaces for the Python Package Index
(The Zen of Python, PEP 20)
In more explicit terms:
* Nobody likes typing out com.example.foo a hundred million times in their import statements.
* Who is to say whether example.com will still be owned by the same people in a year or ten?
* There needs to be a process for PyPI to reclaim an abandoned, compromised, or maliciously-used name, and that process should not involve IANA and/or UDRP.
* I shouldn't need to buy a whole domain for a hobby project (and I am far more likely to do a hobby project in Python than in Java).
Regardless, this surely is not just a local-only thing, because namespace packages have been around for a very long time, and should totally satisfy that need for people doing their own custom deployments. See [1] for details. If this article is to make any sense at all, it must be talking about some sort of *centralized* standard.
[1]: https://packaging.python.org/en/latest/guides/packaging-n...