benchmarkstt.api.cli module

Make benchmarkstt available through a rudimentary JSON-RPC interface

Attention

Only supported for Python versions 3.6 and above

benchmarkstt.api.cli.argparser(parser)[source]

Adds the help and arguments specific to this module

benchmarkstt.api.cli.create_app(entrypoint: str = None, with_explorer: bool = None)[source]

Create the Flask app

Parameters:
  • entrypoint -- The HTTP path on which the api will be served
  • with_explorer (bool) -- Whether to also serve the JSON-RPC API explorer
Returns:

benchmarkstt.api.cli.main(parser, args)[source]