The Modern Python Setup 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 Modern Python Setup project, run this command in your terminal:

$ pip install modern-python-setup

Usage

Modern Python Setup’s usage looks like:

$ modern-python-setup [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.