The get_wp Project

The command-line interface prints random facts to your console, using the Wikipedia API.

Installation

To install the get_wp project, run this command in your terminal:

$ pip install get_wp

Usage

get_wp’s usage looks like:

$ get_wp [OPTIONS]
-l <language>, --language <language>

The Wikipedia language edition, as identified by its subdomain on wikipedia.org. By default, the English Wikipedia is selected.

--version

Display the version and exit.

--help

Display a short usage message and exit.