Quantcast

Fwd: [ pypi-Bugs-3488989 ] Need a way to list all package versions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Fwd: [ pypi-Bugs-3488989 ] Need a way to list all package versions

anatoly techtonik
Hi,

I find SF tracker very annoying, because it doesn't even allow to add comments to a closed issue (see below). That's why crossposting here.

So, there two questions:
1. does anybody else also thinks that having a way to list all package versions available on PyPI would be awesome?
2. is there people who don't like SF tracker?

Please, CC.


---------- Forwarded message ----------
From: SourceForge.net <[hidden email]>
Date: Sat, Feb 18, 2012 at 8:14 PM
Subject: [ pypi-Bugs-3488989 ] Need a way to list all package versions
To: "SourceForge.net" <[hidden email]>


Bugs item #3488989, was opened at 2012-02-18 03:58
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=513503&aid=3488989&group_id=66150

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: anatoly techtonik (techtonik)
Assigned to: Nobody/Anonymous (nobody)
Summary: Need a way to list all package versions

Initial Comment:
Web interface doesn't have a feature to list all package version available from PyPI. This can be handy.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2012-02-18 09:14

Message:
You cannot. This is intentional; the Sphinx authors chose to hide all but
the current version from you.

Closing the report as "works for me"; PyPI does support listing multiple
versions, and the feature seems to work correctly as designed.

----------------------------------------------------------------------

Comment By: anatoly techtonik (techtonik)
Date: 2012-02-18 06:47

Message:
All right. So, how can I list all Sphinx versions available from PyPI using
web interface of Python Package Index?

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2012-02-18 06:20

Message:
Becausse only a single releae of Sphinx is visible.

----------------------------------------------------------------------

Comment By: anatoly techtonik (techtonik)
Date: 2012-02-18 05:26

Message:
Why I can't see anything for Sphinx?

http://pypi.python.org/pypi/Sphinx

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2012-02-18 04:11

Message:
It most certainly supports listing all versions. E.g. if you go to

http://pypi.python.org/pypi/Django

you see all Django versions.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=513503&aid=3488989&group_id=66150


_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: [ pypi-Bugs-3488989 ] Need a way to list all package versions

Donald Stufft
On Saturday, February 18, 2012 at 4:01 PM, anatoly techtonik wrote:
Hi,

I find SF tracker very annoying, because it doesn't even allow to add comments to a closed issue (see below). That's why crossposting here.

So, there two questions:
1. does anybody else also thinks that having a way to list all package versions available on PyPI would be awesome?
It's possible via the API to list all packages regardless of hidden or not. The Web UI doesn't support it. I'm assuming from the ticket PyPI is happy with the way it works, but fwiw you can see all the package versions for Sphinx at http://crate.io/packages/Sphinx/  (click the All Versions tab). 
2. is there people who don't like SF tracker?
Haven't really used the SF tracker, but if it doesn't allow comments on closed issues that would be mildly annoying to me. 
 

Please, CC.


---------- Forwarded message ----------
From: SourceForge.net <[hidden email]>
Date: Sat, Feb 18, 2012 at 8:14 PM
Subject: [ pypi-Bugs-3488989 ] Need a way to list all package versions
To: "SourceForge.net" <[hidden email]>


Bugs item #3488989, was opened at 2012-02-18 03:58
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=513503&aid=3488989&group_id=66150

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: anatoly techtonik (techtonik)
Assigned to: Nobody/Anonymous (nobody)
Summary: Need a way to list all package versions

Initial Comment:
Web interface doesn't have a feature to list all package version available from PyPI. This can be handy.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2012-02-18 09:14

Message:
You cannot. This is intentional; the Sphinx authors chose to hide all but
the current version from you.

Closing the report as "works for me"; PyPI does support listing multiple
versions, and the feature seems to work correctly as designed.

----------------------------------------------------------------------

Comment By: anatoly techtonik (techtonik)
Date: 2012-02-18 06:47

Message:
All right. So, how can I list all Sphinx versions available from PyPI using
web interface of Python Package Index?

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2012-02-18 06:20

Message:
Becausse only a single releae of Sphinx is visible.

----------------------------------------------------------------------

Comment By: anatoly techtonik (techtonik)
Date: 2012-02-18 05:26

Message:
Why I can't see anything for Sphinx?

http://pypi.python.org/pypi/Sphinx

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2012-02-18 04:11

Message:
It most certainly supports listing all versions. E.g. if you go to

