Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blankon/vis-blankon-pkg
BlankOn Repository: Packages and Sizes
https://github.com/blankon/vis-blankon-pkg
Last synced: 13 days ago
JSON representation
BlankOn Repository: Packages and Sizes
- Host: GitHub
- URL: https://github.com/blankon/vis-blankon-pkg
- Owner: BlankOn
- License: other
- Created: 2013-05-26T16:37:27.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-02T13:57:32.000Z (almost 11 years ago)
- Last Synced: 2024-11-08T16:19:42.094Z (2 months ago)
- Language: Python
- Size: 156 KB
- Stars: 1
- Watchers: 11
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
BlankOn Repository - Total Packages and Sizes
============================================This Git repository contains scripts I use to gather and visualize the BlankOn
repositories in terms of total packages and their total size.Check the GitHub page for the result - .
How?
----I took the package index files (a.k.a. `Packages` file) and counted the number
of packages inside. I also summed the size of each packages to get the size of
the repository. The files are from the "at-release" repository which means I
excluded the `-updates` and `-security` repositories. The at-release repository
is presumably frozen and therefore the size won’t change anymore, where the
latest two repositories are for the updates, which by definition are always
updated. Well.. except when the release is not supported anymore.How To Run?
-----------First, adjust the list of repositories, archive urls, etc in the `config.py` file.
$ vi config.py
Then, download all index files
$ python download.py data/
The files will be downloaded into the given data directory. In the above
example, the data directory is `data/`.After that, run the analysis script to collect all numbers from the index
files. Put the result into a file so we don't need to do this again.$ python analyze.py data/ > out/raw-data.json
Once it's ready, run the visualization script to create codes needed to make
charts using Google Chart API.$ python visualize.py out/raw-data.json > out/data.js
Finally, open the HTML page I made to show the data.
$ xdg-open index.html