The Trivial Project¶
The example project to apply the ideas covered in the Hypermodern Python blog series. The command-line interface prints random facts to your console, using the Wikipedia API.
Installation¶
To install Trivial, run this command in your terminal:
$ pip install hypermodern-python
Usage¶
Trivial’s usage looks like:
$ trivial [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.