http://pypi.python.org/pypi/Django

you see all Django versions.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=513503&aid=3488989&group_id=66150

_______________________________________________
Catalog-SIG mailing list


_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: [ pypi-Bugs-3488989 ] Need a way to list all package versions

"Martin v. Löwis"
> Haven't really used the SF tracker, but if it doesn't allow comments  
> on closed issues that would be mildly annoying to me.

It's an per-issue option available to developers; I chose to close this
issue for comments. I could have allowed follow-ups, so this wasn't SF's
choice.

Regards,
Martin

_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: [ pypi-Bugs-3488989 ] Need a way to list all package versions

Hanno Schlichting-4
In reply to this post by Donald Stufft
On Sat, Feb 18, 2012 at 10:07 PM, Donald Stufft <[hidden email]> wrote:
> It's possible via the API to list all packages regardless of hidden or not.
> The Web UI doesn't support it. I'm assuming from the ticket PyPI is happy
> with the way it works, but fwiw you can see all the package versions for
> Sphinx at http://crate.io/packages/Sphinx/  (click the All Versions tab).

You can always look at the index view at for example
http://pypi.python.org/simple/Sphinx/ - though this view is made for
tools and not humans ;)

If you are only interested in downloads hosted on PyPi see for example
http://pypi.python.org/packages/source/S/Sphinx/

Hanno
_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: [ pypi-Bugs-3488989 ] Need a way to list all package versions

Daniel Greenfeld
In reply to this post by anatoly techtonik
The documentation and API to solve #1 has been available for a long
time. We've used the PyPI API on hidden packages to do counts on for
Django Packages for 1.5 years. It's a pretty easy query.

Danny

On Sat, Feb 18, 2012 at 1:01 PM, anatoly techtonik <[hidden email]> wrote:

> Hi,
>
> I find SF tracker very annoying, because it doesn't even allow to add
> comments to a closed issue (see below). That's why crossposting here.
>
> So, there two questions:
> 1. does anybody else also thinks that having a way to list all package
> versions available on PyPI would be awesome?
> 2. is there people who don't like SF tracker?
>
> Please, CC.
>
>
> ---------- Forwarded message ----------
> From: SourceForge.net <[hidden email]>
> Date: Sat, Feb 18, 2012 at 8:14 PM
> Subject: [ pypi-Bugs-3488989 ] Need a way to list all package versions
> To: "SourceForge.net" <[hidden email]>
>
>
> Bugs item #3488989, was opened at 2012-02-18 03:58
> Message generated for change (Comment added) made by loewis
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=513503&aid=3488989&group_id=66150
>
> Please note that this message will contain a full copy of the comment
> thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: None
> Group: None
>>Status: Closed
>>Resolution: Works For Me
> Priority: 5
> Private: No
> Submitted By: anatoly techtonik (techtonik)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: Need a way to list all package versions
>
> Initial Comment:
> Web interface doesn't have a feature to list all package version available
> from PyPI. This can be handy.
>
> ----------------------------------------------------------------------
>
>>Comment By: Martin v. Löwis (loewis)
> Date: 2012-02-18 09:14
>
> Message:
> You cannot. This is intentional; the Sphinx authors chose to hide all but
> the current version from you.
>
> Closing the report as "works for me"; PyPI does support listing multiple
> versions, and the feature seems to work correctly as designed.
>
> ----------------------------------------------------------------------
>
> Comment By: anatoly techtonik (techtonik)
> Date: 2012-02-18 06:47
>
> Message:
> All right. So, how can I list all Sphinx versions available from PyPI using
> web interface of Python Package Index?
>
> ----------------------------------------------------------------------
>
> Comment By: Martin v. Löwis (loewis)
> Date: 2012-02-18 06:20
>
> Message:
> Becausse only a single releae of Sphinx is visible.
>
> ----------------------------------------------------------------------
>
> Comment By: anatoly techtonik (techtonik)
> Date: 2012-02-18 05:26
>
> Message:
> Why I can't see anything for Sphinx?
>
> http://pypi.python.org/pypi/Sphinx
>
> ----------------------------------------------------------------------
>
> Comment By: Martin v. Löwis (loewis)
> Date: 2012-02-18 04:11
>
> Message:
> It most certainly supports listing all versions. E.g. if you go to
>
> http://pypi.python.org/pypi/Django
>
> you see all Django versions.
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=513503&aid=3488989&group_id=66150
>
>
> _______________________________________________
> Catalog-SIG mailing list
> [hidden email]
> http://mail.python.org/mailman/listinfo/catalog-sig
>



