playnano.cli.entrypoint module¶
The playnano command: argument parsing and dispatch to the subcommands.
- playnano.cli.entrypoint.main() None[source]¶
Run the
playnanocommand.Parses the command line, sets the log level (
--log-level) and runs the subcommand:play: view a stack in the GUI (handle_play());process: process a stack and export it (handle_process());analyze: analyse a stack and save the results (handle_analyze());wizard: build and run processing and analysis interactively (handle_wizard());env-info: print the software environment.
Run
playnano <subcommand> --helpfor each subcommand’s options.Exit status is 0 on success; 1 if the command fails (the subcommands log the error and exit with 1); 2 for a usage error, including no subcommand, or an unexpected error.
- playnano.cli.entrypoint.make_fps_type(fallback: float)[source]¶
Make an argparse
typethat reads a frame rate, with a fallback.- Parameters:
fallback (float) – Frame rate used, with a logged warning, when the value is not a number.
- Returns:
Function that converts the option’s text to a float.
- Return type:
callable