Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dlenski/top500
Scrape+plot TOP500 data for Wikipedia graphs
https://github.com/dlenski/top500
data-visualization matplotlib top500 wikipedia
Last synced: about 4 hours ago
JSON representation
Scrape+plot TOP500 data for Wikipedia graphs
- Host: GitHub
- URL: https://github.com/dlenski/top500
- Owner: dlenski
- License: gpl-3.0
- Created: 2015-07-24T04:47:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-08-21T07:33:44.000Z (about 1 year ago)
- Last Synced: 2024-04-03T08:10:17.130Z (8 months ago)
- Topics: data-visualization, matplotlib, top500, wikipedia
- Language: Python
- Size: 4.69 MB
- Stars: 10
- Watchers: 5
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What is this?
These are the Python scripts that I've been using to create these two area charts of [TOP500](https://wikipedia.org/wiki/TOP500) supercomputers for use on Wikipedia:
https://commons.wikimedia.org/wiki/File:Processor_families_in_TOP500_supercomputers.svg
![procfam](https://upload.wikimedia.org/wikipedia/commons/e/ef/Processor_families_in_TOP500_supercomputers.svg)
https://commons.wikimedia.org/wiki/File:Countries_with_TOP500_supercomputers.svg
![countries](https://upload.wikimedia.org/wikipedia/commons/a/a6/Countries_with_TOP500_supercomputers.svg)
# Requirements
Requires Python 3.5+ and a valid user account on top500.org. First, create a file called `top500.ini` in
the source directory containing your username and password for the site:```
[DEFAULT]
username = MyUsername
password = "MyPassword123!"
```# Running
You can skip `top500.py` if you want to use the cached/already-downloaded biannual lists
in `TOP500_history.csv`:```
$ pip3 install -r requirements.txt
$ ./get-country-lists.sh # Fetch country name mapping (country-{en,fr,es}.csv)
$ ./top500.py # Download and combine latest biannual spreadsheets from top500.org
$ ./top500_plot.py # Create PNG- and SVG-format plots using TOP500_history.csv
```# License
GPLv3 or later