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
This entity first appeared as the object of triple T4325199 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: argparse Context triple: [Python standard library, includesModule, argparse]
-
A.
ARG
ARG is the three-letter ISO 3166-1 alpha-3 country code that uniquely identifies Argentina in international standards and data systems.
-
B.
optio
An optio was a junior officer in the Roman army who served as the deputy and second-in-command to a centurion within a legionary unit.
-
C.
CLI
CLI is a standardized runtime and execution environment developed by Microsoft and standardized by ECMA and ISO for running and managing code written in multiple high-level languages, most notably used by the .NET framework.
-
D.
setuptools
setuptools is a widely used Python library for packaging, distributing, and installing Python projects and their dependencies.
-
E.
ALG
ALG is the IATA airport code for Houari Boumediene Airport, the main international airport serving Algiers, Algeria.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: argparse Target entity description: argparse is a Python module for parsing command-line arguments and options, enabling easy creation of user-friendly CLI interfaces.
-
A.
ARG
ARG is the three-letter ISO 3166-1 alpha-3 country code that uniquely identifies Argentina in international standards and data systems.
-
B.
optio
An optio was a junior officer in the Roman army who served as the deputy and second-in-command to a centurion within a legionary unit.
-
C.
CLI
CLI is a standardized runtime and execution environment developed by Microsoft and standardized by ECMA and ISO for running and managing code written in multiple high-level languages, most notably used by the .NET framework.
-
D.
setuptools
setuptools is a widely used Python library for packaging, distributing, and installing Python projects and their dependencies.
-
E.
ALG
ALG is the IATA airport code for Houari Boumediene Airport, the main international airport serving Algiers, Algeria.
- F. None of above. chosen
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
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: argparse Description of subject: argparse is a Python module for parsing command-line arguments and options, enabling easy creation of user-friendly CLI interfaces.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.