argparse

E431924

argparse is a Python module for parsing command-line arguments and options, enabling easy creation of user-friendly CLI interfaces.

All labels observed (1)

Label Occurrences
argparse canonical 1

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf Python standard library module
command-line argument parsing library
defaultHelpOption --help
-h
defaultProgramName sys.argv[0]
errorHandlingBehavior exits with non-zero status on parse errors
prints error message to stderr
hasDocumentation https://docs.python.org/3/library/argparse.html
introducedInVersion Python 2.7 NERFINISHED
Python 3.2 NERFINISHED
license Python Software Foundation License NERFINISHED
partOf Python Standard Library NERFINISHED
programmingLanguage Python
providesClass ArgumentError NERFINISHED
ArgumentParser NERFINISHED
ArgumentTypeError NERFINISHED
Namespace
providesFunction ArgumentParser.add_argument NERFINISHED
ArgumentParser.add_subparsers NERFINISHED
ArgumentParser.parse_args NERFINISHED
ArgumentParser.print_help NERFINISHED
ArgumentParser.print_usage
ArgumentParser.set_defaults
FileType
replacedModule optparse
supportsFeature argument groups
argument validation
automatic help generation
custom actions
custom error messages
default values
file type arguments
long options
mutually exclusive argument groups
optional arguments
parsing from a list of strings
parsing from sys.argv
positional arguments
short options
sub-commands
type conversion
supportsPythonVersion Python 2.7 NERFINISHED
Python 3.x NERFINISHED
usedFor building command-line interfaces
generating help messages
generating usage messages
parsing command-line arguments
parsing command-line options

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.