pyproject_parser.type_hints¶
Type hints for pyproject_parser.
Classes:
|
|
|
|
|
|
|
Data:
Type hint for the valid content-types in the license table defined in PEP 621. |
|
The return type from the |
|
-
typeddict
Author[source]¶ Bases:
TypedDicttyping.TypedDictrepresenting the items in the authors/maintainers key of PEP 621.
-
typeddict
BuildSystemDict¶ Bases:
TypedDicttyping.TypedDictrepresenting the output from theBuildSystemParserclass.
-
ContentTypes¶ Type hint for the valid content-types in the license table defined in PEP 621.
Alias of
Literal['text/markdown','text/x-rst','text/plain']
-
DependencyGroupsDict¶ The return type from the
DependencyGroupsParserclass.New in version 0.13.0.
-
Dynamic¶ Type hint for the dynamic field defined in PEP 621.
Alias of
Literal['name','version','description','readme','requires-python','license','authors','maintainers','keywords','classifiers','urls','scripts','gui-scripts','entry-points','dependencies','optional-dependencies']
-
typeddict
IncludeGroupDict¶ Bases:
TypedDictNew in version 0.13.0.
- Required Keys
include-group (
str)
-
typeddict
ProjectDict¶ Bases:
TypedDicttyping.TypedDictrepresenting the output from thePEP621Parserclass.- Required Keys
name (
str)dependencies (
List[ComparableRequirement])optional-dependencies (
Dict[str,List[ComparableRequirement]])dynamic (
List[Literal['name','version','description','readme','requires-python','license','authors','maintainers','keywords','classifiers','urls','scripts','gui-scripts','entry-points','dependencies','optional-dependencies']])