The Hotmodern Python Project

The example project for the Hypermodern Python article series. The command-line interface prints random facts to your console, using the Wikipedia API.

Installation

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

$ pip install hotmodern_python

Usage

Hotmodern Python’s usage looks like:

$ hotmodern_python [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.