package_name_to_import_with.data_using_module module#
Define package contents.
- class PackageMetadata(*, Name, Version, Description, Keywords, License, Maintainers, Authors, Links)[source]#
Bases:
pydantic.main.BaseModelDefine keys and types of corresponding values for package metadata.
- Keywords#
keywords associated with the package
- Type:
list[str]
- Maintainers#
maintainers of the package
- Type:
list[str]
- Authors#
authors of the package
- Type:
list[str]
- Links#
links associated with the package
- Type:
dict[str,pydantic.HttpUrl]
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'Authors': FieldInfo(annotation=list[str], required=True), 'Description': FieldInfo(annotation=str, required=True), 'Keywords': FieldInfo(annotation=list[str], required=True), 'License': FieldInfo(annotation=str, required=True), 'Links': FieldInfo(annotation=dict[str, Annotated[Url, UrlConstraints(max_length=2083, allowed_schemes=['http', 'https'], host_required=None, default_host=None, default_port=None, default_path=None)]], required=True), 'Maintainers': FieldInfo(annotation=list[str], required=True), 'Name': FieldInfo(annotation=str, required=True), 'Version': FieldInfo(annotation=str, required=True)}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.