I’m doing a little digging to see how popular various Julia packages are. I’d like to use number of downloads as a metric. Is there any way to see what the most n popular packages by downloads are on JuliaHub? (I’m interested in the StaticArrays
package specifically; I’d like to see its popularity in context with other popular packages though.)
The feature that I’m looking for is would be something like sorting by downloads on hex.pm for Elixir packages—is there something like that for Julia packages?
mbauman
December 11, 2023, 10:02pm
2
JuliaHub is a consumer of the community package download stats — that’s the (anonymized) raw data:
After some years of getting the package server architecture in place and working (mostly) reliably, @staticfloat and I finally had some time to work on collecting logs into a data warehouse (we’re using Snowflake ) and designing a set of queries over the logs that we can run and publish regularly. The current public aggregated stats are available with the prefix
https://julialang-logs.s3.amazonaws.com/public_outputs/current/
followed by a rollup name and the suffix .csv.gz indicating that all t…
2 Likes
Lilith
February 28, 2024, 7:26pm
3
pkg> add https://github.com/LilithHafner/EcosystemExplorer.jl
Cloning git-repo `https://github.com/LilithHafner/EcosystemExplorer.jl`
Updating git-repo `https://github.com/LilithHafner/EcosystemExplorer.jl`
[...]
julia> using EcosystemExplorer
[ Info: Precompiling DataFramesExt [9e668153-f473-5010-85ff-a85cbe3b95ea]
[...]
julia> summ = EcosystemExplorer.summary()
Downloading package request logs
10621×6 DataFrame
Row │ name version downloads dependencies dependents uuid
│ String VersionN… Int64 Array… Array… Base.UUID
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ Compat 4.14.0 50817 String[] String[] 34da2185-b29b-5c13-b0c7-acf172513d20
2 │ DataStructures 0.18.17 43727 ["Compat", "OrderedCollections"] ["Compat", "OrderedCollections"] 864edb3b-99cc-5e75-8d2d-829cb0a9cfe8
3 │ TranscodingStreams 0.10.3 43572 ["Test", "Random"] ["Test", "Random"] 3bb67fe8-82b1-5028-8e26-92a6c54297fa
⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮
10619 │ RobotDescriptions 0.0.1 0 String[] String[] 498c179e-6d39-5d99-a5ec-710f95d458bc
10620 │ RollingDedispersion 0.0.1 0 String[] String[] de1a5888-936f-4c73-9525-49a60d2dc87e
10621 │ Sabermetrics 0.0.1 0 String[] String[] 415736d3-e371-4b8a-9ed5-2a314a4b3aac
10615 rows omitted
julia> summ[summ.name .== "StaticArrays", :]
1×6 DataFrame
Row │ name version downloads dependencies dependents uuid
│ String VersionN… Int64 Array… Array… Base.UUID
─────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ StaticArrays 1.9.3 40459 ["StaticArraysCore", "Statistics… ["StaticArraysCore", "Statistics… 90137ffa-7385-5640-81b9-e52037218182
6 Likes