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

Assess libraries.io trending projects feed, consider replacing ours #3252

Closed
brainwane opened this issue Mar 14, 2018 · 3 comments · Fixed by #12888
Closed

Assess libraries.io trending projects feed, consider replacing ours #3252

brainwane opened this issue Mar 14, 2018 · 3 comments · Fixed by #12888
Labels
feature request help needed We'd love volunteers to advise on or help fix/implement this. needs discussion a product management/policy issue maintainers and users should discuss

Comments

@brainwane
Copy link
Contributor

The Libraries.io list of trending PyPI projects is very different from the one on the http://pypi.org/ front page. Our list just computes a zscore of downloads. We should check their data & methods, and if their results are more interesting or better than ours, we should hit their API and use their list instead of ours on our front page.

From IRC today.

@brainwane brainwane added help needed We'd love volunteers to advise on or help fix/implement this. feature request needs discussion a product management/policy issue maintainers and users should discuss labels Mar 14, 2018
@brainwane brainwane added this to the Cool but not urgent milestone Mar 14, 2018
@browniebroke
Copy link
Contributor

I've looked under the hood at the libraries.io source code, to try to understand how their trending list was computed. However, I'm not so familiar with Ruby or Rails, so let's see what I can find... I've started by searching for "trending", which trimmed down the results.

At first glance, there is a query from the repository model which name looked promising. But the other search results from Github seem to reference the hacker_news query instead of the trending one. I'm not clear which query is used, but it seems it relies on Github stars?

Now, looking at their API documentation, I'm not sure there is an endpoint available to expose this trending data. The project search seems interesting but seems to require a search term.

Is that answering the research questions?

@brainwane
Copy link
Contributor Author

I appreciate you looking into this, @browniebroke!

@andrew is a maintainer of Libraries.io and could probably help answer our question about the endpoint availability and how we'd access trending data.

@browniebroke could you try comparing the list of trending projects on the pypi.org front page with the list at https://libraries.io/trending?platforms=PyPI , and briefly assess how widely used or trending some of those projects seem to be (when you look for mentions of them on social media, on GitHub, in StackOverflow, and in new release announcements)? That might help us figure out how different the results are.

@pradyunsg
Copy link
Contributor

librariesio/libraries.io@aebab87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request help needed We'd love volunteers to advise on or help fix/implement this. needs discussion a product management/policy issue maintainers and users should discuss
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants