Skip to content

asyncclick 8.3.0.7

Version history | Download JSON

  • PyPI https://pypi.org/project/asyncclick/
    Repository https://github.com/python-trio/asyncclick

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 863
        "Any" : 77
        "Untyped" : 98
    • 90.6% coverage
    • 83.1% coverage (strict)
    • 1038 typable
      • 863 typed
      • 98 untyped
      • 77 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 204
        "classes" : 680
        "other" : 8
    • 52 functions (+10 overloads)
      • 152 parameters
    • 50 classes
      • 246 methods (+6 overloads)
        • 422 parameters
      • 12 properties
    • 11 modules
      • 8 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
asyncclick.core 90.1% 81.4% 404 0
asyncclick.decorators 100.0% 81.0% 42 0
asyncclick.exceptions 84.7% 84.7% 59 0
asyncclick.formatting 95.3% 95.3% 43 0
asyncclick.globals 100.0% 100.0% 7 0
asyncclick.parser 0.0% 0.0% 0 0
asyncclick.shell_completion 92.7% 85.5% 55 0
asyncclick.termui 100.0% 96.3% 82 0
asyncclick.testing 83.3% 79.5% 78 0
asyncclick.types 87.6% 77.3% 194 3
asyncclick.utils 91.9% 86.5% 74 0

Incomplete Annotations

asyncclick.core (40 missing, 35 any)

Symbol Typable Typed Any
meth CommandCollection.init 4 4 1
meth Parameter.type_cast_value 3 3 2
meth Parameter.value_is_missing 2 2 1
meth Parameter.process_value 3 3 2
attr Parameter.required 1 0 0
attr Parameter.callback 1 0 0
attr Parameter.nargs 1 0 0
attr Parameter.multiple 1 0 0
attr Parameter.expose_value 1 0 0
attr Parameter.default 1 0 0
attr Parameter.is_eager 1 0 0
attr Parameter.metavar 1 0 0
attr Parameter.envvar 1 0 0
attr Parameter.deprecated 1 0 0
meth Command.make_context 5 5 1
meth Command.invoke 2 2 1
meth Command.main 6 6 2
meth Command.call 5 5 3
meth Command._main 4 4 1
attr Command.name 1 0 0
attr Command.callback 1 0 0
attr Command.help 1 0 0
attr Command.epilog 1 0 0
attr Command.options_metavar 1 0 0
attr Command.short_help 1 0 0
attr Command.add_help_option 1 0 0
attr Command.no_args_is_help 1 0 0
attr Command.hidden 1 0 0
attr Command.deprecated 1 0 0
meth Option.init 19 19 2
meth Option.prompt_for_value 2 2 1
meth Option.value_from_envvar 2 2 1
meth Option.type_cast_value 3 3 2
attr Option.prompt 1 0 0
attr Option.confirmation_prompt 1 0 0
attr Option.prompt_required 1 0 0
attr Option.hide_input 1 0 0
attr Option.hidden 1 0 0
attr Option.flag_value 1 1 1
attr Option.count 1 0 0
attr Option.allow_from_autoenv 1 0 0
attr Option.help 1 0 0
attr Option.show_default 1 0 0
attr Option.show_choices 1 0 0
attr Option.show_envvar 1 0 0
attr Option.default 1 0 0
meth Argument.init 4 4 1
meth Group.init 9 9 1
meth Group.command 4 4 2
meth Group.group 4 4 2
meth Group.invoke 2 2 1
attr Group.no_args_is_help 1 0 0
attr Group.invoke_without_command 1 0 0
attr Group.subcommand_metavar 1 0 0
attr Group.chain 1 0 0
meth Context.invoke 4 4 3
meth Context.forward 4 4 3
attr Context.parent 1 0 0
attr Context.command 1 0 0
attr Context.info_name 1 0 0
attr Context.obj 1 1 1
attr Context.allow_extra_args 1 0 0

asyncclick.decorators (0 missing, 8 any)

Symbol Typable Typed Any
func argument 4 4 1
func command 4 4 1
func group 4 4 1
func help_option 3 3 1
func option 4 4 1
func version_option 7 7 1
func confirmation_option 3 3 1
func password_option 3 3 1

