Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ddanilov/debian-popcon-clj
Plot popularity contest statistics of Debian packages
https://github.com/ddanilov/debian-popcon-clj
clojure debian packages popcon
Last synced: about 1 month ago
JSON representation
Plot popularity contest statistics of Debian packages
- Host: GitHub
- URL: https://github.com/ddanilov/debian-popcon-clj
- Owner: ddanilov
- License: mit
- Created: 2022-04-10T08:14:56.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-23T21:23:18.000Z (about 1 year ago)
- Last Synced: 2023-12-23T22:59:20.732Z (about 1 year ago)
- Topics: clojure, debian, packages, popcon
- Language: Clojure
- Homepage:
- Size: 178 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Coverage Status](https://coveralls.io/repos/github/ddanilov/debian-popcon-clj/badge.svg)](https://coveralls.io/github/ddanilov/debian-popcon-clj)
# Intro
This is a `clojure` script to plot [Debian Popularity
Contest](https://popcon.debian.org/) data. The difference to graphs from
(e.g. for
[openjdk-17-jre](https://qa.debian.org/popcon-graph.php?packages=openjdk-17-jre))
is that the script will average number of installation over an interval (month,
quarter or year) and plot them normalized by a reference package.For example, running command
clojure -M:run/m -a q -r default-jre openjdk-8-jre openjdk-11-jre openjdk-17-jre
will produce the picture below where the installations of `openjdk-8-jre`,
`openjdk-11-jre` and `openjdk-17-jre` are normalized by installations of
`default-jre` package.![](visualization.png)
In the default configuration the numbers are averaged over month and the
reference package is `base-files`, but you can change it using command line
options.You can also run unit tests with coverage report:
clojure -M:test/kaocha
The same functionality implemented in `racket` can be found at
.