aclark4life / vanity

Get package download statistics from PyPI
GNU General Public License v2.0
66 stars 14 forks source link

vanity fails on packages with non-canonical names #12

Closed alex closed 10 years ago

alex commented 10 years ago

Packages whose name is not the same as their canonical name don't appear to work:

$ vanity django
No downloads for django.
$ vanity Django
No downloads for django.
aclark4life commented 10 years ago

Strange, this was working until very recently. Maybe @dstufft knows of some PyPI changes that could affect the outcome of such queries? We definitely already have code to handle Django vs. django or Pillow vs pillow or Plone vs. Plone, etc.

alex commented 10 years ago

PyPI changed how the redirecting code worked this past weekend, I suspect that's when it broke.

aclark4life commented 10 years ago

I see, /simple/ doesn't redirect anymore (did it ever?) https://pypi.python.org/simple/django/

I'll rely on /pypi/ instead.