# noqa
# type: ignore
# flake8: noqa
# pylint: skip-file
# mypy: ignore-errors
# yapf: disable
# pylama:skip=1
# *** PLEASE DO NOT MODIFY DIRECTLY: Automatically generated code ***
VERSION = "2.15.3"
import re
from .fastjsonschema_exceptions import JsonSchemaValueException
REGEX_PATTERNS = {
'^.*$': re.compile('^.*$'),
'.+': re.compile('.+'),
'^.+$': re.compile('^.+$'),
'idn-email_re_pattern': re.compile('^[^@]+@[^@]+\\.[^@]+\\Z')
}
NoneType = type(None)
def validate(data, custom_formats={}, name_prefix=None):
validate_https___packaging_python_org_en_latest_specifications_declaring_build_dependencies(data, custom_formats, (name_prefix or "data") + "")
return data
def validate_https___packaging_python_org_en_latest_specifications_declaring_build_dependencies(data, custom_formats={}, name_prefix=None):
if not isinstance(data, (dict)):
raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema', '$id': 'https://packaging.python.org/en/latest/specifications/declaring-build-dependencies/', 'title': 'Data structure for ``pyproject.toml`` files', '$$description': ['File format containing build-time configurations for the Python ecosystem. ', ':pep:`517` initially defined a build-system independent format for source trees', 'which was complemented by :pep:`518` to provide a way of specifying dependencies ', 'for building Python projects.', 'Please notice the ``project`` table (as initially defined in :pep:`621`) is not included', 'in this schema and should be considered separately.'], 'type': 'object', 'additionalProperties': False, 'properties': {'build-system': {'type': 'object', 'description': 'Table used to store build-related data', 'additionalProperties': False, 'properties': {'requires': {'type': 'array', '$$description': ['List of dependencies in the :pep:`508` format required to execute the build', 'system. Please notice that the resulting dependency graph', '**MUST NOT contain cycles**'], 'items': {'type': 'string'}}, 'build-backend': {'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, 'backend-path': {'type': 'array', '$$description': ['List of directories to be prepended to ``sys.path`` when loading the', 'back-end, and running its hooks'], 'items': {'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}}}, 'required': ['requires']}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema', '$id': 'https://packaging.python.org/en/latest/specifications/declaring-project-metadata/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '<https://packaging.python.org/specifications/core-metadata/#summary>`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '<https://www.python.org/dev/peps/pep-0621/#readme>`_', "with meaning similar to the one defined in `core metadata's Description", '<https://packaging.python.org/specifications/core-metadata/#description>`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '<https://packaging.python.org/specifications/core-metadata/#requires-python>`_.']}, 'license': {'description': '`Project license <https://www.python.org/dev/peps/pep-0621/#license>`_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '<https://packaging.python.org/specifications/core-metadata/#license>`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier <https://pypi.org/classifiers/>`_.'}, '$$description': ['`Trove classifiers <https://pypi.org/classifiers/>`_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points <https://packaging.python.org/specifications/entry-points/>`_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '<https://packaging.python.org/specifications/entry-points/>`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definition
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
简易的学生管理系统后台 (2005个子文件)
base.css 21KB
responsive.css 18KB
select2.css 17KB
select2.min.css 15KB
widgets.css 12KB
autocomplete.css 9KB
forms.css 9KB
changelists.css 6KB
rtl.css 5KB
dark_mode.css 3KB
nav_sidebar.css 3KB
responsive_rtl.css 2KB
login.css 958B
ol3.css 773B
dashboard.css 441B
.DS_Store 8KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
technical_500.html 17KB
default_urlconf.html 11KB
base.html 6KB
tabular.html 4KB
change_list.html 3KB
change_form.html 3KB
technical_404.html 3KB
stacked.html 3KB
delete_confirmation.html 2KB
change_password.html 2KB
password_change_form.html 2KB
delete_selected_confirmation.html 2KB
fieldset.html 2KB
object_history.html 2KB
related_widget_wrapper.html 2KB
login.html 2KB
model_detail.html 2KB
index.html 2KB
radio.html 2KB
radio.html 2KB
template_filter_index.html 2KB
view_index.html 2KB
template_tag_index.html 2KB
app_list.html 2KB
openlayers.html 2KB
change_list_results.html 1KB
openlayers.html 1KB
index.html 1KB
password_reset_confirm.html 1KB
model_index.html 1KB
bookmarklets.html 1KB
search_form.html 1KB
actions.html 1KB
select_multiple.html 1KB
select_multiple.html 1KB
checkbox_multiple.html 1KB
select.html 1KB
checkbox_multiple.html 1KB
submit_line.html 1KB
template_detail.html 1KB
view_detail.html 928B
select_multiple.html 917B
select.html 879B
div.html 874B
password_reset_form.html 869B
div.html 865B
table.html 825B
list.html 819B
table.html 814B
input.html 801B
radio.html 793B
missing_docutils.html 786B
textarea.html 782B
password_change_done.html 745B
ul.html 723B
ul.html 712B
color_theme_toggle.html 697B
textarea.html 694B
p.html 684B
p.html 673B
checkbox.html 658B
clearable_file_input.html 618B
password_reset_email.html 612B
password_reset_done.html 588B
500.html 551B
pagination.html 549B
checkbox.html 543B
input.html 530B
clearable_file_input.html 511B
clearable_file_input.html 511B
app_index.html 493B
checkbox_multiple.html 487B
nav_sidebar.html 486B
fieldset.html 480B
date_hierarchy.html 453B
base_site.html 448B
invalid_setup.html 447B
multiple_input.html 426B
logged_out.html 425B
password_reset_complete.html 417B
共 2005 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21
资源评论
小拾爱分享
- 粉丝: 41
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 计算机网络期末复习指南:核心概念、体系结构、传输、协议、设备与安全
- 基于Python的可视化学习系统_5r5tktoz.zip
- 基于Python的电影票房数据分析系统的设计与实现_70q9k530 (2).zip
- 基于Python的农产品销售系统的设计与实现_t9tw7jz0--lw.zip
- 基于python的学生考勤管理系统_8zxltngv.zip
- 基于协同过滤的音乐推荐系统的设计与实现_jo447qt5--lw.zip
- 基于协同过滤算法的的儿童图书推荐系统_7d4ww4y2 --lw.zip
- 社会主义核心价值观视角下电商平台型社会责任评价研究(编号:8466281).zip
- 西西家居全屋定制系统的设计与实现_52ij7s4j--lw.zip
- 使用gpt-3.5翻译的Alpaca数据,用于微调中文大模型
- 酒店推荐系统_g0tc73k2--lw.zip
- LibTorch 版本的 Yolo 封装库.zip
- 基于深度学习LSTM的英雄联盟胜率预测项目源码+文档说明(Python毕业设计)
- Postman-win64-Setup.zip
- 移动学习平台的设计与实现+ssm.zip
- 基于微信的原创音乐小程序的设计与实现+ssm.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功