koapy.cli.commands.get.stock_meta.codelist_interactive

Module Contents

Classes

MarketEntry

StockEntry

StatusBarHandler

Handler instances dispatch logging events to specific destinations.

Screen

Functions

screen_len(str)

wrapper(stdscr)

codelist_interactive()

main()

Attributes

markets

class koapy.cli.commands.get.stock_meta.codelist_interactive.MarketEntry(code, name)[source]
to_string()[source]
class koapy.cli.commands.get.stock_meta.codelist_interactive.StockEntry(code, name)[source]
to_string()[source]
koapy.cli.commands.get.stock_meta.codelist_interactive.markets[source]
class koapy.cli.commands.get.stock_meta.codelist_interactive.StatusBarHandler(screen, level=logging.NOTSET)[source]

Bases: logging.Handler

Handler instances dispatch logging events to specific destinations.

The base handler class. Acts as a placeholder which defines the Handler interface. Handlers can optionally use Formatter instances to format records as desired. By default, no formatter is specified; in this case, the ‘raw’ message as determined by record.message is logged.

emit(record)[source]

Do whatever it takes to actually log the specified logging record.

This version is intended to be implemented by subclasses and so raises a NotImplementedError.

koapy.cli.commands.get.stock_meta.codelist_interactive.screen_len(str)[source]
class koapy.cli.commands.get.stock_meta.codelist_interactive.Screen(screen)[source]
refresh_header_bar()[source]
set_header_bar(text)[source]
show_entries(entries)[source]
koapy.cli.commands.get.stock_meta.codelist_interactive.wrapper(stdscr)[source]
koapy.cli.commands.get.stock_meta.codelist_interactive.codelist_interactive()[source]
koapy.cli.commands.get.stock_meta.codelist_interactive.main()[source]