Reference

jp_aesthetic_terminal.console

Command-line interface.

jp_aesthetic_terminal.console.fancy_print(line, title=False)

Prints lines to the terminal of different colors and time between charracters.

Parameters
  • line (str) – The line to be “slow printed”

  • title (bool) – Whether the line is a title to be printed in different color

jp_aesthetic_terminal.wikipedia

Wikipedia REST API client.

class jp_aesthetic_terminal.wikipedia.Page(title, extract)

Page resource.

title

The title of the Wikipedia page

extract

Plain text summary

jp_aesthetic_terminal.wikipedia.random_page()

Return a random page in the Japanese Language.

Performs a GET request to the JA page/random/summary endpoint

Return type

Page

Returns

A page resource

Raises

ClickException – The HTTP request fails or HTTP response contains an invalid body