Skip to content
This repository has been archived by the owner on Aug 11, 2019. It is now read-only.
/ rio2016-medaltable Public archive

🥇 Show #Rio2016 Olympic Medal Table in terminal

License

Notifications You must be signed in to change notification settings

KevCui/rio2016-medaltable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Title Description Author Tags Created Modified
Rio2016MedalTable
show Rio2016 Olympic Medal Table in terminal
KrazyCavin
CLI, python, script
07 Aug 2016
07 Aug 2016

Rio2016MedalTable

Requirement

  • python3
  • tabulate
  • beautifulsoup4

Install python package

  • pip3 install -r requirements.txt

How to use

usage: Rio2016MedalTable.py [-h] [-s {Gold,Silver,Bronze,Total}] [-d]
optional arguments:
  -h, --help            show this help message and exit
  -s {Gold,Silver,Bronze,Total}, --sort {Gold,Silver,Bronze,Total}
                        sort results by number of Gold, Silver, Bronze or
                        Total medals. Default: sort by Total
  -d, --debug           active debug log

Example

  • Show medal table sorted by Total medals: python3 ./Rio2016MedalTable.py
  • Show medal table sorted by Gold medals: python3 ./Rio2016MedalTable.py -s Gold

Alt text

About

🥇 Show #Rio2016 Olympic Medal Table in terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages