openbases.main package

Submodules

openbases.main.defaults module

openbases.main.icons module

openbases.main.icons.get_icons(url='https://openbases.github.io/openbases-icons/icons.json', regexp=None, N=1)[source]

get a number of icons from the openbases-icons repository, and return a list. Parameters ========== url: the openbases-icons json list (or other) of icons to choose from regexp: a regular expression to filter by (default None, no filter) N: the number of icons to return (default is 1) Returns ======= icons: a list of filtered (or not) icons

Module contents

openbases.main.get_client(quiet=False, debug=False)[source]

return the helper function client for OpenBases. This is a client that spans the different modules (papers, badges, etc.) for interaction with functions from one interface.

quiet: if True, suppress most output about the client debug: turn on debugging mode