neuralib.argp.core

AbstractParser

DEPRECATED (use the independent package: pip install argclz).

new_parser

Create ArgumentParser for instance.

new_command_parser

Create ArgumentParser for AbstractParser s.

parse_args

parsing the commandline input args and set the argument attributes.

parse_command_args

DEPRECATED (use the independent package: pip install argclz).

set_options

set argument attributes from argparse.Namespace .

argument

DEPRECATED (use the independent package: pip install argclz).

as_argument

DEPRECATED (use the independent package: pip install argclz).

with_defaults

Initialize all argument attributes by assign the default value if provided.

print_help

print help to stdout

as_dict

collect all argument attributes into a dictionary with attribute name to its value.

copy_argument

DEPRECATED (use the independent package: pip install argclz).

Argument

Descriptor (https://docs.python.org/3/glossary.html#term-descriptor).