That doesn't fix the problem, that just makes it so every package now has a random prefix. Instead of having to know that "yaml" is provided by "pyyaml", you will have to know it's "ingy/yaml".
Sure, but combined with other methods, you get something much better.
Maybe I invent a protocol today called "hitta" and make a new package called
"hitta"
I'm pretty much automatically going to be the de facto standard, even if better, more updated implementations exist. Names matter.
But if my implementation is called
hittaorg/hitta
Organizations and users (publishers) can be verified, and the tools integrate correctly; you gain better package context, increase trust, and reduce supply chain risks.
Now, if user123 has a better version, they might make
user/package-name group/package-name
etc...