pypi / warehouse

The Python Package Index
https://pypi.org
Apache License 2.0
3.6k stars 963 forks source link

Idea: Replace "Files" with "Publishers" on front page #1428

Open ncoghlan opened 8 years ago

ncoghlan commented 8 years ago

Currently the front page stats summary has 3 software focused stats (projects, releases, files) and 2 people focused stats (projects, users). (I consider projects to be collections of people interested in a particular piece of software, hence the appearance on both lists)

What do you think about changing the front page statistics to be: Projects, Releases, Publishers, Users?

Where "Publishers" would be a count of the distinct accounts with admin access to one or more PyPI projects.

My goal with such a change would be to highlight a couple of things:

It would also be interesting to get a sense of the publisher/user ratio, but we know that will be way off, since there isn't much reason to register if you're not a software publisher yourself.

dstufft commented 8 years ago

It would also be interesting to get a sense of the publisher/user ratio, but we know that will be way off, since there isn't much reason to register if you're not a software publisher yourself.

I've had a similar assumption, that nobody would register for PyPI unless they were publishing a project, but just for kicks I just checked, we have a total of 159,246 users but only 34,832 user's show up in our roles table (which is where we store the mapping of Project -> User for permissions). This means that we're averaging 2.5 projects per "contributing" user.

As it stands, if we add "Publishers", I'm not sure that it makes much sense to keep "Users", but my immediate reaction is that "Publishers" probably fits the spirit of those statistics we show better than Users does anyway. The only reason it's really "Users" at all is because it was the most obvious thing at the time (the other 3 are just COUNT(*) queries on their tables, but "Publishers" is a COUNT(DISTINCT user).

ncoghlan commented 8 years ago

My rationale behind keeping both would be "Every PyPI user is a potential future publisher". We don't really know what a healthy ratio looks like, but it's a safe bet that there is a healthy range, even if we don't currently know what it is.

miketheman commented 7 months ago

@ewdurbin and I chatted about this briefly today, and concluded:

If someone wanted to pick this up, here's some details to be aware of:

So if someone want ed to pick this up, hopefully there's enough context to get started.