pyproject_parser.type_hints
¶
Type hints for pyproject_parser
.
Classes:
|
|
|
|
|
|
|
Data:
-
typeddict
Author
[source]¶ Bases:
TypedDict
typing.TypedDict
representing the items in the authors/maintainers key of PEP 621.
-
typeddict
BuildSystemDict
¶ Bases:
TypedDict
typing.TypedDict
representing the output from theBuildSystemParser
class.
-
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'
]
-
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
ProjectDict
¶ Bases:
TypedDict
typing.TypedDict
representing the output from thePEP621Parser
class.- 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'
]])