Current collected state Current
Observed since 20 Oct, 18:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aclick is a python library extending click with the support for typing. It uses function signatures to
automatically register options to parsers. Please refer to the documentation.
The following features are currently supported:
int, float, str, bool values both with and without default value.class1("arg1", arg2=class2()).hierarchical=True
option enabled.Union of complex classes both inlined and hierarchical.Optional of inlined complex classes.Literal of strings.Install the library from pip:
$ pip install aclick
Import aclick instead of click:
# python main.py test --arg2 4
import aclick
@aclick.command()
def example(arg1: str, /, arg2: int = 5):
pass
example()
When using click.groups:
# python main.py example test --arg2 4
import aclick
@aclick.group()
def main():
pass
@main.command('example')
def example(arg1: str, /, arg2: int = 5):
pass
main()
For further details please look at the documentation.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.3 | 9 Jun 2022 | 3 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:ee5d71b3c4027a9a6d401d18f02ba74deffe9489e6c3f5997ddc318b6e7c2646