The Hypermodern Python Console Project¶
The example project for the Hypermodern Python Console GitHub repository. The command-line interface prints random facts to your console, using the Wikipedia API.
Installation¶
To install the Hypermodern Python Console project, run this command in your terminal:
$ pip install wiki-con
Usage¶
wiki_con’s usage looks like:
$ wiki_con [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.
Credits¶
The code for this project is originally from the Hypermodern Python article series.