Way to view package's download/clone/add count


#1

Because Pkg.add doesn’t hit github, you can’t really collect some important data from the github api.

Is there a way to do something like Pkg.stats("Gadfly") to get information about download counts, etc.

// for reference, i’m using this information to make a package browsing tool like ember observer


#2

I may be misunderstanding what you are referring to here, but this does not seem to be accurate. Pkg runs a clone the first time, and clones are tracked by GH.

I’m not aware of anything turnkey/built-in. There have been occasional discussions about (optional) telemetry, but no implementation yet to my knowledge.

As far as GitHub, if you want clone data it may be helpful to start with GitHub.jl and add support for the traffic API (still-in-beta).


#3

It would also be nice if there was some way to filter out PkgEval, Travis etc.


#4

Just a follow up:

  • Pkg.add most definitely hits github
  • The traffic api requires admin access to the repos

Maybe we should add a http://api.julialang.org for the random api calls that get needed over time?