mypy
E911255
mypy is a static type checker for Python that enforces type hints and helps catch type-related errors before runtime.
All labels observed (1)
| Label | Occurrences |
|---|---|
| mypy canonical | 2 |
How this entity was disambiguated
This entity first appeared as the object of triple T11215876 — 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: mypy Context triple: [Python generic types, supportedBy, mypy]
-
A.
PEP 484
PEP 484 is the Python Enhancement Proposal that introduced a standard for type hints in Python, forming the basis of the language’s static typing ecosystem.
-
B.
Python typing module
The Python typing module is a standard library component that adds support for type hints and static type checking to Python code, enabling clearer interfaces and improved tooling.
-
C.
typer
Typer is a modern, user-friendly Python library for building command-line interfaces, created by Sebastián Ramírez (tiangolo), the author of FastAPI.
-
D.
Pydantic
Pydantic is a Python library for data validation and settings management that uses type hints to parse, validate, and serialize data.
-
E.
PEP 647 TypeGuard
PEP 647 TypeGuard is a Python typing feature that allows developers to define user-defined type guard functions, enabling more precise type narrowing and improved static type checking.
- 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: mypy Target entity description: mypy is a static type checker for Python that enforces type hints and helps catch type-related errors before runtime.
-
A.
PEP 484
PEP 484 is the Python Enhancement Proposal that introduced a standard for type hints in Python, forming the basis of the language’s static typing ecosystem.
-
B.
Python typing module
The Python typing module is a standard library component that adds support for type hints and static type checking to Python code, enabling clearer interfaces and improved tooling.
-
C.
typer
Typer is a modern, user-friendly Python library for building command-line interfaces, created by Sebastián Ramírez (tiangolo), the author of FastAPI.
-
D.
Pydantic
Pydantic is a Python library for data validation and settings management that uses type hints to parse, validate, and serialize data.
-
E.
PEP 647 TypeGuard
PEP 647 TypeGuard is a Python typing feature that allows developers to define user-defined type guard functions, enabling more precise type narrowing and improved static type checking.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
Python development tool
ⓘ
open-source software ⓘ software tool ⓘ static type checker ⓘ |
| category |
Python static analysis tool
ⓘ
type checker ⓘ |
| checks |
attribute access types
ⓘ
function signatures ⓘ return types ⓘ subtype relationships ⓘ variable types ⓘ |
| distribution | Python Package Index NERFINISHED ⓘ |
| domain |
software development
ⓘ
static analysis ⓘ |
| goal |
catch type errors early
ⓘ
improve code quality ⓘ improve maintainability of Python code ⓘ |
| hasFeature |
configuration file support
ⓘ
error codes ⓘ incremental mode ⓘ per-module configuration ⓘ strict type checking mode ⓘ |
| installCommand | pip install mypy ⓘ |
| integratesWith |
Python type hinting system
ⓘ
code editors ⓘ continuous integration pipelines ⓘ |
| license | MIT License ⓘ |
| name | mypy NERFINISHED ⓘ |
| primaryFunction |
detect type-related errors before runtime
ⓘ
enforce type hints ⓘ static type checking ⓘ |
| programmingLanguage | Python ⓘ |
| repositoryPlatform | GitHub ⓘ |
| supports |
Literal types
ⓘ
TypedDict ⓘ Union types ⓘ generic types ⓘ gradual typing ⓘ optional static typing ⓘ plugins ⓘ protocols ⓘ type inference ⓘ type narrowing ⓘ |
| supportsLanguage | Python ⓘ |
| targetUsers | Python developers ⓘ |
| uses |
PEP 484 type hints
ⓘ
Python type annotations ⓘ |
| writtenIn | Python NERFINISHED ⓘ |
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: mypy Description of subject: mypy is a static type checker for Python that enforces type hints and helps catch type-related errors before runtime.
Referenced by (2)
Full triples — surface form annotated when it differs from this entity's canonical label.