asyncclick.exceptions (9 missing, 0 any)

Symbol Typable Typed Any
attr BadParameter.param 1 0 0
attr BadParameter.param_hint 1 0 0
attr MissingParameter.param_type 1 0 0
attr BadOptionUsage.option_name 1 0 0
attr NoSuchOption.option_name 1 0 0
attr NoSuchOption.possibilities 1 0 0
attr ClickException.message 1 0 0
attr UsageError.ctx 1 0 0
attr FileError.filename 1 0 0

asyncclick.formatting (2 missing, 0 any)

Symbol Typable Typed Any
attr HelpFormatter.indent_increment 1 0 0
attr HelpFormatter.width 1 0 0

asyncclick.shell_completion (4 missing, 4 any)

Symbol Typable Typed Any
attr ShellComplete.cli 1 0 0
attr ShellComplete.ctx_args 1 0 0
attr ShellComplete.prog_name 1 0 0
attr ShellComplete.complete_var 1 0 0
meth CompletionItem.init 5 5 2
meth CompletionItem.getattr 2 2 1
attr CompletionItem.value 1 1 1

asyncclick.termui (0 missing, 3 any)

Symbol Typable Typed Any
func style 13 13 1
func secho 7 7 1
func prompt 12 12 1

asyncclick.testing (13 missing, 3 any)

Symbol Typable Typed Any
meth EchoingStdin.getattr 2 2 1
meth Result.init 9 8 1
attr Result.runner 1 0 0
attr Result.stdout_bytes 1 0 0
attr Result.stderr_bytes 1 0 0
attr Result.output_bytes 1 0 0
attr Result.return_value 1 0 0
attr Result.exit_code 1 0 0
attr Result.exception 1 0 0
attr Result.exc_info 1 0 0
meth CliRunner.invoke 8 8 1
attr CliRunner.charset 1 0 0
attr CliRunner.echo_stdin 1 0 0
attr CliRunner.catch_exceptions 1 0 0
attr BytesIOCopy.copy_to 1 0 0

asyncclick.types (24 missing, 20 any)

Symbol Typable Typed Any
attr FLOAT 1 0 0
meth Path.init 10 9 0
attr Path.exists 1 0 0
attr Path.file_okay 1 0 0
attr Path.dir_okay 1 0 0
attr Path.readable 1 0 0
attr Path.writable 1 0 0
attr Path.executable 1 0 0
attr Path.resolve_path 1 0 0
attr Path.allow_dash 1 0 0
attr Path.type 1 0 0
meth Tuple.convert 4 4 2
attr STRING 1 0 0
attr File.mode 1 0 0
attr File.encoding 1 0 0
attr File.errors 1 0 0
attr File.lazy 1 0 0
attr File.atomic 1 0 0
attr BOOL 1 0 0
meth DateTime.init 2 1 0
meth DateTime._try_to_convert_date 3 3 1
meth DateTime.convert 4 4 2
attr INT 1 0 0
attr UUID 1 0 0
meth Choice.convert 4 4 1
meth Choice.get_invalid_choice_message 3 3 1
attr Choice.case_sensitive 1 0 0
meth ParamType.call 4 4 2
meth ParamType.convert 4 4 2
attr UNPROCESSED 1 0 0
meth FuncParamType.convert 4 4 2
attr FuncParamType.func 1 0 0
meth UnprocessedParamType.convert 4 4 2
meth BoolParamType.convert 4 4 1
meth StringParamType.convert 4 4 2
meth UUIDParameterType.convert 4 4 2

asyncclick.utils (6 missing, 4 any)

Symbol Typable Typed Any
meth LazyFile.init 6 5 0
meth LazyFile.getattr 2 2 1
attr LazyFile.mode 1 0 0
attr LazyFile.encoding 1 0 0
attr LazyFile.errors 1 0 0
attr LazyFile.atomic 1 0 0
func make_str 2 2 1
meth PacifyFlushWrapper.getattr 2 2 1
attr PacifyFlushWrapper.wrapped 1 0 0
meth KeepOpenFile.getattr 2 2 1

Type-Ignore Comments

Flavor Count
type: ignore 3