Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Predictable file URLs #1239

Closed
toddrme2178 opened this issue Jun 6, 2016 · 3 comments
Closed

Predictable file URLs #1239

toddrme2178 opened this issue Jun 6, 2016 · 3 comments

Comments

@toddrme2178
Copy link

It used to be that pypi had urls for files that followed predictable a predictable pattern. Specifically, the download was of the form http://pypi.python.org/packages/source/{first letter of package name}/{package name}/{file name}. This made it great for automated validation and downloads, since once you got the pattern it would work for all future versions. The current file names, however, don't have any obvious pattern, instead using some sequence of characters like https://files.pythonhosted.org/packages/ae/98/3b27e0a3c53ec0d6727eb19da46eed5705fa9250ed28ec0d1df48778c401/Django-1.10a1.tar.gz. I think for third-party tools having a simple, predictable file name would be really helpful. It wouldn't have to be the same pattern, but something that follows a consistent, predictable pattern.

@dstufft
Copy link
Member

dstufft commented Jun 6, 2016

You can use https://files.pythonhosted.org/packages/sources/D/Django/1.10.a1.tar.gz, it will redirect to the correct URL.

@dstufft dstufft closed this as completed Jun 6, 2016
@minrk
Copy link
Contributor

minrk commented Dec 19, 2016

Is there an equivalent predictable URL for wheels, etc.?

@WhyNotHugo
Copy link

Is there an equivalent predictable URL for wheels, etc.?

I'd like to subscribe to this, I can't find any predictable URL for wheels either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants