Me and @jamadden are moderators on PyPI and as part of our work we deal with PEP 541 requests from users, many of them fall under the invalid project category of PEP 541 for name squatting:
project is name squatting (package has no functionality or is empty);
In my travels on the admin interface I’ve found many other instances sometimes the same user name squatting a long list of names.
Given the PEP is quite clear about this not being allowed I wonder if the overall packaging ecosystem, e.g. twine, warehouse and others, should do more to actively discourage this practice.
I realize the key to this issue is to be able to assess what constitutes a “functional” package. I’ve found examples of packages with a single bogus function or a chunk of copy/pasted code. But I do think we could do a better job on detecting very clear cases of empty packages and prevent them from being uploaded or maybe show a warning in PyPI/pip letting users know of this fact.
I’d love to hear some thoughts from the community about this.