--
'Knowledge is Power'
Daniel Greenfeld
http://pydanny.blogspot.com
_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

pypi.python.org configuration

David Moss-6
In reply to this post by anatoly techtonik
Would it be possible to get hold of a sanitized version of the Apache config running pypi.python.org, in particular the Apache mod_rewrite rules?

Regards,

Dave M.
_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: pypi.python.org configuration

Richard Jones-32
On 23 February 2012 07:04, drkjam <[hidden email]> wrote:
> Would it be possible to get hold of a sanitized version of the Apache config running pypi.python.org, in particular the Apache mod_rewrite rules?

PyPI doesn't run behind Apache any more; Martin moved it to
nginx/uwsgi to address Apache performance issues we were running into.

There's only one rewrite in the current configuration for pypi.python.org:

        rewrite ^/$ $scheme://pypi.python.org/pypi redirect;

Was there something specific you wanted to know?


    Richard
_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: pypi.python.org configuration

David Moss-6
On 22 Feb 2012, at 23:27, Richard Jones <[hidden email]> wrote:

> On 23 February 2012 07:04, drkjam <[hidden email]> wrote:
>> Would it be possible to get hold of a sanitized version of the Apache config running pypi.python.org, in particular the Apache mod_rewrite rules?
>
> PyPI doesn't run behind Apache any more; Martin moved it to
> nginx/uwsgi to address Apache performance issues we were running into.
>
> There's only one rewrite in the current configuration for pypi.python.org:
>
>        rewrite ^/$ $scheme://pypi.python.org/pypi redirect;
>
> Was there something specific you wanted to know?
>
>
>    Richard

Ah, good to know, thanks.

I noticed (and replicated) the behaviour of the rewrite rule you mention. Also I've observed that URLs to packages with dashes in their names get redirected to ones where these have been replaced by underscores e.g. cx-Oracle -> cx_Oracle. I've just released a modified clone (chishop, Apache/mod_wsgi) for internal use at a company and ran into this one.

Are there any other URL mods lurking that I should be aware of to be added to my implementation?
_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: pypi.python.org configuration

"Martin v. Löwis"
> I noticed (and replicated) the behaviour of the rewrite rule you
> mention. Also I've observed that URLs to packages with dashes in
> their names get redirected to ones where these have been replaced by
> underscores e.g. cx-Oracle -> cx_Oracle. I've just released a
> modified clone (chishop, Apache/mod_wsgi) for internal use at a
> company and ran into this one.
>
> Are there any other URL mods lurking that I should be aware of to be
> added to my implementation?

PyPI does Redirects in many cases, but not in the web server. See

https://svn.python.org/packages/trunk/pypi/webui.py

Regards,
Martin
_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: pypi.python.org configuration

David Moss-6
On 23 Feb 2012, at 21:20, "Martin v. Löwis" <[hidden email]> wrote:

>> I noticed (and replicated) the behaviour of the rewrite rule you
>> mention. Also I've observed that URLs to packages with dashes in
>> their names get redirected to ones where these have been replaced by
>> underscores e.g. cx-Oracle -> cx_Oracle. I've just released a
>> modified clone (chishop, Apache/mod_wsgi) for internal use at a
>> company and ran into this one.
>>
>> Are there any other URL mods lurking that I should be aware of to be
>> added to my implementation?
>
> PyPI does Redirects in many cases, but not in the web server. See
>
> https://svn.python.org/packages/trunk/pypi/webui.py
>
> Regards,
> Martin

OK, I take a look through the code.

Many thanks,

Dave M.
_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: [ pypi-Bugs-3488989 ] Need a way to list all package versions

anatoly techtonik
In reply to this post by Donald Stufft
On Sun, Feb 19, 2012 at 12:07 AM, Donald Stufft <[hidden email]> wrote:

> On Saturday, February 18, 2012 at 4:01 PM, anatoly techtonik wrote:
>
> Hi,
>
> I find SF tracker very annoying, because it doesn't even allow to add
> comments to a closed issue (see below). That's why crossposting here.
>
> So, there two questions:
> 1. does anybody else also thinks that having a way to list all package
> versions available on PyPI would be awesome?
>
> It's possible via the API to list all packages regardless of hidden or not.
> The Web UI doesn't support it. I'm assuming from the ticket PyPI is happy
> with the way it works, but fwiw you can see all the package versions for
> Sphinx at http://crate.io/packages/Sphinx/  (click the All Versions tab).

