Skip to content
This repository was archived by the owner on Aug 11, 2019. It is now read-only.

KevCui/rio2016-medaltable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Title Rio2016MedalTable
Description show Rio2016 Olympic Medal Table in terminal
Author KrazyCavin
Tags CLI, python, script
Created 07 Aug 2016
Modified 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

 
 
 

Contributors

Languages