Thanks for replies about API, I used XML-RPC myself, but it's not a
good user experience to require Python shell to get information from
the web site. http://pypi.python.org/packages/source/S/Sphinx/ really
helps to see what packages are available using browser alone, but
unfortunately it is a hidden magic.

> 2. is there people who don't like SF tracker?
>
> Haven't really used the SF tracker, but if it doesn't allow comments on
> closed issues that would be mildly annoying to me.

I wonder what are the reasons not to use it?
--
anatoly t.
_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: [ pypi-Bugs-3488989 ] Need a way to list all package versions

Richard Jones-32
On 28 February 2012 22:07, anatoly techtonik <[hidden email]> wrote:

> On Sun, Feb 19, 2012 at 12:07 AM, Donald Stufft <[hidden email]> wrote:
>> On Saturday, February 18, 2012 at 4:01 PM, anatoly techtonik wrote:
>> 1. does anybody else also thinks that having a way to list all package
>> versions available on PyPI would be awesome?
>>
>> It's possible via the API to list all packages regardless of hidden or not.
>> The Web UI doesn't support it. I'm assuming from the ticket PyPI is happy
>> with the way it works, but fwiw you can see all the package versions for
>> Sphinx at http://crate.io/packages/Sphinx/  (click the All Versions tab).
>
> Thanks for replies about API, I used XML-RPC myself, but it's not a
> good user experience to require Python shell to get information from
> the web site. http://pypi.python.org/packages/source/S/Sphinx/ really
> helps to see what packages are available using browser alone, but
> unfortunately it is a hidden magic.

When PyPI was created there was a design discussion and decision made
that the site implement the most common case which is that package
authors expose only one version, the most recent one. Unsupported
versions are deliberately difficult to find. That's the point. The
intention is to reduce the authors' maintenance burden by discouraging
people from using older versions of their software.

Your example project, Sphinx, advertises precisely one current
version, 1.1.2. This is the one on their website and it's the one on
PyPI.

Some packages expose more versions because they have multiple release
branches and that's their choice. More versions are findable on the
site for those packages.

And, as has been pointed out, for data mining applications you can get
access to the full data.


     Richard
_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: [ pypi-Bugs-3488989 ] Need a way to list all package versions

anatoly techtonik
On Tue, Feb 28, 2012 at 2:35 PM, Richard Jones <[hidden email]> wrote:

> On 28 February 2012 22:07, anatoly techtonik <[hidden email]> wrote:
>> On Sun, Feb 19, 2012 at 12:07 AM, Donald Stufft <[hidden email]> wrote:
>>> On Saturday, February 18, 2012 at 4:01 PM, anatoly techtonik wrote:
>>> 1. does anybody else also thinks that having a way to list all package
>>> versions available on PyPI would be awesome?
>>>
>>> It's possible via the API to list all packages regardless of hidden or not.
>>> The Web UI doesn't support it. I'm assuming from the ticket PyPI is happy
>>> with the way it works, but fwiw you can see all the package versions for
>>> Sphinx at http://crate.io/packages/Sphinx/  (click the All Versions tab).
>>
>> Thanks for replies about API, I used XML-RPC myself, but it's not a
>> good user experience to require Python shell to get information from
>> the web site. http://pypi.python.org/packages/source/S/Sphinx/ really
>> helps to see what packages are available using browser alone, but
>> unfortunately it is a hidden magic.
>
> When PyPI was created there was a design discussion and decision made
> that the site implement the most common case which is that package
> authors expose only one version, the most recent one. Unsupported
> versions are deliberately difficult to find. That's the point. The
> intention is to reduce the authors' maintenance burden by discouraging
> people from using older versions of their software.
>
> Your example project, Sphinx, advertises precisely one current
> version, 1.1.2. This is the one on their website and it's the one on
> PyPI.
>
> Some packages expose more versions because they have multiple release
> branches and that's their choice. More versions are findable on the
> site for those packages.
>
> And, as has been pointed out, for data mining applications you can get
> access to the full data.
>
>
>     Richard

Thanks for the proper explanation. At last, after 11 days and
catalog-sig subscription. =) This proves that SF tracker is useless
and fails to communicate with users. It would be interesting to
glimpse at the archives of this design discussion. I can not agree
that users should be deliberately limited.
--
anatoly t.
_______________________________________________
Catalog-SIG mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/catalog-sig
Loading...