Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- evalkit_cambrian/lib/python3.10/site-packages/exceptiongroup-1.2.2.dist-info/INSTALLER +1 -0
- evalkit_cambrian/lib/python3.10/site-packages/exceptiongroup-1.2.2.dist-info/RECORD +19 -0
- evalkit_cambrian/lib/python3.10/site-packages/jinja2-3.1.5.dist-info/INSTALLER +1 -0
- evalkit_cambrian/lib/python3.10/site-packages/jinja2-3.1.5.dist-info/LICENSE.txt +28 -0
- evalkit_cambrian/lib/python3.10/site-packages/jinja2-3.1.5.dist-info/METADATA +75 -0
- evalkit_cambrian/lib/python3.10/site-packages/jinja2-3.1.5.dist-info/REQUESTED +0 -0
- evalkit_cambrian/lib/python3.10/site-packages/jinja2-3.1.5.dist-info/WHEEL +4 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/__init__.py +12 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/__pycache__/__init__.cpython-310.pyc +0 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/__pycache__/_core.cpython-310.pyc +0 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/_core.py +38 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/applicator +56 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/content +17 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/core +57 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/validation +98 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft202012/metaschema.json +58 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/format-annotation +14 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/unevaluated +15 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft4/metaschema.json +149 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft6/metaschema.json +153 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft7/metaschema.json +166 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/tests/__init__.py +0 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/tests/__pycache__/__init__.cpython-310.pyc +0 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/tests/__pycache__/test_jsonschema_specifications.cpython-310.pyc +0 -0
- evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/tests/test_jsonschema_specifications.py +41 -0
- evalkit_cambrian/lib/python3.10/site-packages/matplotlib_inline-0.1.7.dist-info/LICENSE +29 -0
- evalkit_cambrian/lib/python3.10/site-packages/multidict/__init__.py +48 -0
- evalkit_cambrian/lib/python3.10/site-packages/multidict/__init__.pyi +152 -0
- evalkit_cambrian/lib/python3.10/site-packages/multidict/__pycache__/_compat.cpython-310.pyc +0 -0
- evalkit_cambrian/lib/python3.10/site-packages/multidict/__pycache__/_multidict_base.cpython-310.pyc +0 -0
- evalkit_cambrian/lib/python3.10/site-packages/multidict/__pycache__/_multidict_py.cpython-310.pyc +0 -0
- evalkit_cambrian/lib/python3.10/site-packages/multidict/_abc.py +48 -0
- evalkit_cambrian/lib/python3.10/site-packages/multidict/_compat.py +14 -0
- evalkit_cambrian/lib/python3.10/site-packages/multidict/_multidict_base.py +152 -0
- evalkit_cambrian/lib/python3.10/site-packages/multidict/_multidict_py.py +527 -0
- evalkit_cambrian/lib/python3.10/site-packages/multidict/py.typed +1 -0
- evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/INSTALLER +1 -0
- evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/LICENSE +202 -0
- evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/METADATA +58 -0
- evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/RECORD +59 -0
- evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/REQUESTED +0 -0
- evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/WHEEL +5 -0
- evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/top_level.txt +3 -0
- evalkit_cambrian/lib/python3.10/site-packages/torchvision-0.17.0+cu118.dist-info/LICENSE +29 -0
- evalkit_cambrian/lib/python3.10/site-packages/triton/runtime/__pycache__/autotuner.cpython-310.pyc +0 -0
- infer_4_47_1/lib/python3.10/site-packages/torch/include/ATen/ops/_cast_Byte_compositeimplicitautograd_dispatch.h +23 -0
- infer_4_47_1/lib/python3.10/site-packages/torch/include/ATen/ops/_ctc_loss_backward_ops.h +50 -0
- infer_4_47_1/lib/python3.10/site-packages/torch/include/ATen/ops/_ctc_loss_compositeexplicitautograd_dispatch.h +26 -0
- infer_4_47_1/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_norm_cuda_dispatch.h +23 -0
- infer_4_47_1/lib/python3.10/site-packages/torch/include/ATen/ops/_scaled_mm.h +39 -0
evalkit_cambrian/lib/python3.10/site-packages/exceptiongroup-1.2.2.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
evalkit_cambrian/lib/python3.10/site-packages/exceptiongroup-1.2.2.dist-info/RECORD
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
exceptiongroup-1.2.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 2 |
+
exceptiongroup-1.2.2.dist-info/LICENSE,sha256=blBw12UDHgrUA6HL-Qrm0ZoCKPgC4yC3rP9GCqcu1Hw,3704
|
| 3 |
+
exceptiongroup-1.2.2.dist-info/METADATA,sha256=Ga1aA-LKR7SBZ4YVngvE0hRhLf9jVig38rLOHNgsDls,6636
|
| 4 |
+
exceptiongroup-1.2.2.dist-info/RECORD,,
|
| 5 |
+
exceptiongroup-1.2.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 6 |
+
exceptiongroup-1.2.2.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
| 7 |
+
exceptiongroup/__init__.py,sha256=7DHS0hDk-RIs3IQc3SbZVB0-1MhiSCJ9XgvEyEloL7M,1049
|
| 8 |
+
exceptiongroup/__pycache__/__init__.cpython-310.pyc,,
|
| 9 |
+
exceptiongroup/__pycache__/_catch.cpython-310.pyc,,
|
| 10 |
+
exceptiongroup/__pycache__/_exceptions.cpython-310.pyc,,
|
| 11 |
+
exceptiongroup/__pycache__/_formatting.cpython-310.pyc,,
|
| 12 |
+
exceptiongroup/__pycache__/_suppress.cpython-310.pyc,,
|
| 13 |
+
exceptiongroup/__pycache__/_version.cpython-310.pyc,,
|
| 14 |
+
exceptiongroup/_catch.py,sha256=CaJez3E-Jkr-7B7RT3fzusdLWnuyeekooSFn7KyWt9s,4680
|
| 15 |
+
exceptiongroup/_exceptions.py,sha256=h9vJO-Z8ufTr2iAb0S5mrKvkNtWZlqsWYHbNQjzC23I,11144
|
| 16 |
+
exceptiongroup/_formatting.py,sha256=eu1bsvfX6ejwPwhgH1u5hrTnb2NSDH3n0Vx1uiKOrn0,20938
|
| 17 |
+
exceptiongroup/_suppress.py,sha256=LX11PRNpchwfNWwEMY92nYN1F_5qFenQcS8EjIONXKE,1772
|
| 18 |
+
exceptiongroup/_version.py,sha256=XEVwqOPlIChKtEnSO5v_SvghWXnn9WeQSoJ436w3v9Y,411
|
| 19 |
+
exceptiongroup/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
evalkit_cambrian/lib/python3.10/site-packages/jinja2-3.1.5.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
evalkit_cambrian/lib/python3.10/site-packages/jinja2-3.1.5.dist-info/LICENSE.txt
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright 2007 Pallets
|
| 2 |
+
|
| 3 |
+
Redistribution and use in source and binary forms, with or without
|
| 4 |
+
modification, are permitted provided that the following conditions are
|
| 5 |
+
met:
|
| 6 |
+
|
| 7 |
+
1. Redistributions of source code must retain the above copyright
|
| 8 |
+
notice, this list of conditions and the following disclaimer.
|
| 9 |
+
|
| 10 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 11 |
+
notice, this list of conditions and the following disclaimer in the
|
| 12 |
+
documentation and/or other materials provided with the distribution.
|
| 13 |
+
|
| 14 |
+
3. Neither the name of the copyright holder nor the names of its
|
| 15 |
+
contributors may be used to endorse or promote products derived from
|
| 16 |
+
this software without specific prior written permission.
|
| 17 |
+
|
| 18 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 19 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 20 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
| 21 |
+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 22 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 23 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
| 24 |
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 25 |
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
| 26 |
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 27 |
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 28 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
evalkit_cambrian/lib/python3.10/site-packages/jinja2-3.1.5.dist-info/METADATA
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.3
|
| 2 |
+
Name: Jinja2
|
| 3 |
+
Version: 3.1.5
|
| 4 |
+
Summary: A very fast and expressive template engine.
|
| 5 |
+
Maintainer-email: Pallets <contact@palletsprojects.com>
|
| 6 |
+
Requires-Python: >=3.7
|
| 7 |
+
Description-Content-Type: text/markdown
|
| 8 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 9 |
+
Classifier: Environment :: Web Environment
|
| 10 |
+
Classifier: Intended Audience :: Developers
|
| 11 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 12 |
+
Classifier: Operating System :: OS Independent
|
| 13 |
+
Classifier: Programming Language :: Python
|
| 14 |
+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
| 15 |
+
Classifier: Topic :: Text Processing :: Markup :: HTML
|
| 16 |
+
Classifier: Typing :: Typed
|
| 17 |
+
Requires-Dist: MarkupSafe>=2.0
|
| 18 |
+
Requires-Dist: Babel>=2.7 ; extra == "i18n"
|
| 19 |
+
Project-URL: Changes, https://jinja.palletsprojects.com/changes/
|
| 20 |
+
Project-URL: Chat, https://discord.gg/pallets
|
| 21 |
+
Project-URL: Documentation, https://jinja.palletsprojects.com/
|
| 22 |
+
Project-URL: Donate, https://palletsprojects.com/donate
|
| 23 |
+
Project-URL: Source, https://github.com/pallets/jinja/
|
| 24 |
+
Provides-Extra: i18n
|
| 25 |
+
|
| 26 |
+
# Jinja
|
| 27 |
+
|
| 28 |
+
Jinja is a fast, expressive, extensible templating engine. Special
|
| 29 |
+
placeholders in the template allow writing code similar to Python
|
| 30 |
+
syntax. Then the template is passed data to render the final document.
|
| 31 |
+
|
| 32 |
+
It includes:
|
| 33 |
+
|
| 34 |
+
- Template inheritance and inclusion.
|
| 35 |
+
- Define and import macros within templates.
|
| 36 |
+
- HTML templates can use autoescaping to prevent XSS from untrusted
|
| 37 |
+
user input.
|
| 38 |
+
- A sandboxed environment can safely render untrusted templates.
|
| 39 |
+
- AsyncIO support for generating templates and calling async
|
| 40 |
+
functions.
|
| 41 |
+
- I18N support with Babel.
|
| 42 |
+
- Templates are compiled to optimized Python code just-in-time and
|
| 43 |
+
cached, or can be compiled ahead-of-time.
|
| 44 |
+
- Exceptions point to the correct line in templates to make debugging
|
| 45 |
+
easier.
|
| 46 |
+
- Extensible filters, tests, functions, and even syntax.
|
| 47 |
+
|
| 48 |
+
Jinja's philosophy is that while application logic belongs in Python if
|
| 49 |
+
possible, it shouldn't make the template designer's job difficult by
|
| 50 |
+
restricting functionality too much.
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
## In A Nutshell
|
| 54 |
+
|
| 55 |
+
```jinja
|
| 56 |
+
{% extends "base.html" %}
|
| 57 |
+
{% block title %}Members{% endblock %}
|
| 58 |
+
{% block content %}
|
| 59 |
+
<ul>
|
| 60 |
+
{% for user in users %}
|
| 61 |
+
<li><a href="{{ user.url }}">{{ user.username }}</a></li>
|
| 62 |
+
{% endfor %}
|
| 63 |
+
</ul>
|
| 64 |
+
{% endblock %}
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
## Donate
|
| 68 |
+
|
| 69 |
+
The Pallets organization develops and supports Jinja and other popular
|
| 70 |
+
packages. In order to grow the community of contributors and users, and
|
| 71 |
+
allow the maintainers to devote more time to the projects, [please
|
| 72 |
+
donate today][].
|
| 73 |
+
|
| 74 |
+
[please donate today]: https://palletsprojects.com/donate
|
| 75 |
+
|
evalkit_cambrian/lib/python3.10/site-packages/jinja2-3.1.5.dist-info/REQUESTED
ADDED
|
File without changes
|
evalkit_cambrian/lib/python3.10/site-packages/jinja2-3.1.5.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: flit 3.10.1
|
| 3 |
+
Root-Is-Purelib: true
|
| 4 |
+
Tag: py3-none-any
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/__init__.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
The JSON Schema meta-schemas and vocabularies, exposed as a Registry.
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
from referencing.jsonschema import EMPTY_REGISTRY as _EMPTY_REGISTRY
|
| 6 |
+
|
| 7 |
+
from jsonschema_specifications._core import _schemas
|
| 8 |
+
|
| 9 |
+
#: A `referencing.jsonschema.SchemaRegistry` containing all of the official
|
| 10 |
+
#: meta-schemas and vocabularies.
|
| 11 |
+
REGISTRY = (_schemas() @ _EMPTY_REGISTRY).crawl()
|
| 12 |
+
__all__ = ["REGISTRY"]
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (472 Bytes). View file
|
|
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/__pycache__/_core.cpython-310.pyc
ADDED
|
Binary file (913 Bytes). View file
|
|
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/_core.py
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Load all the JSON Schema specification's official schemas.
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
import json
|
| 6 |
+
|
| 7 |
+
try:
|
| 8 |
+
from importlib.resources import files
|
| 9 |
+
except ImportError:
|
| 10 |
+
from importlib_resources import ( # type: ignore[import-not-found, no-redef]
|
| 11 |
+
files,
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
+
from referencing import Resource
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
def _schemas():
|
| 18 |
+
"""
|
| 19 |
+
All schemas we ship.
|
| 20 |
+
"""
|
| 21 |
+
# importlib.resources.abc.Traversal doesn't have nice ways to do this that
|
| 22 |
+
# I'm aware of...
|
| 23 |
+
#
|
| 24 |
+
# It can't recurse arbitrarily, e.g. no ``.glob()``.
|
| 25 |
+
#
|
| 26 |
+
# So this takes some liberties given the real layout of what we ship
|
| 27 |
+
# (only 2 levels of nesting, no directories within the second level).
|
| 28 |
+
|
| 29 |
+
for version in files(__package__).joinpath("schemas").iterdir():
|
| 30 |
+
if version.name.startswith("."):
|
| 31 |
+
continue
|
| 32 |
+
for child in version.iterdir():
|
| 33 |
+
children = [child] if child.is_file() else child.iterdir()
|
| 34 |
+
for path in children:
|
| 35 |
+
if path.name.startswith("."):
|
| 36 |
+
continue
|
| 37 |
+
contents = json.loads(path.read_text(encoding="utf-8"))
|
| 38 |
+
yield Resource.from_contents(contents)
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/applicator
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
| 3 |
+
"$id": "https://json-schema.org/draft/2019-09/meta/applicator",
|
| 4 |
+
"$vocabulary": {
|
| 5 |
+
"https://json-schema.org/draft/2019-09/vocab/applicator": true
|
| 6 |
+
},
|
| 7 |
+
"$recursiveAnchor": true,
|
| 8 |
+
|
| 9 |
+
"title": "Applicator vocabulary meta-schema",
|
| 10 |
+
"type": ["object", "boolean"],
|
| 11 |
+
"properties": {
|
| 12 |
+
"additionalItems": { "$recursiveRef": "#" },
|
| 13 |
+
"unevaluatedItems": { "$recursiveRef": "#" },
|
| 14 |
+
"items": {
|
| 15 |
+
"anyOf": [
|
| 16 |
+
{ "$recursiveRef": "#" },
|
| 17 |
+
{ "$ref": "#/$defs/schemaArray" }
|
| 18 |
+
]
|
| 19 |
+
},
|
| 20 |
+
"contains": { "$recursiveRef": "#" },
|
| 21 |
+
"additionalProperties": { "$recursiveRef": "#" },
|
| 22 |
+
"unevaluatedProperties": { "$recursiveRef": "#" },
|
| 23 |
+
"properties": {
|
| 24 |
+
"type": "object",
|
| 25 |
+
"additionalProperties": { "$recursiveRef": "#" },
|
| 26 |
+
"default": {}
|
| 27 |
+
},
|
| 28 |
+
"patternProperties": {
|
| 29 |
+
"type": "object",
|
| 30 |
+
"additionalProperties": { "$recursiveRef": "#" },
|
| 31 |
+
"propertyNames": { "format": "regex" },
|
| 32 |
+
"default": {}
|
| 33 |
+
},
|
| 34 |
+
"dependentSchemas": {
|
| 35 |
+
"type": "object",
|
| 36 |
+
"additionalProperties": {
|
| 37 |
+
"$recursiveRef": "#"
|
| 38 |
+
}
|
| 39 |
+
},
|
| 40 |
+
"propertyNames": { "$recursiveRef": "#" },
|
| 41 |
+
"if": { "$recursiveRef": "#" },
|
| 42 |
+
"then": { "$recursiveRef": "#" },
|
| 43 |
+
"else": { "$recursiveRef": "#" },
|
| 44 |
+
"allOf": { "$ref": "#/$defs/schemaArray" },
|
| 45 |
+
"anyOf": { "$ref": "#/$defs/schemaArray" },
|
| 46 |
+
"oneOf": { "$ref": "#/$defs/schemaArray" },
|
| 47 |
+
"not": { "$recursiveRef": "#" }
|
| 48 |
+
},
|
| 49 |
+
"$defs": {
|
| 50 |
+
"schemaArray": {
|
| 51 |
+
"type": "array",
|
| 52 |
+
"minItems": 1,
|
| 53 |
+
"items": { "$recursiveRef": "#" }
|
| 54 |
+
}
|
| 55 |
+
}
|
| 56 |
+
}
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/content
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
| 3 |
+
"$id": "https://json-schema.org/draft/2019-09/meta/content",
|
| 4 |
+
"$vocabulary": {
|
| 5 |
+
"https://json-schema.org/draft/2019-09/vocab/content": true
|
| 6 |
+
},
|
| 7 |
+
"$recursiveAnchor": true,
|
| 8 |
+
|
| 9 |
+
"title": "Content vocabulary meta-schema",
|
| 10 |
+
|
| 11 |
+
"type": ["object", "boolean"],
|
| 12 |
+
"properties": {
|
| 13 |
+
"contentMediaType": { "type": "string" },
|
| 14 |
+
"contentEncoding": { "type": "string" },
|
| 15 |
+
"contentSchema": { "$recursiveRef": "#" }
|
| 16 |
+
}
|
| 17 |
+
}
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/core
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
| 3 |
+
"$id": "https://json-schema.org/draft/2019-09/meta/core",
|
| 4 |
+
"$vocabulary": {
|
| 5 |
+
"https://json-schema.org/draft/2019-09/vocab/core": true
|
| 6 |
+
},
|
| 7 |
+
"$recursiveAnchor": true,
|
| 8 |
+
|
| 9 |
+
"title": "Core vocabulary meta-schema",
|
| 10 |
+
"type": ["object", "boolean"],
|
| 11 |
+
"properties": {
|
| 12 |
+
"$id": {
|
| 13 |
+
"type": "string",
|
| 14 |
+
"format": "uri-reference",
|
| 15 |
+
"$comment": "Non-empty fragments not allowed.",
|
| 16 |
+
"pattern": "^[^#]*#?$"
|
| 17 |
+
},
|
| 18 |
+
"$schema": {
|
| 19 |
+
"type": "string",
|
| 20 |
+
"format": "uri"
|
| 21 |
+
},
|
| 22 |
+
"$anchor": {
|
| 23 |
+
"type": "string",
|
| 24 |
+
"pattern": "^[A-Za-z][-A-Za-z0-9.:_]*$"
|
| 25 |
+
},
|
| 26 |
+
"$ref": {
|
| 27 |
+
"type": "string",
|
| 28 |
+
"format": "uri-reference"
|
| 29 |
+
},
|
| 30 |
+
"$recursiveRef": {
|
| 31 |
+
"type": "string",
|
| 32 |
+
"format": "uri-reference"
|
| 33 |
+
},
|
| 34 |
+
"$recursiveAnchor": {
|
| 35 |
+
"type": "boolean",
|
| 36 |
+
"default": false
|
| 37 |
+
},
|
| 38 |
+
"$vocabulary": {
|
| 39 |
+
"type": "object",
|
| 40 |
+
"propertyNames": {
|
| 41 |
+
"type": "string",
|
| 42 |
+
"format": "uri"
|
| 43 |
+
},
|
| 44 |
+
"additionalProperties": {
|
| 45 |
+
"type": "boolean"
|
| 46 |
+
}
|
| 47 |
+
},
|
| 48 |
+
"$comment": {
|
| 49 |
+
"type": "string"
|
| 50 |
+
},
|
| 51 |
+
"$defs": {
|
| 52 |
+
"type": "object",
|
| 53 |
+
"additionalProperties": { "$recursiveRef": "#" },
|
| 54 |
+
"default": {}
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
}
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft201909/vocabularies/validation
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
| 3 |
+
"$id": "https://json-schema.org/draft/2019-09/meta/validation",
|
| 4 |
+
"$vocabulary": {
|
| 5 |
+
"https://json-schema.org/draft/2019-09/vocab/validation": true
|
| 6 |
+
},
|
| 7 |
+
"$recursiveAnchor": true,
|
| 8 |
+
|
| 9 |
+
"title": "Validation vocabulary meta-schema",
|
| 10 |
+
"type": ["object", "boolean"],
|
| 11 |
+
"properties": {
|
| 12 |
+
"multipleOf": {
|
| 13 |
+
"type": "number",
|
| 14 |
+
"exclusiveMinimum": 0
|
| 15 |
+
},
|
| 16 |
+
"maximum": {
|
| 17 |
+
"type": "number"
|
| 18 |
+
},
|
| 19 |
+
"exclusiveMaximum": {
|
| 20 |
+
"type": "number"
|
| 21 |
+
},
|
| 22 |
+
"minimum": {
|
| 23 |
+
"type": "number"
|
| 24 |
+
},
|
| 25 |
+
"exclusiveMinimum": {
|
| 26 |
+
"type": "number"
|
| 27 |
+
},
|
| 28 |
+
"maxLength": { "$ref": "#/$defs/nonNegativeInteger" },
|
| 29 |
+
"minLength": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },
|
| 30 |
+
"pattern": {
|
| 31 |
+
"type": "string",
|
| 32 |
+
"format": "regex"
|
| 33 |
+
},
|
| 34 |
+
"maxItems": { "$ref": "#/$defs/nonNegativeInteger" },
|
| 35 |
+
"minItems": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },
|
| 36 |
+
"uniqueItems": {
|
| 37 |
+
"type": "boolean",
|
| 38 |
+
"default": false
|
| 39 |
+
},
|
| 40 |
+
"maxContains": { "$ref": "#/$defs/nonNegativeInteger" },
|
| 41 |
+
"minContains": {
|
| 42 |
+
"$ref": "#/$defs/nonNegativeInteger",
|
| 43 |
+
"default": 1
|
| 44 |
+
},
|
| 45 |
+
"maxProperties": { "$ref": "#/$defs/nonNegativeInteger" },
|
| 46 |
+
"minProperties": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },
|
| 47 |
+
"required": { "$ref": "#/$defs/stringArray" },
|
| 48 |
+
"dependentRequired": {
|
| 49 |
+
"type": "object",
|
| 50 |
+
"additionalProperties": {
|
| 51 |
+
"$ref": "#/$defs/stringArray"
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
"const": true,
|
| 55 |
+
"enum": {
|
| 56 |
+
"type": "array",
|
| 57 |
+
"items": true
|
| 58 |
+
},
|
| 59 |
+
"type": {
|
| 60 |
+
"anyOf": [
|
| 61 |
+
{ "$ref": "#/$defs/simpleTypes" },
|
| 62 |
+
{
|
| 63 |
+
"type": "array",
|
| 64 |
+
"items": { "$ref": "#/$defs/simpleTypes" },
|
| 65 |
+
"minItems": 1,
|
| 66 |
+
"uniqueItems": true
|
| 67 |
+
}
|
| 68 |
+
]
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
"$defs": {
|
| 72 |
+
"nonNegativeInteger": {
|
| 73 |
+
"type": "integer",
|
| 74 |
+
"minimum": 0
|
| 75 |
+
},
|
| 76 |
+
"nonNegativeIntegerDefault0": {
|
| 77 |
+
"$ref": "#/$defs/nonNegativeInteger",
|
| 78 |
+
"default": 0
|
| 79 |
+
},
|
| 80 |
+
"simpleTypes": {
|
| 81 |
+
"enum": [
|
| 82 |
+
"array",
|
| 83 |
+
"boolean",
|
| 84 |
+
"integer",
|
| 85 |
+
"null",
|
| 86 |
+
"number",
|
| 87 |
+
"object",
|
| 88 |
+
"string"
|
| 89 |
+
]
|
| 90 |
+
},
|
| 91 |
+
"stringArray": {
|
| 92 |
+
"type": "array",
|
| 93 |
+
"items": { "type": "string" },
|
| 94 |
+
"uniqueItems": true,
|
| 95 |
+
"default": []
|
| 96 |
+
}
|
| 97 |
+
}
|
| 98 |
+
}
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft202012/metaschema.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
| 3 |
+
"$id": "https://json-schema.org/draft/2020-12/schema",
|
| 4 |
+
"$vocabulary": {
|
| 5 |
+
"https://json-schema.org/draft/2020-12/vocab/core": true,
|
| 6 |
+
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
|
| 7 |
+
"https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
|
| 8 |
+
"https://json-schema.org/draft/2020-12/vocab/validation": true,
|
| 9 |
+
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
|
| 10 |
+
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
|
| 11 |
+
"https://json-schema.org/draft/2020-12/vocab/content": true
|
| 12 |
+
},
|
| 13 |
+
"$dynamicAnchor": "meta",
|
| 14 |
+
|
| 15 |
+
"title": "Core and Validation specifications meta-schema",
|
| 16 |
+
"allOf": [
|
| 17 |
+
{"$ref": "meta/core"},
|
| 18 |
+
{"$ref": "meta/applicator"},
|
| 19 |
+
{"$ref": "meta/unevaluated"},
|
| 20 |
+
{"$ref": "meta/validation"},
|
| 21 |
+
{"$ref": "meta/meta-data"},
|
| 22 |
+
{"$ref": "meta/format-annotation"},
|
| 23 |
+
{"$ref": "meta/content"}
|
| 24 |
+
],
|
| 25 |
+
"type": ["object", "boolean"],
|
| 26 |
+
"$comment": "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",
|
| 27 |
+
"properties": {
|
| 28 |
+
"definitions": {
|
| 29 |
+
"$comment": "\"definitions\" has been replaced by \"$defs\".",
|
| 30 |
+
"type": "object",
|
| 31 |
+
"additionalProperties": { "$dynamicRef": "#meta" },
|
| 32 |
+
"deprecated": true,
|
| 33 |
+
"default": {}
|
| 34 |
+
},
|
| 35 |
+
"dependencies": {
|
| 36 |
+
"$comment": "\"dependencies\" has been split and replaced by \"dependentSchemas\" and \"dependentRequired\" in order to serve their differing semantics.",
|
| 37 |
+
"type": "object",
|
| 38 |
+
"additionalProperties": {
|
| 39 |
+
"anyOf": [
|
| 40 |
+
{ "$dynamicRef": "#meta" },
|
| 41 |
+
{ "$ref": "meta/validation#/$defs/stringArray" }
|
| 42 |
+
]
|
| 43 |
+
},
|
| 44 |
+
"deprecated": true,
|
| 45 |
+
"default": {}
|
| 46 |
+
},
|
| 47 |
+
"$recursiveAnchor": {
|
| 48 |
+
"$comment": "\"$recursiveAnchor\" has been replaced by \"$dynamicAnchor\".",
|
| 49 |
+
"$ref": "meta/core#/$defs/anchorString",
|
| 50 |
+
"deprecated": true
|
| 51 |
+
},
|
| 52 |
+
"$recursiveRef": {
|
| 53 |
+
"$comment": "\"$recursiveRef\" has been replaced by \"$dynamicRef\".",
|
| 54 |
+
"$ref": "meta/core#/$defs/uriReferenceString",
|
| 55 |
+
"deprecated": true
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
}
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/format-annotation
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
| 3 |
+
"$id": "https://json-schema.org/draft/2020-12/meta/format-annotation",
|
| 4 |
+
"$vocabulary": {
|
| 5 |
+
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true
|
| 6 |
+
},
|
| 7 |
+
"$dynamicAnchor": "meta",
|
| 8 |
+
|
| 9 |
+
"title": "Format vocabulary meta-schema for annotation results",
|
| 10 |
+
"type": ["object", "boolean"],
|
| 11 |
+
"properties": {
|
| 12 |
+
"format": { "type": "string" }
|
| 13 |
+
}
|
| 14 |
+
}
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft202012/vocabularies/unevaluated
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
| 3 |
+
"$id": "https://json-schema.org/draft/2020-12/meta/unevaluated",
|
| 4 |
+
"$vocabulary": {
|
| 5 |
+
"https://json-schema.org/draft/2020-12/vocab/unevaluated": true
|
| 6 |
+
},
|
| 7 |
+
"$dynamicAnchor": "meta",
|
| 8 |
+
|
| 9 |
+
"title": "Unevaluated applicator vocabulary meta-schema",
|
| 10 |
+
"type": ["object", "boolean"],
|
| 11 |
+
"properties": {
|
| 12 |
+
"unevaluatedItems": { "$dynamicRef": "#meta" },
|
| 13 |
+
"unevaluatedProperties": { "$dynamicRef": "#meta" }
|
| 14 |
+
}
|
| 15 |
+
}
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft4/metaschema.json
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "http://json-schema.org/draft-04/schema#",
|
| 3 |
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
| 4 |
+
"description": "Core schema meta-schema",
|
| 5 |
+
"definitions": {
|
| 6 |
+
"schemaArray": {
|
| 7 |
+
"type": "array",
|
| 8 |
+
"minItems": 1,
|
| 9 |
+
"items": { "$ref": "#" }
|
| 10 |
+
},
|
| 11 |
+
"positiveInteger": {
|
| 12 |
+
"type": "integer",
|
| 13 |
+
"minimum": 0
|
| 14 |
+
},
|
| 15 |
+
"positiveIntegerDefault0": {
|
| 16 |
+
"allOf": [ { "$ref": "#/definitions/positiveInteger" }, { "default": 0 } ]
|
| 17 |
+
},
|
| 18 |
+
"simpleTypes": {
|
| 19 |
+
"enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ]
|
| 20 |
+
},
|
| 21 |
+
"stringArray": {
|
| 22 |
+
"type": "array",
|
| 23 |
+
"items": { "type": "string" },
|
| 24 |
+
"minItems": 1,
|
| 25 |
+
"uniqueItems": true
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"type": "object",
|
| 29 |
+
"properties": {
|
| 30 |
+
"id": {
|
| 31 |
+
"type": "string"
|
| 32 |
+
},
|
| 33 |
+
"$schema": {
|
| 34 |
+
"type": "string"
|
| 35 |
+
},
|
| 36 |
+
"title": {
|
| 37 |
+
"type": "string"
|
| 38 |
+
},
|
| 39 |
+
"description": {
|
| 40 |
+
"type": "string"
|
| 41 |
+
},
|
| 42 |
+
"default": {},
|
| 43 |
+
"multipleOf": {
|
| 44 |
+
"type": "number",
|
| 45 |
+
"minimum": 0,
|
| 46 |
+
"exclusiveMinimum": true
|
| 47 |
+
},
|
| 48 |
+
"maximum": {
|
| 49 |
+
"type": "number"
|
| 50 |
+
},
|
| 51 |
+
"exclusiveMaximum": {
|
| 52 |
+
"type": "boolean",
|
| 53 |
+
"default": false
|
| 54 |
+
},
|
| 55 |
+
"minimum": {
|
| 56 |
+
"type": "number"
|
| 57 |
+
},
|
| 58 |
+
"exclusiveMinimum": {
|
| 59 |
+
"type": "boolean",
|
| 60 |
+
"default": false
|
| 61 |
+
},
|
| 62 |
+
"maxLength": { "$ref": "#/definitions/positiveInteger" },
|
| 63 |
+
"minLength": { "$ref": "#/definitions/positiveIntegerDefault0" },
|
| 64 |
+
"pattern": {
|
| 65 |
+
"type": "string",
|
| 66 |
+
"format": "regex"
|
| 67 |
+
},
|
| 68 |
+
"additionalItems": {
|
| 69 |
+
"anyOf": [
|
| 70 |
+
{ "type": "boolean" },
|
| 71 |
+
{ "$ref": "#" }
|
| 72 |
+
],
|
| 73 |
+
"default": {}
|
| 74 |
+
},
|
| 75 |
+
"items": {
|
| 76 |
+
"anyOf": [
|
| 77 |
+
{ "$ref": "#" },
|
| 78 |
+
{ "$ref": "#/definitions/schemaArray" }
|
| 79 |
+
],
|
| 80 |
+
"default": {}
|
| 81 |
+
},
|
| 82 |
+
"maxItems": { "$ref": "#/definitions/positiveInteger" },
|
| 83 |
+
"minItems": { "$ref": "#/definitions/positiveIntegerDefault0" },
|
| 84 |
+
"uniqueItems": {
|
| 85 |
+
"type": "boolean",
|
| 86 |
+
"default": false
|
| 87 |
+
},
|
| 88 |
+
"maxProperties": { "$ref": "#/definitions/positiveInteger" },
|
| 89 |
+
"minProperties": { "$ref": "#/definitions/positiveIntegerDefault0" },
|
| 90 |
+
"required": { "$ref": "#/definitions/stringArray" },
|
| 91 |
+
"additionalProperties": {
|
| 92 |
+
"anyOf": [
|
| 93 |
+
{ "type": "boolean" },
|
| 94 |
+
{ "$ref": "#" }
|
| 95 |
+
],
|
| 96 |
+
"default": {}
|
| 97 |
+
},
|
| 98 |
+
"definitions": {
|
| 99 |
+
"type": "object",
|
| 100 |
+
"additionalProperties": { "$ref": "#" },
|
| 101 |
+
"default": {}
|
| 102 |
+
},
|
| 103 |
+
"properties": {
|
| 104 |
+
"type": "object",
|
| 105 |
+
"additionalProperties": { "$ref": "#" },
|
| 106 |
+
"default": {}
|
| 107 |
+
},
|
| 108 |
+
"patternProperties": {
|
| 109 |
+
"type": "object",
|
| 110 |
+
"additionalProperties": { "$ref": "#" },
|
| 111 |
+
"default": {}
|
| 112 |
+
},
|
| 113 |
+
"dependencies": {
|
| 114 |
+
"type": "object",
|
| 115 |
+
"additionalProperties": {
|
| 116 |
+
"anyOf": [
|
| 117 |
+
{ "$ref": "#" },
|
| 118 |
+
{ "$ref": "#/definitions/stringArray" }
|
| 119 |
+
]
|
| 120 |
+
}
|
| 121 |
+
},
|
| 122 |
+
"enum": {
|
| 123 |
+
"type": "array",
|
| 124 |
+
"minItems": 1,
|
| 125 |
+
"uniqueItems": true
|
| 126 |
+
},
|
| 127 |
+
"type": {
|
| 128 |
+
"anyOf": [
|
| 129 |
+
{ "$ref": "#/definitions/simpleTypes" },
|
| 130 |
+
{
|
| 131 |
+
"type": "array",
|
| 132 |
+
"items": { "$ref": "#/definitions/simpleTypes" },
|
| 133 |
+
"minItems": 1,
|
| 134 |
+
"uniqueItems": true
|
| 135 |
+
}
|
| 136 |
+
]
|
| 137 |
+
},
|
| 138 |
+
"format": { "type": "string" },
|
| 139 |
+
"allOf": { "$ref": "#/definitions/schemaArray" },
|
| 140 |
+
"anyOf": { "$ref": "#/definitions/schemaArray" },
|
| 141 |
+
"oneOf": { "$ref": "#/definitions/schemaArray" },
|
| 142 |
+
"not": { "$ref": "#" }
|
| 143 |
+
},
|
| 144 |
+
"dependencies": {
|
| 145 |
+
"exclusiveMaximum": [ "maximum" ],
|
| 146 |
+
"exclusiveMinimum": [ "minimum" ]
|
| 147 |
+
},
|
| 148 |
+
"default": {}
|
| 149 |
+
}
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft6/metaschema.json
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "http://json-schema.org/draft-06/schema#",
|
| 3 |
+
"$id": "http://json-schema.org/draft-06/schema#",
|
| 4 |
+
"title": "Core schema meta-schema",
|
| 5 |
+
"definitions": {
|
| 6 |
+
"schemaArray": {
|
| 7 |
+
"type": "array",
|
| 8 |
+
"minItems": 1,
|
| 9 |
+
"items": { "$ref": "#" }
|
| 10 |
+
},
|
| 11 |
+
"nonNegativeInteger": {
|
| 12 |
+
"type": "integer",
|
| 13 |
+
"minimum": 0
|
| 14 |
+
},
|
| 15 |
+
"nonNegativeIntegerDefault0": {
|
| 16 |
+
"allOf": [
|
| 17 |
+
{ "$ref": "#/definitions/nonNegativeInteger" },
|
| 18 |
+
{ "default": 0 }
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
"simpleTypes": {
|
| 22 |
+
"enum": [
|
| 23 |
+
"array",
|
| 24 |
+
"boolean",
|
| 25 |
+
"integer",
|
| 26 |
+
"null",
|
| 27 |
+
"number",
|
| 28 |
+
"object",
|
| 29 |
+
"string"
|
| 30 |
+
]
|
| 31 |
+
},
|
| 32 |
+
"stringArray": {
|
| 33 |
+
"type": "array",
|
| 34 |
+
"items": { "type": "string" },
|
| 35 |
+
"uniqueItems": true,
|
| 36 |
+
"default": []
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
"type": ["object", "boolean"],
|
| 40 |
+
"properties": {
|
| 41 |
+
"$id": {
|
| 42 |
+
"type": "string",
|
| 43 |
+
"format": "uri-reference"
|
| 44 |
+
},
|
| 45 |
+
"$schema": {
|
| 46 |
+
"type": "string",
|
| 47 |
+
"format": "uri"
|
| 48 |
+
},
|
| 49 |
+
"$ref": {
|
| 50 |
+
"type": "string",
|
| 51 |
+
"format": "uri-reference"
|
| 52 |
+
},
|
| 53 |
+
"title": {
|
| 54 |
+
"type": "string"
|
| 55 |
+
},
|
| 56 |
+
"description": {
|
| 57 |
+
"type": "string"
|
| 58 |
+
},
|
| 59 |
+
"default": {},
|
| 60 |
+
"examples": {
|
| 61 |
+
"type": "array",
|
| 62 |
+
"items": {}
|
| 63 |
+
},
|
| 64 |
+
"multipleOf": {
|
| 65 |
+
"type": "number",
|
| 66 |
+
"exclusiveMinimum": 0
|
| 67 |
+
},
|
| 68 |
+
"maximum": {
|
| 69 |
+
"type": "number"
|
| 70 |
+
},
|
| 71 |
+
"exclusiveMaximum": {
|
| 72 |
+
"type": "number"
|
| 73 |
+
},
|
| 74 |
+
"minimum": {
|
| 75 |
+
"type": "number"
|
| 76 |
+
},
|
| 77 |
+
"exclusiveMinimum": {
|
| 78 |
+
"type": "number"
|
| 79 |
+
},
|
| 80 |
+
"maxLength": { "$ref": "#/definitions/nonNegativeInteger" },
|
| 81 |
+
"minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
|
| 82 |
+
"pattern": {
|
| 83 |
+
"type": "string",
|
| 84 |
+
"format": "regex"
|
| 85 |
+
},
|
| 86 |
+
"additionalItems": { "$ref": "#" },
|
| 87 |
+
"items": {
|
| 88 |
+
"anyOf": [
|
| 89 |
+
{ "$ref": "#" },
|
| 90 |
+
{ "$ref": "#/definitions/schemaArray" }
|
| 91 |
+
],
|
| 92 |
+
"default": {}
|
| 93 |
+
},
|
| 94 |
+
"maxItems": { "$ref": "#/definitions/nonNegativeInteger" },
|
| 95 |
+
"minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
|
| 96 |
+
"uniqueItems": {
|
| 97 |
+
"type": "boolean",
|
| 98 |
+
"default": false
|
| 99 |
+
},
|
| 100 |
+
"contains": { "$ref": "#" },
|
| 101 |
+
"maxProperties": { "$ref": "#/definitions/nonNegativeInteger" },
|
| 102 |
+
"minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
|
| 103 |
+
"required": { "$ref": "#/definitions/stringArray" },
|
| 104 |
+
"additionalProperties": { "$ref": "#" },
|
| 105 |
+
"definitions": {
|
| 106 |
+
"type": "object",
|
| 107 |
+
"additionalProperties": { "$ref": "#" },
|
| 108 |
+
"default": {}
|
| 109 |
+
},
|
| 110 |
+
"properties": {
|
| 111 |
+
"type": "object",
|
| 112 |
+
"additionalProperties": { "$ref": "#" },
|
| 113 |
+
"default": {}
|
| 114 |
+
},
|
| 115 |
+
"patternProperties": {
|
| 116 |
+
"type": "object",
|
| 117 |
+
"additionalProperties": { "$ref": "#" },
|
| 118 |
+
"propertyNames": { "format": "regex" },
|
| 119 |
+
"default": {}
|
| 120 |
+
},
|
| 121 |
+
"dependencies": {
|
| 122 |
+
"type": "object",
|
| 123 |
+
"additionalProperties": {
|
| 124 |
+
"anyOf": [
|
| 125 |
+
{ "$ref": "#" },
|
| 126 |
+
{ "$ref": "#/definitions/stringArray" }
|
| 127 |
+
]
|
| 128 |
+
}
|
| 129 |
+
},
|
| 130 |
+
"propertyNames": { "$ref": "#" },
|
| 131 |
+
"const": {},
|
| 132 |
+
"enum": {
|
| 133 |
+
"type": "array"
|
| 134 |
+
},
|
| 135 |
+
"type": {
|
| 136 |
+
"anyOf": [
|
| 137 |
+
{ "$ref": "#/definitions/simpleTypes" },
|
| 138 |
+
{
|
| 139 |
+
"type": "array",
|
| 140 |
+
"items": { "$ref": "#/definitions/simpleTypes" },
|
| 141 |
+
"minItems": 1,
|
| 142 |
+
"uniqueItems": true
|
| 143 |
+
}
|
| 144 |
+
]
|
| 145 |
+
},
|
| 146 |
+
"format": { "type": "string" },
|
| 147 |
+
"allOf": { "$ref": "#/definitions/schemaArray" },
|
| 148 |
+
"anyOf": { "$ref": "#/definitions/schemaArray" },
|
| 149 |
+
"oneOf": { "$ref": "#/definitions/schemaArray" },
|
| 150 |
+
"not": { "$ref": "#" }
|
| 151 |
+
},
|
| 152 |
+
"default": {}
|
| 153 |
+
}
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/schemas/draft7/metaschema.json
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
| 3 |
+
"$id": "http://json-schema.org/draft-07/schema#",
|
| 4 |
+
"title": "Core schema meta-schema",
|
| 5 |
+
"definitions": {
|
| 6 |
+
"schemaArray": {
|
| 7 |
+
"type": "array",
|
| 8 |
+
"minItems": 1,
|
| 9 |
+
"items": { "$ref": "#" }
|
| 10 |
+
},
|
| 11 |
+
"nonNegativeInteger": {
|
| 12 |
+
"type": "integer",
|
| 13 |
+
"minimum": 0
|
| 14 |
+
},
|
| 15 |
+
"nonNegativeIntegerDefault0": {
|
| 16 |
+
"allOf": [
|
| 17 |
+
{ "$ref": "#/definitions/nonNegativeInteger" },
|
| 18 |
+
{ "default": 0 }
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
"simpleTypes": {
|
| 22 |
+
"enum": [
|
| 23 |
+
"array",
|
| 24 |
+
"boolean",
|
| 25 |
+
"integer",
|
| 26 |
+
"null",
|
| 27 |
+
"number",
|
| 28 |
+
"object",
|
| 29 |
+
"string"
|
| 30 |
+
]
|
| 31 |
+
},
|
| 32 |
+
"stringArray": {
|
| 33 |
+
"type": "array",
|
| 34 |
+
"items": { "type": "string" },
|
| 35 |
+
"uniqueItems": true,
|
| 36 |
+
"default": []
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
"type": ["object", "boolean"],
|
| 40 |
+
"properties": {
|
| 41 |
+
"$id": {
|
| 42 |
+
"type": "string",
|
| 43 |
+
"format": "uri-reference"
|
| 44 |
+
},
|
| 45 |
+
"$schema": {
|
| 46 |
+
"type": "string",
|
| 47 |
+
"format": "uri"
|
| 48 |
+
},
|
| 49 |
+
"$ref": {
|
| 50 |
+
"type": "string",
|
| 51 |
+
"format": "uri-reference"
|
| 52 |
+
},
|
| 53 |
+
"$comment": {
|
| 54 |
+
"type": "string"
|
| 55 |
+
},
|
| 56 |
+
"title": {
|
| 57 |
+
"type": "string"
|
| 58 |
+
},
|
| 59 |
+
"description": {
|
| 60 |
+
"type": "string"
|
| 61 |
+
},
|
| 62 |
+
"default": true,
|
| 63 |
+
"readOnly": {
|
| 64 |
+
"type": "boolean",
|
| 65 |
+
"default": false
|
| 66 |
+
},
|
| 67 |
+
"examples": {
|
| 68 |
+
"type": "array",
|
| 69 |
+
"items": true
|
| 70 |
+
},
|
| 71 |
+
"multipleOf": {
|
| 72 |
+
"type": "number",
|
| 73 |
+
"exclusiveMinimum": 0
|
| 74 |
+
},
|
| 75 |
+
"maximum": {
|
| 76 |
+
"type": "number"
|
| 77 |
+
},
|
| 78 |
+
"exclusiveMaximum": {
|
| 79 |
+
"type": "number"
|
| 80 |
+
},
|
| 81 |
+
"minimum": {
|
| 82 |
+
"type": "number"
|
| 83 |
+
},
|
| 84 |
+
"exclusiveMinimum": {
|
| 85 |
+
"type": "number"
|
| 86 |
+
},
|
| 87 |
+
"maxLength": { "$ref": "#/definitions/nonNegativeInteger" },
|
| 88 |
+
"minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
|
| 89 |
+
"pattern": {
|
| 90 |
+
"type": "string",
|
| 91 |
+
"format": "regex"
|
| 92 |
+
},
|
| 93 |
+
"additionalItems": { "$ref": "#" },
|
| 94 |
+
"items": {
|
| 95 |
+
"anyOf": [
|
| 96 |
+
{ "$ref": "#" },
|
| 97 |
+
{ "$ref": "#/definitions/schemaArray" }
|
| 98 |
+
],
|
| 99 |
+
"default": true
|
| 100 |
+
},
|
| 101 |
+
"maxItems": { "$ref": "#/definitions/nonNegativeInteger" },
|
| 102 |
+
"minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
|
| 103 |
+
"uniqueItems": {
|
| 104 |
+
"type": "boolean",
|
| 105 |
+
"default": false
|
| 106 |
+
},
|
| 107 |
+
"contains": { "$ref": "#" },
|
| 108 |
+
"maxProperties": { "$ref": "#/definitions/nonNegativeInteger" },
|
| 109 |
+
"minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
|
| 110 |
+
"required": { "$ref": "#/definitions/stringArray" },
|
| 111 |
+
"additionalProperties": { "$ref": "#" },
|
| 112 |
+
"definitions": {
|
| 113 |
+
"type": "object",
|
| 114 |
+
"additionalProperties": { "$ref": "#" },
|
| 115 |
+
"default": {}
|
| 116 |
+
},
|
| 117 |
+
"properties": {
|
| 118 |
+
"type": "object",
|
| 119 |
+
"additionalProperties": { "$ref": "#" },
|
| 120 |
+
"default": {}
|
| 121 |
+
},
|
| 122 |
+
"patternProperties": {
|
| 123 |
+
"type": "object",
|
| 124 |
+
"additionalProperties": { "$ref": "#" },
|
| 125 |
+
"propertyNames": { "format": "regex" },
|
| 126 |
+
"default": {}
|
| 127 |
+
},
|
| 128 |
+
"dependencies": {
|
| 129 |
+
"type": "object",
|
| 130 |
+
"additionalProperties": {
|
| 131 |
+
"anyOf": [
|
| 132 |
+
{ "$ref": "#" },
|
| 133 |
+
{ "$ref": "#/definitions/stringArray" }
|
| 134 |
+
]
|
| 135 |
+
}
|
| 136 |
+
},
|
| 137 |
+
"propertyNames": { "$ref": "#" },
|
| 138 |
+
"const": true,
|
| 139 |
+
"enum": {
|
| 140 |
+
"type": "array",
|
| 141 |
+
"items": true
|
| 142 |
+
},
|
| 143 |
+
"type": {
|
| 144 |
+
"anyOf": [
|
| 145 |
+
{ "$ref": "#/definitions/simpleTypes" },
|
| 146 |
+
{
|
| 147 |
+
"type": "array",
|
| 148 |
+
"items": { "$ref": "#/definitions/simpleTypes" },
|
| 149 |
+
"minItems": 1,
|
| 150 |
+
"uniqueItems": true
|
| 151 |
+
}
|
| 152 |
+
]
|
| 153 |
+
},
|
| 154 |
+
"format": { "type": "string" },
|
| 155 |
+
"contentMediaType": { "type": "string" },
|
| 156 |
+
"contentEncoding": { "type": "string" },
|
| 157 |
+
"if": {"$ref": "#"},
|
| 158 |
+
"then": {"$ref": "#"},
|
| 159 |
+
"else": {"$ref": "#"},
|
| 160 |
+
"allOf": { "$ref": "#/definitions/schemaArray" },
|
| 161 |
+
"anyOf": { "$ref": "#/definitions/schemaArray" },
|
| 162 |
+
"oneOf": { "$ref": "#/definitions/schemaArray" },
|
| 163 |
+
"not": { "$ref": "#" }
|
| 164 |
+
},
|
| 165 |
+
"default": true
|
| 166 |
+
}
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/tests/__init__.py
ADDED
|
File without changes
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/tests/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (193 Bytes). View file
|
|
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/tests/__pycache__/test_jsonschema_specifications.cpython-310.pyc
ADDED
|
Binary file (1.4 kB). View file
|
|
|
evalkit_cambrian/lib/python3.10/site-packages/jsonschema_specifications/tests/test_jsonschema_specifications.py
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from collections.abc import Mapping
|
| 2 |
+
from pathlib import Path
|
| 3 |
+
|
| 4 |
+
import pytest
|
| 5 |
+
|
| 6 |
+
from jsonschema_specifications import REGISTRY
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
def test_it_contains_metaschemas():
|
| 10 |
+
schema = REGISTRY.contents("http://json-schema.org/draft-07/schema#")
|
| 11 |
+
assert isinstance(schema, Mapping)
|
| 12 |
+
assert schema["$id"] == "http://json-schema.org/draft-07/schema#"
|
| 13 |
+
assert schema["title"] == "Core schema meta-schema"
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
def test_it_is_crawled():
|
| 17 |
+
assert REGISTRY.crawl() == REGISTRY
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
@pytest.mark.parametrize(
|
| 21 |
+
"ignored_relative_path",
|
| 22 |
+
["schemas/.DS_Store", "schemas/draft7/.DS_Store"],
|
| 23 |
+
)
|
| 24 |
+
def test_it_copes_with_dotfiles(ignored_relative_path):
|
| 25 |
+
"""
|
| 26 |
+
Ignore files like .DS_Store if someone has actually caused one to exist.
|
| 27 |
+
|
| 28 |
+
We test here through the private interface as of course the global has
|
| 29 |
+
already loaded our schemas.
|
| 30 |
+
"""
|
| 31 |
+
|
| 32 |
+
import jsonschema_specifications
|
| 33 |
+
|
| 34 |
+
package = Path(jsonschema_specifications.__file__).parent
|
| 35 |
+
|
| 36 |
+
ignored = package / ignored_relative_path
|
| 37 |
+
ignored.touch()
|
| 38 |
+
try:
|
| 39 |
+
list(jsonschema_specifications._schemas())
|
| 40 |
+
finally:
|
| 41 |
+
ignored.unlink()
|
evalkit_cambrian/lib/python3.10/site-packages/matplotlib_inline-0.1.7.dist-info/LICENSE
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
BSD 3-Clause License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2019-2022, IPython Development Team.
|
| 4 |
+
All rights reserved.
|
| 5 |
+
|
| 6 |
+
Redistribution and use in source and binary forms, with or without
|
| 7 |
+
modification, are permitted provided that the following conditions are met:
|
| 8 |
+
|
| 9 |
+
1. Redistributions of source code must retain the above copyright notice, this
|
| 10 |
+
list of conditions and the following disclaimer.
|
| 11 |
+
|
| 12 |
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
| 13 |
+
this list of conditions and the following disclaimer in the documentation
|
| 14 |
+
and/or other materials provided with the distribution.
|
| 15 |
+
|
| 16 |
+
3. Neither the name of the copyright holder nor the names of its
|
| 17 |
+
contributors may be used to endorse or promote products derived from
|
| 18 |
+
this software without specific prior written permission.
|
| 19 |
+
|
| 20 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 21 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 22 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 23 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
| 24 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 25 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 26 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 27 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 28 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 29 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
evalkit_cambrian/lib/python3.10/site-packages/multidict/__init__.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Multidict implementation.
|
| 2 |
+
|
| 3 |
+
HTTP Headers and URL query string require specific data structure:
|
| 4 |
+
multidict. It behaves mostly like a dict but it can have
|
| 5 |
+
several values for the same key.
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
+
from ._abc import MultiMapping, MutableMultiMapping
|
| 9 |
+
from ._compat import USE_EXTENSIONS
|
| 10 |
+
|
| 11 |
+
__all__ = (
|
| 12 |
+
"MultiMapping",
|
| 13 |
+
"MutableMultiMapping",
|
| 14 |
+
"MultiDictProxy",
|
| 15 |
+
"CIMultiDictProxy",
|
| 16 |
+
"MultiDict",
|
| 17 |
+
"CIMultiDict",
|
| 18 |
+
"upstr",
|
| 19 |
+
"istr",
|
| 20 |
+
"getversion",
|
| 21 |
+
)
|
| 22 |
+
|
| 23 |
+
__version__ = "6.1.0"
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
try:
|
| 27 |
+
if not USE_EXTENSIONS:
|
| 28 |
+
raise ImportError
|
| 29 |
+
from ._multidict import (
|
| 30 |
+
CIMultiDict,
|
| 31 |
+
CIMultiDictProxy,
|
| 32 |
+
MultiDict,
|
| 33 |
+
MultiDictProxy,
|
| 34 |
+
getversion,
|
| 35 |
+
istr,
|
| 36 |
+
)
|
| 37 |
+
except ImportError: # pragma: no cover
|
| 38 |
+
from ._multidict_py import (
|
| 39 |
+
CIMultiDict,
|
| 40 |
+
CIMultiDictProxy,
|
| 41 |
+
MultiDict,
|
| 42 |
+
MultiDictProxy,
|
| 43 |
+
getversion,
|
| 44 |
+
istr,
|
| 45 |
+
)
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
upstr = istr
|
evalkit_cambrian/lib/python3.10/site-packages/multidict/__init__.pyi
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import abc
|
| 2 |
+
from typing import (
|
| 3 |
+
Generic,
|
| 4 |
+
Iterable,
|
| 5 |
+
Iterator,
|
| 6 |
+
Mapping,
|
| 7 |
+
MutableMapping,
|
| 8 |
+
TypeVar,
|
| 9 |
+
overload,
|
| 10 |
+
)
|
| 11 |
+
|
| 12 |
+
class istr(str): ...
|
| 13 |
+
|
| 14 |
+
upstr = istr
|
| 15 |
+
|
| 16 |
+
_S = str | istr
|
| 17 |
+
|
| 18 |
+
_T = TypeVar("_T")
|
| 19 |
+
|
| 20 |
+
_T_co = TypeVar("_T_co", covariant=True)
|
| 21 |
+
|
| 22 |
+
_D = TypeVar("_D")
|
| 23 |
+
|
| 24 |
+
class MultiMapping(Mapping[_S, _T_co]):
|
| 25 |
+
@overload
|
| 26 |
+
@abc.abstractmethod
|
| 27 |
+
def getall(self, key: _S) -> list[_T_co]: ...
|
| 28 |
+
@overload
|
| 29 |
+
@abc.abstractmethod
|
| 30 |
+
def getall(self, key: _S, default: _D) -> list[_T_co] | _D: ...
|
| 31 |
+
@overload
|
| 32 |
+
@abc.abstractmethod
|
| 33 |
+
def getone(self, key: _S) -> _T_co: ...
|
| 34 |
+
@overload
|
| 35 |
+
@abc.abstractmethod
|
| 36 |
+
def getone(self, key: _S, default: _D) -> _T_co | _D: ...
|
| 37 |
+
|
| 38 |
+
_Arg = (
|
| 39 |
+
Mapping[str, _T]
|
| 40 |
+
| Mapping[istr, _T]
|
| 41 |
+
| dict[str, _T]
|
| 42 |
+
| dict[istr, _T]
|
| 43 |
+
| MultiMapping[_T]
|
| 44 |
+
| Iterable[tuple[str, _T]]
|
| 45 |
+
| Iterable[tuple[istr, _T]]
|
| 46 |
+
)
|
| 47 |
+
|
| 48 |
+
class MutableMultiMapping(MultiMapping[_T], MutableMapping[_S, _T], Generic[_T]):
|
| 49 |
+
@abc.abstractmethod
|
| 50 |
+
def add(self, key: _S, value: _T) -> None: ...
|
| 51 |
+
@abc.abstractmethod
|
| 52 |
+
def extend(self, arg: _Arg[_T] = ..., **kwargs: _T) -> None: ...
|
| 53 |
+
@overload
|
| 54 |
+
@abc.abstractmethod
|
| 55 |
+
def popone(self, key: _S) -> _T: ...
|
| 56 |
+
@overload
|
| 57 |
+
@abc.abstractmethod
|
| 58 |
+
def popone(self, key: _S, default: _D) -> _T | _D: ...
|
| 59 |
+
@overload
|
| 60 |
+
@abc.abstractmethod
|
| 61 |
+
def popall(self, key: _S) -> list[_T]: ...
|
| 62 |
+
@overload
|
| 63 |
+
@abc.abstractmethod
|
| 64 |
+
def popall(self, key: _S, default: _D) -> list[_T] | _D: ...
|
| 65 |
+
|
| 66 |
+
class MultiDict(MutableMultiMapping[_T], Generic[_T]):
|
| 67 |
+
def __init__(self, arg: _Arg[_T] = ..., **kwargs: _T) -> None: ...
|
| 68 |
+
def copy(self) -> MultiDict[_T]: ...
|
| 69 |
+
def __getitem__(self, k: _S) -> _T: ...
|
| 70 |
+
def __setitem__(self, k: _S, v: _T) -> None: ...
|
| 71 |
+
def __delitem__(self, v: _S) -> None: ...
|
| 72 |
+
def __iter__(self) -> Iterator[_S]: ...
|
| 73 |
+
def __len__(self) -> int: ...
|
| 74 |
+
@overload
|
| 75 |
+
def getall(self, key: _S) -> list[_T]: ...
|
| 76 |
+
@overload
|
| 77 |
+
def getall(self, key: _S, default: _D) -> list[_T] | _D: ...
|
| 78 |
+
@overload
|
| 79 |
+
def getone(self, key: _S) -> _T: ...
|
| 80 |
+
@overload
|
| 81 |
+
def getone(self, key: _S, default: _D) -> _T | _D: ...
|
| 82 |
+
def add(self, key: _S, value: _T) -> None: ...
|
| 83 |
+
def extend(self, arg: _Arg[_T] = ..., **kwargs: _T) -> None: ...
|
| 84 |
+
@overload
|
| 85 |
+
def popone(self, key: _S) -> _T: ...
|
| 86 |
+
@overload
|
| 87 |
+
def popone(self, key: _S, default: _D) -> _T | _D: ...
|
| 88 |
+
@overload
|
| 89 |
+
def popall(self, key: _S) -> list[_T]: ...
|
| 90 |
+
@overload
|
| 91 |
+
def popall(self, key: _S, default: _D) -> list[_T] | _D: ...
|
| 92 |
+
|
| 93 |
+
class CIMultiDict(MutableMultiMapping[_T], Generic[_T]):
|
| 94 |
+
def __init__(self, arg: _Arg[_T] = ..., **kwargs: _T) -> None: ...
|
| 95 |
+
def copy(self) -> CIMultiDict[_T]: ...
|
| 96 |
+
def __getitem__(self, k: _S) -> _T: ...
|
| 97 |
+
def __setitem__(self, k: _S, v: _T) -> None: ...
|
| 98 |
+
def __delitem__(self, v: _S) -> None: ...
|
| 99 |
+
def __iter__(self) -> Iterator[_S]: ...
|
| 100 |
+
def __len__(self) -> int: ...
|
| 101 |
+
@overload
|
| 102 |
+
def getall(self, key: _S) -> list[_T]: ...
|
| 103 |
+
@overload
|
| 104 |
+
def getall(self, key: _S, default: _D) -> list[_T] | _D: ...
|
| 105 |
+
@overload
|
| 106 |
+
def getone(self, key: _S) -> _T: ...
|
| 107 |
+
@overload
|
| 108 |
+
def getone(self, key: _S, default: _D) -> _T | _D: ...
|
| 109 |
+
def add(self, key: _S, value: _T) -> None: ...
|
| 110 |
+
def extend(self, arg: _Arg[_T] = ..., **kwargs: _T) -> None: ...
|
| 111 |
+
@overload
|
| 112 |
+
def popone(self, key: _S) -> _T: ...
|
| 113 |
+
@overload
|
| 114 |
+
def popone(self, key: _S, default: _D) -> _T | _D: ...
|
| 115 |
+
@overload
|
| 116 |
+
def popall(self, key: _S) -> list[_T]: ...
|
| 117 |
+
@overload
|
| 118 |
+
def popall(self, key: _S, default: _D) -> list[_T] | _D: ...
|
| 119 |
+
|
| 120 |
+
class MultiDictProxy(MultiMapping[_T], Generic[_T]):
|
| 121 |
+
def __init__(self, arg: MultiMapping[_T] | MutableMultiMapping[_T]) -> None: ...
|
| 122 |
+
def copy(self) -> MultiDict[_T]: ...
|
| 123 |
+
def __getitem__(self, k: _S) -> _T: ...
|
| 124 |
+
def __iter__(self) -> Iterator[_S]: ...
|
| 125 |
+
def __len__(self) -> int: ...
|
| 126 |
+
@overload
|
| 127 |
+
def getall(self, key: _S) -> list[_T]: ...
|
| 128 |
+
@overload
|
| 129 |
+
def getall(self, key: _S, default: _D) -> list[_T] | _D: ...
|
| 130 |
+
@overload
|
| 131 |
+
def getone(self, key: _S) -> _T: ...
|
| 132 |
+
@overload
|
| 133 |
+
def getone(self, key: _S, default: _D) -> _T | _D: ...
|
| 134 |
+
|
| 135 |
+
class CIMultiDictProxy(MultiMapping[_T], Generic[_T]):
|
| 136 |
+
def __init__(self, arg: MultiMapping[_T] | MutableMultiMapping[_T]) -> None: ...
|
| 137 |
+
def __getitem__(self, k: _S) -> _T: ...
|
| 138 |
+
def __iter__(self) -> Iterator[_S]: ...
|
| 139 |
+
def __len__(self) -> int: ...
|
| 140 |
+
@overload
|
| 141 |
+
def getall(self, key: _S) -> list[_T]: ...
|
| 142 |
+
@overload
|
| 143 |
+
def getall(self, key: _S, default: _D) -> list[_T] | _D: ...
|
| 144 |
+
@overload
|
| 145 |
+
def getone(self, key: _S) -> _T: ...
|
| 146 |
+
@overload
|
| 147 |
+
def getone(self, key: _S, default: _D) -> _T | _D: ...
|
| 148 |
+
def copy(self) -> CIMultiDict[_T]: ...
|
| 149 |
+
|
| 150 |
+
def getversion(
|
| 151 |
+
md: MultiDict[_T] | CIMultiDict[_T] | MultiDictProxy[_T] | CIMultiDictProxy[_T],
|
| 152 |
+
) -> int: ...
|
evalkit_cambrian/lib/python3.10/site-packages/multidict/__pycache__/_compat.cpython-310.pyc
ADDED
|
Binary file (463 Bytes). View file
|
|
|
evalkit_cambrian/lib/python3.10/site-packages/multidict/__pycache__/_multidict_base.cpython-310.pyc
ADDED
|
Binary file (3.4 kB). View file
|
|
|
evalkit_cambrian/lib/python3.10/site-packages/multidict/__pycache__/_multidict_py.cpython-310.pyc
ADDED
|
Binary file (16.4 kB). View file
|
|
|
evalkit_cambrian/lib/python3.10/site-packages/multidict/_abc.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import abc
|
| 2 |
+
import sys
|
| 3 |
+
import types
|
| 4 |
+
from collections.abc import Mapping, MutableMapping
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
class _TypingMeta(abc.ABCMeta):
|
| 8 |
+
# A fake metaclass to satisfy typing deps in runtime
|
| 9 |
+
# basically MultiMapping[str] and other generic-like type instantiations
|
| 10 |
+
# are emulated.
|
| 11 |
+
# Note: real type hints are provided by __init__.pyi stub file
|
| 12 |
+
if sys.version_info >= (3, 9):
|
| 13 |
+
|
| 14 |
+
def __getitem__(self, key):
|
| 15 |
+
return types.GenericAlias(self, key)
|
| 16 |
+
|
| 17 |
+
else:
|
| 18 |
+
|
| 19 |
+
def __getitem__(self, key):
|
| 20 |
+
return self
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
class MultiMapping(Mapping, metaclass=_TypingMeta):
|
| 24 |
+
@abc.abstractmethod
|
| 25 |
+
def getall(self, key, default=None):
|
| 26 |
+
raise KeyError
|
| 27 |
+
|
| 28 |
+
@abc.abstractmethod
|
| 29 |
+
def getone(self, key, default=None):
|
| 30 |
+
raise KeyError
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
class MutableMultiMapping(MultiMapping, MutableMapping):
|
| 34 |
+
@abc.abstractmethod
|
| 35 |
+
def add(self, key, value):
|
| 36 |
+
raise NotImplementedError
|
| 37 |
+
|
| 38 |
+
@abc.abstractmethod
|
| 39 |
+
def extend(self, *args, **kwargs):
|
| 40 |
+
raise NotImplementedError
|
| 41 |
+
|
| 42 |
+
@abc.abstractmethod
|
| 43 |
+
def popone(self, key, default=None):
|
| 44 |
+
raise KeyError
|
| 45 |
+
|
| 46 |
+
@abc.abstractmethod
|
| 47 |
+
def popall(self, key, default=None):
|
| 48 |
+
raise KeyError
|
evalkit_cambrian/lib/python3.10/site-packages/multidict/_compat.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import platform
|
| 3 |
+
|
| 4 |
+
NO_EXTENSIONS = bool(os.environ.get("MULTIDICT_NO_EXTENSIONS"))
|
| 5 |
+
|
| 6 |
+
PYPY = platform.python_implementation() == "PyPy"
|
| 7 |
+
|
| 8 |
+
USE_EXTENSIONS = not NO_EXTENSIONS and not PYPY
|
| 9 |
+
|
| 10 |
+
if USE_EXTENSIONS:
|
| 11 |
+
try:
|
| 12 |
+
from . import _multidict # type: ignore[attr-defined] # noqa: F401
|
| 13 |
+
except ImportError:
|
| 14 |
+
USE_EXTENSIONS = False
|
evalkit_cambrian/lib/python3.10/site-packages/multidict/_multidict_base.py
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from collections.abc import ItemsView, Iterable, KeysView, Set, ValuesView
|
| 3 |
+
|
| 4 |
+
if sys.version_info >= (3, 11):
|
| 5 |
+
from typing import assert_never
|
| 6 |
+
else:
|
| 7 |
+
from typing_extensions import assert_never
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def _abc_itemsview_register(view_cls):
|
| 11 |
+
ItemsView.register(view_cls)
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def _abc_keysview_register(view_cls):
|
| 15 |
+
KeysView.register(view_cls)
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def _abc_valuesview_register(view_cls):
|
| 19 |
+
ValuesView.register(view_cls)
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def _viewbaseset_richcmp(view, other, op):
|
| 23 |
+
if op == 0: # <
|
| 24 |
+
if not isinstance(other, Set):
|
| 25 |
+
return NotImplemented
|
| 26 |
+
return len(view) < len(other) and view <= other
|
| 27 |
+
elif op == 1: # <=
|
| 28 |
+
if not isinstance(other, Set):
|
| 29 |
+
return NotImplemented
|
| 30 |
+
if len(view) > len(other):
|
| 31 |
+
return False
|
| 32 |
+
for elem in view:
|
| 33 |
+
if elem not in other:
|
| 34 |
+
return False
|
| 35 |
+
return True
|
| 36 |
+
elif op == 2: # ==
|
| 37 |
+
if not isinstance(other, Set):
|
| 38 |
+
return NotImplemented
|
| 39 |
+
return len(view) == len(other) and view <= other
|
| 40 |
+
elif op == 3: # !=
|
| 41 |
+
return not view == other
|
| 42 |
+
elif op == 4: # >
|
| 43 |
+
if not isinstance(other, Set):
|
| 44 |
+
return NotImplemented
|
| 45 |
+
return len(view) > len(other) and view >= other
|
| 46 |
+
elif op == 5: # >=
|
| 47 |
+
if not isinstance(other, Set):
|
| 48 |
+
return NotImplemented
|
| 49 |
+
if len(view) < len(other):
|
| 50 |
+
return False
|
| 51 |
+
for elem in other:
|
| 52 |
+
if elem not in view:
|
| 53 |
+
return False
|
| 54 |
+
return True
|
| 55 |
+
else: # pragma: no cover
|
| 56 |
+
assert_never(op)
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def _viewbaseset_and(view, other):
|
| 60 |
+
if not isinstance(other, Iterable):
|
| 61 |
+
return NotImplemented
|
| 62 |
+
if isinstance(view, Set):
|
| 63 |
+
view = set(iter(view))
|
| 64 |
+
if isinstance(other, Set):
|
| 65 |
+
other = set(iter(other))
|
| 66 |
+
if not isinstance(other, Set):
|
| 67 |
+
other = set(iter(other))
|
| 68 |
+
return view & other
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
def _viewbaseset_or(view, other):
|
| 72 |
+
if not isinstance(other, Iterable):
|
| 73 |
+
return NotImplemented
|
| 74 |
+
if isinstance(view, Set):
|
| 75 |
+
view = set(iter(view))
|
| 76 |
+
if isinstance(other, Set):
|
| 77 |
+
other = set(iter(other))
|
| 78 |
+
if not isinstance(other, Set):
|
| 79 |
+
other = set(iter(other))
|
| 80 |
+
return view | other
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
def _viewbaseset_sub(view, other):
|
| 84 |
+
if not isinstance(other, Iterable):
|
| 85 |
+
return NotImplemented
|
| 86 |
+
if isinstance(view, Set):
|
| 87 |
+
view = set(iter(view))
|
| 88 |
+
if isinstance(other, Set):
|
| 89 |
+
other = set(iter(other))
|
| 90 |
+
if not isinstance(other, Set):
|
| 91 |
+
other = set(iter(other))
|
| 92 |
+
return view - other
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
def _viewbaseset_xor(view, other):
|
| 96 |
+
if not isinstance(other, Iterable):
|
| 97 |
+
return NotImplemented
|
| 98 |
+
if isinstance(view, Set):
|
| 99 |
+
view = set(iter(view))
|
| 100 |
+
if isinstance(other, Set):
|
| 101 |
+
other = set(iter(other))
|
| 102 |
+
if not isinstance(other, Set):
|
| 103 |
+
other = set(iter(other))
|
| 104 |
+
return view ^ other
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
def _itemsview_isdisjoint(view, other):
|
| 108 |
+
"Return True if two sets have a null intersection."
|
| 109 |
+
for v in other:
|
| 110 |
+
if v in view:
|
| 111 |
+
return False
|
| 112 |
+
return True
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
def _itemsview_repr(view):
|
| 116 |
+
lst = []
|
| 117 |
+
for k, v in view:
|
| 118 |
+
lst.append("{!r}: {!r}".format(k, v))
|
| 119 |
+
body = ", ".join(lst)
|
| 120 |
+
return "{}({})".format(view.__class__.__name__, body)
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
def _keysview_isdisjoint(view, other):
|
| 124 |
+
"Return True if two sets have a null intersection."
|
| 125 |
+
for k in other:
|
| 126 |
+
if k in view:
|
| 127 |
+
return False
|
| 128 |
+
return True
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
def _keysview_repr(view):
|
| 132 |
+
lst = []
|
| 133 |
+
for k in view:
|
| 134 |
+
lst.append("{!r}".format(k))
|
| 135 |
+
body = ", ".join(lst)
|
| 136 |
+
return "{}({})".format(view.__class__.__name__, body)
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
def _valuesview_repr(view):
|
| 140 |
+
lst = []
|
| 141 |
+
for v in view:
|
| 142 |
+
lst.append("{!r}".format(v))
|
| 143 |
+
body = ", ".join(lst)
|
| 144 |
+
return "{}({})".format(view.__class__.__name__, body)
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
def _mdrepr(md):
|
| 148 |
+
lst = []
|
| 149 |
+
for k, v in md.items():
|
| 150 |
+
lst.append("'{}': {!r}".format(k, v))
|
| 151 |
+
body = ", ".join(lst)
|
| 152 |
+
return "<{}({})>".format(md.__class__.__name__, body)
|
evalkit_cambrian/lib/python3.10/site-packages/multidict/_multidict_py.py
ADDED
|
@@ -0,0 +1,527 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import types
|
| 3 |
+
from array import array
|
| 4 |
+
from collections import abc
|
| 5 |
+
|
| 6 |
+
from ._abc import MultiMapping, MutableMultiMapping
|
| 7 |
+
|
| 8 |
+
_marker = object()
|
| 9 |
+
|
| 10 |
+
if sys.version_info >= (3, 9):
|
| 11 |
+
GenericAlias = types.GenericAlias
|
| 12 |
+
else:
|
| 13 |
+
|
| 14 |
+
def GenericAlias(cls):
|
| 15 |
+
return cls
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
class istr(str):
|
| 19 |
+
|
| 20 |
+
"""Case insensitive str."""
|
| 21 |
+
|
| 22 |
+
__is_istr__ = True
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
upstr = istr # for relaxing backward compatibility problems
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
def getversion(md):
|
| 29 |
+
if not isinstance(md, _Base):
|
| 30 |
+
raise TypeError("Parameter should be multidict or proxy")
|
| 31 |
+
return md._impl._version
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
_version = array("Q", [0])
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
class _Impl:
|
| 38 |
+
__slots__ = ("_items", "_version")
|
| 39 |
+
|
| 40 |
+
def __init__(self):
|
| 41 |
+
self._items = []
|
| 42 |
+
self.incr_version()
|
| 43 |
+
|
| 44 |
+
def incr_version(self):
|
| 45 |
+
global _version
|
| 46 |
+
v = _version
|
| 47 |
+
v[0] += 1
|
| 48 |
+
self._version = v[0]
|
| 49 |
+
|
| 50 |
+
if sys.implementation.name != "pypy":
|
| 51 |
+
|
| 52 |
+
def __sizeof__(self):
|
| 53 |
+
return object.__sizeof__(self) + sys.getsizeof(self._items)
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
class _Base:
|
| 57 |
+
def _title(self, key):
|
| 58 |
+
return key
|
| 59 |
+
|
| 60 |
+
def getall(self, key, default=_marker):
|
| 61 |
+
"""Return a list of all values matching the key."""
|
| 62 |
+
identity = self._title(key)
|
| 63 |
+
res = [v for i, k, v in self._impl._items if i == identity]
|
| 64 |
+
if res:
|
| 65 |
+
return res
|
| 66 |
+
if not res and default is not _marker:
|
| 67 |
+
return default
|
| 68 |
+
raise KeyError("Key not found: %r" % key)
|
| 69 |
+
|
| 70 |
+
def getone(self, key, default=_marker):
|
| 71 |
+
"""Get first value matching the key.
|
| 72 |
+
|
| 73 |
+
Raises KeyError if the key is not found and no default is provided.
|
| 74 |
+
"""
|
| 75 |
+
identity = self._title(key)
|
| 76 |
+
for i, k, v in self._impl._items:
|
| 77 |
+
if i == identity:
|
| 78 |
+
return v
|
| 79 |
+
if default is not _marker:
|
| 80 |
+
return default
|
| 81 |
+
raise KeyError("Key not found: %r" % key)
|
| 82 |
+
|
| 83 |
+
# Mapping interface #
|
| 84 |
+
|
| 85 |
+
def __getitem__(self, key):
|
| 86 |
+
return self.getone(key)
|
| 87 |
+
|
| 88 |
+
def get(self, key, default=None):
|
| 89 |
+
"""Get first value matching the key.
|
| 90 |
+
|
| 91 |
+
If the key is not found, returns the default (or None if no default is provided)
|
| 92 |
+
"""
|
| 93 |
+
return self.getone(key, default)
|
| 94 |
+
|
| 95 |
+
def __iter__(self):
|
| 96 |
+
return iter(self.keys())
|
| 97 |
+
|
| 98 |
+
def __len__(self):
|
| 99 |
+
return len(self._impl._items)
|
| 100 |
+
|
| 101 |
+
def keys(self):
|
| 102 |
+
"""Return a new view of the dictionary's keys."""
|
| 103 |
+
return _KeysView(self._impl)
|
| 104 |
+
|
| 105 |
+
def items(self):
|
| 106 |
+
"""Return a new view of the dictionary's items *(key, value) pairs)."""
|
| 107 |
+
return _ItemsView(self._impl)
|
| 108 |
+
|
| 109 |
+
def values(self):
|
| 110 |
+
"""Return a new view of the dictionary's values."""
|
| 111 |
+
return _ValuesView(self._impl)
|
| 112 |
+
|
| 113 |
+
def __eq__(self, other):
|
| 114 |
+
if not isinstance(other, abc.Mapping):
|
| 115 |
+
return NotImplemented
|
| 116 |
+
if isinstance(other, _Base):
|
| 117 |
+
lft = self._impl._items
|
| 118 |
+
rht = other._impl._items
|
| 119 |
+
if len(lft) != len(rht):
|
| 120 |
+
return False
|
| 121 |
+
for (i1, k2, v1), (i2, k2, v2) in zip(lft, rht):
|
| 122 |
+
if i1 != i2 or v1 != v2:
|
| 123 |
+
return False
|
| 124 |
+
return True
|
| 125 |
+
if len(self._impl._items) != len(other):
|
| 126 |
+
return False
|
| 127 |
+
for k, v in self.items():
|
| 128 |
+
nv = other.get(k, _marker)
|
| 129 |
+
if v != nv:
|
| 130 |
+
return False
|
| 131 |
+
return True
|
| 132 |
+
|
| 133 |
+
def __contains__(self, key):
|
| 134 |
+
identity = self._title(key)
|
| 135 |
+
for i, k, v in self._impl._items:
|
| 136 |
+
if i == identity:
|
| 137 |
+
return True
|
| 138 |
+
return False
|
| 139 |
+
|
| 140 |
+
def __repr__(self):
|
| 141 |
+
body = ", ".join("'{}': {!r}".format(k, v) for k, v in self.items())
|
| 142 |
+
return "<{}({})>".format(self.__class__.__name__, body)
|
| 143 |
+
|
| 144 |
+
__class_getitem__ = classmethod(GenericAlias)
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
class MultiDictProxy(_Base, MultiMapping):
|
| 148 |
+
"""Read-only proxy for MultiDict instance."""
|
| 149 |
+
|
| 150 |
+
def __init__(self, arg):
|
| 151 |
+
if not isinstance(arg, (MultiDict, MultiDictProxy)):
|
| 152 |
+
raise TypeError(
|
| 153 |
+
"ctor requires MultiDict or MultiDictProxy instance"
|
| 154 |
+
", not {}".format(type(arg))
|
| 155 |
+
)
|
| 156 |
+
|
| 157 |
+
self._impl = arg._impl
|
| 158 |
+
|
| 159 |
+
def __reduce__(self):
|
| 160 |
+
raise TypeError("can't pickle {} objects".format(self.__class__.__name__))
|
| 161 |
+
|
| 162 |
+
def copy(self):
|
| 163 |
+
"""Return a copy of itself."""
|
| 164 |
+
return MultiDict(self.items())
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
class CIMultiDictProxy(MultiDictProxy):
|
| 168 |
+
"""Read-only proxy for CIMultiDict instance."""
|
| 169 |
+
|
| 170 |
+
def __init__(self, arg):
|
| 171 |
+
if not isinstance(arg, (CIMultiDict, CIMultiDictProxy)):
|
| 172 |
+
raise TypeError(
|
| 173 |
+
"ctor requires CIMultiDict or CIMultiDictProxy instance"
|
| 174 |
+
", not {}".format(type(arg))
|
| 175 |
+
)
|
| 176 |
+
|
| 177 |
+
self._impl = arg._impl
|
| 178 |
+
|
| 179 |
+
def _title(self, key):
|
| 180 |
+
return key.title()
|
| 181 |
+
|
| 182 |
+
def copy(self):
|
| 183 |
+
"""Return a copy of itself."""
|
| 184 |
+
return CIMultiDict(self.items())
|
| 185 |
+
|
| 186 |
+
|
| 187 |
+
class MultiDict(_Base, MutableMultiMapping):
|
| 188 |
+
"""Dictionary with the support for duplicate keys."""
|
| 189 |
+
|
| 190 |
+
def __init__(self, *args, **kwargs):
|
| 191 |
+
self._impl = _Impl()
|
| 192 |
+
|
| 193 |
+
self._extend(args, kwargs, self.__class__.__name__, self._extend_items)
|
| 194 |
+
|
| 195 |
+
if sys.implementation.name != "pypy":
|
| 196 |
+
|
| 197 |
+
def __sizeof__(self):
|
| 198 |
+
return object.__sizeof__(self) + sys.getsizeof(self._impl)
|
| 199 |
+
|
| 200 |
+
def __reduce__(self):
|
| 201 |
+
return (self.__class__, (list(self.items()),))
|
| 202 |
+
|
| 203 |
+
def _title(self, key):
|
| 204 |
+
return key
|
| 205 |
+
|
| 206 |
+
def _key(self, key):
|
| 207 |
+
if isinstance(key, str):
|
| 208 |
+
return key
|
| 209 |
+
else:
|
| 210 |
+
raise TypeError(
|
| 211 |
+
"MultiDict keys should be either str " "or subclasses of str"
|
| 212 |
+
)
|
| 213 |
+
|
| 214 |
+
def add(self, key, value):
|
| 215 |
+
identity = self._title(key)
|
| 216 |
+
self._impl._items.append((identity, self._key(key), value))
|
| 217 |
+
self._impl.incr_version()
|
| 218 |
+
|
| 219 |
+
def copy(self):
|
| 220 |
+
"""Return a copy of itself."""
|
| 221 |
+
cls = self.__class__
|
| 222 |
+
return cls(self.items())
|
| 223 |
+
|
| 224 |
+
__copy__ = copy
|
| 225 |
+
|
| 226 |
+
def extend(self, *args, **kwargs):
|
| 227 |
+
"""Extend current MultiDict with more values.
|
| 228 |
+
|
| 229 |
+
This method must be used instead of update.
|
| 230 |
+
"""
|
| 231 |
+
self._extend(args, kwargs, "extend", self._extend_items)
|
| 232 |
+
|
| 233 |
+
def _extend(self, args, kwargs, name, method):
|
| 234 |
+
if len(args) > 1:
|
| 235 |
+
raise TypeError(
|
| 236 |
+
"{} takes at most 1 positional argument"
|
| 237 |
+
" ({} given)".format(name, len(args))
|
| 238 |
+
)
|
| 239 |
+
if args:
|
| 240 |
+
arg = args[0]
|
| 241 |
+
if isinstance(args[0], (MultiDict, MultiDictProxy)) and not kwargs:
|
| 242 |
+
items = arg._impl._items
|
| 243 |
+
else:
|
| 244 |
+
if hasattr(arg, "items"):
|
| 245 |
+
arg = arg.items()
|
| 246 |
+
if kwargs:
|
| 247 |
+
arg = list(arg)
|
| 248 |
+
arg.extend(list(kwargs.items()))
|
| 249 |
+
items = []
|
| 250 |
+
for item in arg:
|
| 251 |
+
if not len(item) == 2:
|
| 252 |
+
raise TypeError(
|
| 253 |
+
"{} takes either dict or list of (key, value) "
|
| 254 |
+
"tuples".format(name)
|
| 255 |
+
)
|
| 256 |
+
items.append((self._title(item[0]), self._key(item[0]), item[1]))
|
| 257 |
+
|
| 258 |
+
method(items)
|
| 259 |
+
else:
|
| 260 |
+
method(
|
| 261 |
+
[
|
| 262 |
+
(self._title(key), self._key(key), value)
|
| 263 |
+
for key, value in kwargs.items()
|
| 264 |
+
]
|
| 265 |
+
)
|
| 266 |
+
|
| 267 |
+
def _extend_items(self, items):
|
| 268 |
+
for identity, key, value in items:
|
| 269 |
+
self.add(key, value)
|
| 270 |
+
|
| 271 |
+
def clear(self):
|
| 272 |
+
"""Remove all items from MultiDict."""
|
| 273 |
+
self._impl._items.clear()
|
| 274 |
+
self._impl.incr_version()
|
| 275 |
+
|
| 276 |
+
# Mapping interface #
|
| 277 |
+
|
| 278 |
+
def __setitem__(self, key, value):
|
| 279 |
+
self._replace(key, value)
|
| 280 |
+
|
| 281 |
+
def __delitem__(self, key):
|
| 282 |
+
identity = self._title(key)
|
| 283 |
+
items = self._impl._items
|
| 284 |
+
found = False
|
| 285 |
+
for i in range(len(items) - 1, -1, -1):
|
| 286 |
+
if items[i][0] == identity:
|
| 287 |
+
del items[i]
|
| 288 |
+
found = True
|
| 289 |
+
if not found:
|
| 290 |
+
raise KeyError(key)
|
| 291 |
+
else:
|
| 292 |
+
self._impl.incr_version()
|
| 293 |
+
|
| 294 |
+
def setdefault(self, key, default=None):
|
| 295 |
+
"""Return value for key, set value to default if key is not present."""
|
| 296 |
+
identity = self._title(key)
|
| 297 |
+
for i, k, v in self._impl._items:
|
| 298 |
+
if i == identity:
|
| 299 |
+
return v
|
| 300 |
+
self.add(key, default)
|
| 301 |
+
return default
|
| 302 |
+
|
| 303 |
+
def popone(self, key, default=_marker):
|
| 304 |
+
"""Remove specified key and return the corresponding value.
|
| 305 |
+
|
| 306 |
+
If key is not found, d is returned if given, otherwise
|
| 307 |
+
KeyError is raised.
|
| 308 |
+
|
| 309 |
+
"""
|
| 310 |
+
identity = self._title(key)
|
| 311 |
+
for i in range(len(self._impl._items)):
|
| 312 |
+
if self._impl._items[i][0] == identity:
|
| 313 |
+
value = self._impl._items[i][2]
|
| 314 |
+
del self._impl._items[i]
|
| 315 |
+
self._impl.incr_version()
|
| 316 |
+
return value
|
| 317 |
+
if default is _marker:
|
| 318 |
+
raise KeyError(key)
|
| 319 |
+
else:
|
| 320 |
+
return default
|
| 321 |
+
|
| 322 |
+
pop = popone # type: ignore
|
| 323 |
+
|
| 324 |
+
def popall(self, key, default=_marker):
|
| 325 |
+
"""Remove all occurrences of key and return the list of corresponding
|
| 326 |
+
values.
|
| 327 |
+
|
| 328 |
+
If key is not found, default is returned if given, otherwise
|
| 329 |
+
KeyError is raised.
|
| 330 |
+
|
| 331 |
+
"""
|
| 332 |
+
found = False
|
| 333 |
+
identity = self._title(key)
|
| 334 |
+
ret = []
|
| 335 |
+
for i in range(len(self._impl._items) - 1, -1, -1):
|
| 336 |
+
item = self._impl._items[i]
|
| 337 |
+
if item[0] == identity:
|
| 338 |
+
ret.append(item[2])
|
| 339 |
+
del self._impl._items[i]
|
| 340 |
+
self._impl.incr_version()
|
| 341 |
+
found = True
|
| 342 |
+
if not found:
|
| 343 |
+
if default is _marker:
|
| 344 |
+
raise KeyError(key)
|
| 345 |
+
else:
|
| 346 |
+
return default
|
| 347 |
+
else:
|
| 348 |
+
ret.reverse()
|
| 349 |
+
return ret
|
| 350 |
+
|
| 351 |
+
def popitem(self):
|
| 352 |
+
"""Remove and return an arbitrary (key, value) pair."""
|
| 353 |
+
if self._impl._items:
|
| 354 |
+
i = self._impl._items.pop(0)
|
| 355 |
+
self._impl.incr_version()
|
| 356 |
+
return i[1], i[2]
|
| 357 |
+
else:
|
| 358 |
+
raise KeyError("empty multidict")
|
| 359 |
+
|
| 360 |
+
def update(self, *args, **kwargs):
|
| 361 |
+
"""Update the dictionary from *other*, overwriting existing keys."""
|
| 362 |
+
self._extend(args, kwargs, "update", self._update_items)
|
| 363 |
+
|
| 364 |
+
def _update_items(self, items):
|
| 365 |
+
if not items:
|
| 366 |
+
return
|
| 367 |
+
used_keys = {}
|
| 368 |
+
for identity, key, value in items:
|
| 369 |
+
start = used_keys.get(identity, 0)
|
| 370 |
+
for i in range(start, len(self._impl._items)):
|
| 371 |
+
item = self._impl._items[i]
|
| 372 |
+
if item[0] == identity:
|
| 373 |
+
used_keys[identity] = i + 1
|
| 374 |
+
self._impl._items[i] = (identity, key, value)
|
| 375 |
+
break
|
| 376 |
+
else:
|
| 377 |
+
self._impl._items.append((identity, key, value))
|
| 378 |
+
used_keys[identity] = len(self._impl._items)
|
| 379 |
+
|
| 380 |
+
# drop tails
|
| 381 |
+
i = 0
|
| 382 |
+
while i < len(self._impl._items):
|
| 383 |
+
item = self._impl._items[i]
|
| 384 |
+
identity = item[0]
|
| 385 |
+
pos = used_keys.get(identity)
|
| 386 |
+
if pos is None:
|
| 387 |
+
i += 1
|
| 388 |
+
continue
|
| 389 |
+
if i >= pos:
|
| 390 |
+
del self._impl._items[i]
|
| 391 |
+
else:
|
| 392 |
+
i += 1
|
| 393 |
+
|
| 394 |
+
self._impl.incr_version()
|
| 395 |
+
|
| 396 |
+
def _replace(self, key, value):
|
| 397 |
+
key = self._key(key)
|
| 398 |
+
identity = self._title(key)
|
| 399 |
+
items = self._impl._items
|
| 400 |
+
|
| 401 |
+
for i in range(len(items)):
|
| 402 |
+
item = items[i]
|
| 403 |
+
if item[0] == identity:
|
| 404 |
+
items[i] = (identity, key, value)
|
| 405 |
+
# i points to last found item
|
| 406 |
+
rgt = i
|
| 407 |
+
self._impl.incr_version()
|
| 408 |
+
break
|
| 409 |
+
else:
|
| 410 |
+
self._impl._items.append((identity, key, value))
|
| 411 |
+
self._impl.incr_version()
|
| 412 |
+
return
|
| 413 |
+
|
| 414 |
+
# remove all tail items
|
| 415 |
+
i = rgt + 1
|
| 416 |
+
while i < len(items):
|
| 417 |
+
item = items[i]
|
| 418 |
+
if item[0] == identity:
|
| 419 |
+
del items[i]
|
| 420 |
+
else:
|
| 421 |
+
i += 1
|
| 422 |
+
|
| 423 |
+
|
| 424 |
+
class CIMultiDict(MultiDict):
|
| 425 |
+
"""Dictionary with the support for duplicate case-insensitive keys."""
|
| 426 |
+
|
| 427 |
+
def _title(self, key):
|
| 428 |
+
return key.title()
|
| 429 |
+
|
| 430 |
+
|
| 431 |
+
class _Iter:
|
| 432 |
+
__slots__ = ("_size", "_iter")
|
| 433 |
+
|
| 434 |
+
def __init__(self, size, iterator):
|
| 435 |
+
self._size = size
|
| 436 |
+
self._iter = iterator
|
| 437 |
+
|
| 438 |
+
def __iter__(self):
|
| 439 |
+
return self
|
| 440 |
+
|
| 441 |
+
def __next__(self):
|
| 442 |
+
return next(self._iter)
|
| 443 |
+
|
| 444 |
+
def __length_hint__(self):
|
| 445 |
+
return self._size
|
| 446 |
+
|
| 447 |
+
|
| 448 |
+
class _ViewBase:
|
| 449 |
+
def __init__(self, impl):
|
| 450 |
+
self._impl = impl
|
| 451 |
+
|
| 452 |
+
def __len__(self):
|
| 453 |
+
return len(self._impl._items)
|
| 454 |
+
|
| 455 |
+
|
| 456 |
+
class _ItemsView(_ViewBase, abc.ItemsView):
|
| 457 |
+
def __contains__(self, item):
|
| 458 |
+
assert isinstance(item, tuple) or isinstance(item, list)
|
| 459 |
+
assert len(item) == 2
|
| 460 |
+
for i, k, v in self._impl._items:
|
| 461 |
+
if item[0] == k and item[1] == v:
|
| 462 |
+
return True
|
| 463 |
+
return False
|
| 464 |
+
|
| 465 |
+
def __iter__(self):
|
| 466 |
+
return _Iter(len(self), self._iter(self._impl._version))
|
| 467 |
+
|
| 468 |
+
def _iter(self, version):
|
| 469 |
+
for i, k, v in self._impl._items:
|
| 470 |
+
if version != self._impl._version:
|
| 471 |
+
raise RuntimeError("Dictionary changed during iteration")
|
| 472 |
+
yield k, v
|
| 473 |
+
|
| 474 |
+
def __repr__(self):
|
| 475 |
+
lst = []
|
| 476 |
+
for item in self._impl._items:
|
| 477 |
+
lst.append("{!r}: {!r}".format(item[1], item[2]))
|
| 478 |
+
body = ", ".join(lst)
|
| 479 |
+
return "{}({})".format(self.__class__.__name__, body)
|
| 480 |
+
|
| 481 |
+
|
| 482 |
+
class _ValuesView(_ViewBase, abc.ValuesView):
|
| 483 |
+
def __contains__(self, value):
|
| 484 |
+
for item in self._impl._items:
|
| 485 |
+
if item[2] == value:
|
| 486 |
+
return True
|
| 487 |
+
return False
|
| 488 |
+
|
| 489 |
+
def __iter__(self):
|
| 490 |
+
return _Iter(len(self), self._iter(self._impl._version))
|
| 491 |
+
|
| 492 |
+
def _iter(self, version):
|
| 493 |
+
for item in self._impl._items:
|
| 494 |
+
if version != self._impl._version:
|
| 495 |
+
raise RuntimeError("Dictionary changed during iteration")
|
| 496 |
+
yield item[2]
|
| 497 |
+
|
| 498 |
+
def __repr__(self):
|
| 499 |
+
lst = []
|
| 500 |
+
for item in self._impl._items:
|
| 501 |
+
lst.append("{!r}".format(item[2]))
|
| 502 |
+
body = ", ".join(lst)
|
| 503 |
+
return "{}({})".format(self.__class__.__name__, body)
|
| 504 |
+
|
| 505 |
+
|
| 506 |
+
class _KeysView(_ViewBase, abc.KeysView):
|
| 507 |
+
def __contains__(self, key):
|
| 508 |
+
for item in self._impl._items:
|
| 509 |
+
if item[1] == key:
|
| 510 |
+
return True
|
| 511 |
+
return False
|
| 512 |
+
|
| 513 |
+
def __iter__(self):
|
| 514 |
+
return _Iter(len(self), self._iter(self._impl._version))
|
| 515 |
+
|
| 516 |
+
def _iter(self, version):
|
| 517 |
+
for item in self._impl._items:
|
| 518 |
+
if version != self._impl._version:
|
| 519 |
+
raise RuntimeError("Dictionary changed during iteration")
|
| 520 |
+
yield item[1]
|
| 521 |
+
|
| 522 |
+
def __repr__(self):
|
| 523 |
+
lst = []
|
| 524 |
+
for item in self._impl._items:
|
| 525 |
+
lst.append("{!r}".format(item[1]))
|
| 526 |
+
body = ", ".join(lst)
|
| 527 |
+
return "{}({})".format(self.__class__.__name__, body)
|
evalkit_cambrian/lib/python3.10/site-packages/multidict/py.typed
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PEP-561 marker.
|
evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/METADATA
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: proto-plus
|
| 3 |
+
Version: 1.25.0
|
| 4 |
+
Summary: Beautiful, Pythonic protocol buffers.
|
| 5 |
+
Home-page: https://github.com/googleapis/proto-plus-python.git
|
| 6 |
+
Author: Google LLC
|
| 7 |
+
Author-email: googleapis-packages@google.com
|
| 8 |
+
License: Apache 2.0
|
| 9 |
+
Platform: Posix; MacOS X
|
| 10 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 11 |
+
Classifier: Environment :: Console
|
| 12 |
+
Classifier: Intended Audience :: Developers
|
| 13 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
| 14 |
+
Classifier: Operating System :: POSIX
|
| 15 |
+
Classifier: Programming Language :: Python :: 3
|
| 16 |
+
Classifier: Programming Language :: Python :: 3.7
|
| 17 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 18 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 19 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 20 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 21 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 22 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 23 |
+
Classifier: Topic :: Software Development :: Code Generators
|
| 24 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
| 25 |
+
Requires-Python: >=3.7
|
| 26 |
+
License-File: LICENSE
|
| 27 |
+
Requires-Dist: protobuf<6.0.0dev,>=3.19.0
|
| 28 |
+
Provides-Extra: testing
|
| 29 |
+
Requires-Dist: google-api-core>=1.31.5; extra == "testing"
|
| 30 |
+
|
| 31 |
+
Proto Plus for Python
|
| 32 |
+
=====================
|
| 33 |
+
|
| 34 |
+
|pypi| |release level| |docs|
|
| 35 |
+
|
| 36 |
+
Beautiful, Pythonic protocol buffers.
|
| 37 |
+
|
| 38 |
+
This is a wrapper around `protocol buffers`_. Protocol buffers is a
|
| 39 |
+
specification format for APIs, such as those inside Google.
|
| 40 |
+
This library provides protocol buffer message classes and objects that
|
| 41 |
+
largely behave like native Python types.
|
| 42 |
+
|
| 43 |
+
.. _protocol buffers: https://developers.google.com/protocol-buffers/
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
Documentation
|
| 47 |
+
-------------
|
| 48 |
+
|
| 49 |
+
`Documentation`_ is available on Read the Docs.
|
| 50 |
+
|
| 51 |
+
.. _documentation: https://proto-plus-python.readthedocs.io/en/latest/
|
| 52 |
+
|
| 53 |
+
.. |pypi| image:: https://img.shields.io/pypi/v/proto-plus.svg
|
| 54 |
+
:target: https://pypi.org/project/proto-plus
|
| 55 |
+
.. |release level| image:: https://img.shields.io/badge/release%20level-ga-gold.svg?style=flat
|
| 56 |
+
:target: https://cloud.google.com/terms/launch-stages
|
| 57 |
+
.. |docs| image:: https://readthedocs.org/projects/proto-plus-python/badge/?version=latest
|
| 58 |
+
:target: https://proto-plus-python.readthedocs.io/en/latest/
|
evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/RECORD
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
proto/__init__.py,sha256=UtrqR9GHCxPRf_W6wpLYuiMOy74XyYyF6LuafAOWe5A,1712
|
| 2 |
+
proto/__pycache__/__init__.cpython-310.pyc,,
|
| 3 |
+
proto/__pycache__/_file_info.cpython-310.pyc,,
|
| 4 |
+
proto/__pycache__/_package_info.cpython-310.pyc,,
|
| 5 |
+
proto/__pycache__/datetime_helpers.cpython-310.pyc,,
|
| 6 |
+
proto/__pycache__/enums.cpython-310.pyc,,
|
| 7 |
+
proto/__pycache__/fields.cpython-310.pyc,,
|
| 8 |
+
proto/__pycache__/message.cpython-310.pyc,,
|
| 9 |
+
proto/__pycache__/modules.cpython-310.pyc,,
|
| 10 |
+
proto/__pycache__/primitives.cpython-310.pyc,,
|
| 11 |
+
proto/__pycache__/utils.cpython-310.pyc,,
|
| 12 |
+
proto/__pycache__/version.cpython-310.pyc,,
|
| 13 |
+
proto/_file_info.py,sha256=4aR7FZynZ0oYUe586ta04M7_eQ8Xful--T-ACUtAF30,7914
|
| 14 |
+
proto/_package_info.py,sha256=UdF-V5E193kvOt_IqUqeylJzdxY1B_RRYc7-aCMMl84,1906
|
| 15 |
+
proto/datetime_helpers.py,sha256=foMj8XA_6a9ZghbwfTK4DplXmpcMmGHQU2fEmdg54x8,7371
|
| 16 |
+
proto/enums.py,sha256=SSi8CFy3TcojPYmr8GKkWTyzcDOlxy8EJu6CQCvC63E,5842
|
| 17 |
+
proto/fields.py,sha256=qBoQ_Tl7ZRheD17PzmZR6DXkbET_nZYEGRpQUtMfixE,5372
|
| 18 |
+
proto/marshal/__init__.py,sha256=ughdxBgTpZ_GtOWnS2Waz1yVEbCno-61m5eRUmYxbSo,630
|
| 19 |
+
proto/marshal/__pycache__/__init__.cpython-310.pyc,,
|
| 20 |
+
proto/marshal/__pycache__/compat.cpython-310.pyc,,
|
| 21 |
+
proto/marshal/__pycache__/marshal.cpython-310.pyc,,
|
| 22 |
+
proto/marshal/collections/__init__.py,sha256=mX2bO-HTvp4vcWw1Due9WMf717-QP97ZhNeHvkXGJsw,755
|
| 23 |
+
proto/marshal/collections/__pycache__/__init__.cpython-310.pyc,,
|
| 24 |
+
proto/marshal/collections/__pycache__/maps.cpython-310.pyc,,
|
| 25 |
+
proto/marshal/collections/__pycache__/repeated.cpython-310.pyc,,
|
| 26 |
+
proto/marshal/collections/maps.py,sha256=PeBFLnGHyHdwRjuZWEyIvs2ZrWttYN_cNk8Z6HUguno,2921
|
| 27 |
+
proto/marshal/collections/repeated.py,sha256=Yum54SAaqwUSCmtJ4-7SbAJjAKuwjTmHj4O7fV8I-QI,6934
|
| 28 |
+
proto/marshal/compat.py,sha256=MLA_C3zXO8QUJA3VeMXBgySmaqroGqjN8Ta520SkZlw,2349
|
| 29 |
+
proto/marshal/marshal.py,sha256=pH47NsNP-a1xnD-E4EumGLd18A3oK_CBmfGs-ZoeoGM,12030
|
| 30 |
+
proto/marshal/rules/__init__.py,sha256=rdttj_i0e4IpRZYX9oZSTs5AnjAW4Zl__BoNHfUUHpU,575
|
| 31 |
+
proto/marshal/rules/__pycache__/__init__.cpython-310.pyc,,
|
| 32 |
+
proto/marshal/rules/__pycache__/bytes.cpython-310.pyc,,
|
| 33 |
+
proto/marshal/rules/__pycache__/dates.cpython-310.pyc,,
|
| 34 |
+
proto/marshal/rules/__pycache__/enums.cpython-310.pyc,,
|
| 35 |
+
proto/marshal/rules/__pycache__/field_mask.cpython-310.pyc,,
|
| 36 |
+
proto/marshal/rules/__pycache__/message.cpython-310.pyc,,
|
| 37 |
+
proto/marshal/rules/__pycache__/stringy_numbers.cpython-310.pyc,,
|
| 38 |
+
proto/marshal/rules/__pycache__/struct.cpython-310.pyc,,
|
| 39 |
+
proto/marshal/rules/__pycache__/wrappers.cpython-310.pyc,,
|
| 40 |
+
proto/marshal/rules/bytes.py,sha256=Af26mG5e1Hqn0ty5NxCxhq0m7CxaeYWTatOQ8hTN0jM,1593
|
| 41 |
+
proto/marshal/rules/dates.py,sha256=XbVAF4OYifQAnVLrYiUWndMlMoaL-VYzav52Vtu143I,3135
|
| 42 |
+
proto/marshal/rules/enums.py,sha256=9NZIQ214sgY3RcyR640TRWnKLH4rl36mRWGyU56EA-4,2213
|
| 43 |
+
proto/marshal/rules/field_mask.py,sha256=_CG9kvla4-32pqHVYzoXJDPfC9yySJzEJCAKZQC-2Io,1182
|
| 44 |
+
proto/marshal/rules/message.py,sha256=6jaliKljASRjEBeeI7Pw5i4-gMZz3Vzswvvlca6JuWE,2152
|
| 45 |
+
proto/marshal/rules/stringy_numbers.py,sha256=sOsCol-dB7epbVCj_AZu1ZEYo5ualmg5zm4hk0X1klU,1787
|
| 46 |
+
proto/marshal/rules/struct.py,sha256=kY2iGZO0c8IxojgF8OllfuDb63lmdpjH-5tBod5zLoQ,5226
|
| 47 |
+
proto/marshal/rules/wrappers.py,sha256=FDVuwLxXCnhm77j0kZ-F1hVGY4PllmgQha_TH9vjE3c,2280
|
| 48 |
+
proto/message.py,sha256=KMQpiKEc2_l_hXFb15nVwihYBS9FNoxDx7bckcUnBGg,38955
|
| 49 |
+
proto/modules.py,sha256=1g3HAZW0JWBx7LCrlMPamUOMHxaaf-QFwbYa6zgiplg,1585
|
| 50 |
+
proto/primitives.py,sha256=Fwu6KQdn1i6vVPPD3MxQXHKvbz7z5B42QlOwSTkcidI,1000
|
| 51 |
+
proto/utils.py,sha256=5-Dqe2WOPJQ0gsT5MTiMiPTDa8q56VfD-EcqIJD4eD0,1651
|
| 52 |
+
proto/version.py,sha256=NkVihyIrODY2gYLQ6-QMB5sbB83rI_ErSFGUguC75PE,599
|
| 53 |
+
proto_plus-1.25.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 54 |
+
proto_plus-1.25.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
| 55 |
+
proto_plus-1.25.0.dist-info/METADATA,sha256=ceDO5rVjQoM60L8V6wYIVJM1qqt6xp7TgCWQr8cBZ0A,2220
|
| 56 |
+
proto_plus-1.25.0.dist-info/RECORD,,
|
| 57 |
+
proto_plus-1.25.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 58 |
+
proto_plus-1.25.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
| 59 |
+
proto_plus-1.25.0.dist-info/top_level.txt,sha256=BAFr-aEHEy59jLoOOoHvPC0u3dx4iDSw-MoNX6NljG0,19
|
evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/REQUESTED
ADDED
|
File without changes
|
evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: setuptools (75.1.0)
|
| 3 |
+
Root-Is-Purelib: true
|
| 4 |
+
Tag: py3-none-any
|
| 5 |
+
|
evalkit_cambrian/lib/python3.10/site-packages/proto_plus-1.25.0.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
docs
|
| 2 |
+
proto
|
| 3 |
+
testing
|
evalkit_cambrian/lib/python3.10/site-packages/torchvision-0.17.0+cu118.dist-info/LICENSE
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
BSD 3-Clause License
|
| 2 |
+
|
| 3 |
+
Copyright (c) Soumith Chintala 2016,
|
| 4 |
+
All rights reserved.
|
| 5 |
+
|
| 6 |
+
Redistribution and use in source and binary forms, with or without
|
| 7 |
+
modification, are permitted provided that the following conditions are met:
|
| 8 |
+
|
| 9 |
+
* Redistributions of source code must retain the above copyright notice, this
|
| 10 |
+
list of conditions and the following disclaimer.
|
| 11 |
+
|
| 12 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 13 |
+
this list of conditions and the following disclaimer in the documentation
|
| 14 |
+
and/or other materials provided with the distribution.
|
| 15 |
+
|
| 16 |
+
* Neither the name of the copyright holder nor the names of its
|
| 17 |
+
contributors may be used to endorse or promote products derived from
|
| 18 |
+
this software without specific prior written permission.
|
| 19 |
+
|
| 20 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 21 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 22 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 23 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
| 24 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 25 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 26 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 27 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 28 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 29 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
evalkit_cambrian/lib/python3.10/site-packages/triton/runtime/__pycache__/autotuner.cpython-310.pyc
ADDED
|
Binary file (13 kB). View file
|
|
|
infer_4_47_1/lib/python3.10/site-packages/torch/include/ATen/ops/_cast_Byte_compositeimplicitautograd_dispatch.h
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#pragma once
|
| 2 |
+
// @generated by torchgen/gen.py from DispatchKeyFunction.h
|
| 3 |
+
|
| 4 |
+
// NB: The implementing C++ file is RegisterDispatchKey.cpp
|
| 5 |
+
|
| 6 |
+
// The only #includes we need are for custom classes that have defaults in the C++ API
|
| 7 |
+
#include <c10/core/MemoryFormat.h>
|
| 8 |
+
#include <c10/core/Scalar.h>
|
| 9 |
+
#include <ATen/core/Reduction.h>
|
| 10 |
+
|
| 11 |
+
// Forward declarations of any types needed in the operator signatures.
|
| 12 |
+
// We can't directly include these classes because it will cause circular include dependencies.
|
| 13 |
+
// This file is included by TensorBody.h, which defines the Tensor class.
|
| 14 |
+
#include <ATen/core/ATen_fwd.h>
|
| 15 |
+
|
| 16 |
+
namespace at {
|
| 17 |
+
|
| 18 |
+
namespace compositeimplicitautograd {
|
| 19 |
+
|
| 20 |
+
TORCH_API at::Tensor _cast_Byte(const at::Tensor & self, bool non_blocking=false);
|
| 21 |
+
|
| 22 |
+
} // namespace compositeimplicitautograd
|
| 23 |
+
} // namespace at
|
infer_4_47_1/lib/python3.10/site-packages/torch/include/ATen/ops/_ctc_loss_backward_ops.h
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#pragma once
|
| 2 |
+
|
| 3 |
+
// @generated by torchgen/gen.py from Operator.h
|
| 4 |
+
|
| 5 |
+
#include <tuple>
|
| 6 |
+
#include <vector>
|
| 7 |
+
|
| 8 |
+
// Forward declarations of any types needed in the operator signatures.
|
| 9 |
+
// We can't directly include these classes because it will cause circular include dependencies.
|
| 10 |
+
// This file is included by TensorBody.h, which defines the Tensor class.
|
| 11 |
+
#include <ATen/core/ATen_fwd.h>
|
| 12 |
+
|
| 13 |
+
namespace at {
|
| 14 |
+
namespace _ops {
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
struct TORCH_API _ctc_loss_backward {
|
| 18 |
+
using schema = at::Tensor (const at::Tensor &, const at::Tensor &, const at::Tensor &, at::IntArrayRef, at::IntArrayRef, const at::Tensor &, const at::Tensor &, int64_t, bool);
|
| 19 |
+
using ptr_schema = schema*;
|
| 20 |
+
// See Note [static constexpr char* members for windows NVCC]
|
| 21 |
+
STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_ctc_loss_backward")
|
| 22 |
+
STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "")
|
| 23 |
+
STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_ctc_loss_backward(Tensor grad, Tensor log_probs, Tensor targets, int[] input_lengths, int[] target_lengths, Tensor neg_log_likelihood, Tensor log_alpha, int blank, bool zero_infinity=False) -> Tensor")
|
| 24 |
+
static at::Tensor call(const at::Tensor & grad, const at::Tensor & log_probs, const at::Tensor & targets, at::IntArrayRef input_lengths, at::IntArrayRef target_lengths, const at::Tensor & neg_log_likelihood, const at::Tensor & log_alpha, int64_t blank, bool zero_infinity);
|
| 25 |
+
static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad, const at::Tensor & log_probs, const at::Tensor & targets, at::IntArrayRef input_lengths, at::IntArrayRef target_lengths, const at::Tensor & neg_log_likelihood, const at::Tensor & log_alpha, int64_t blank, bool zero_infinity);
|
| 26 |
+
};
|
| 27 |
+
|
| 28 |
+
struct TORCH_API _ctc_loss_backward_Tensor {
|
| 29 |
+
using schema = at::Tensor (const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Tensor &, int64_t, bool);
|
| 30 |
+
using ptr_schema = schema*;
|
| 31 |
+
// See Note [static constexpr char* members for windows NVCC]
|
| 32 |
+
STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_ctc_loss_backward")
|
| 33 |
+
STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "Tensor")
|
| 34 |
+
STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_ctc_loss_backward.Tensor(Tensor grad, Tensor log_probs, Tensor targets, Tensor input_lengths, Tensor target_lengths, Tensor neg_log_likelihood, Tensor log_alpha, int blank, bool zero_infinity=False) -> Tensor")
|
| 35 |
+
static at::Tensor call(const at::Tensor & grad, const at::Tensor & log_probs, const at::Tensor & targets, const at::Tensor & input_lengths, const at::Tensor & target_lengths, const at::Tensor & neg_log_likelihood, const at::Tensor & log_alpha, int64_t blank, bool zero_infinity);
|
| 36 |
+
static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad, const at::Tensor & log_probs, const at::Tensor & targets, const at::Tensor & input_lengths, const at::Tensor & target_lengths, const at::Tensor & neg_log_likelihood, const at::Tensor & log_alpha, int64_t blank, bool zero_infinity);
|
| 37 |
+
};
|
| 38 |
+
|
| 39 |
+
struct TORCH_API _ctc_loss_backward_out {
|
| 40 |
+
using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, const at::Tensor &, at::IntArrayRef, at::IntArrayRef, const at::Tensor &, const at::Tensor &, int64_t, bool, at::Tensor &);
|
| 41 |
+
using ptr_schema = schema*;
|
| 42 |
+
// See Note [static constexpr char* members for windows NVCC]
|
| 43 |
+
STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_ctc_loss_backward")
|
| 44 |
+
STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out")
|
| 45 |
+
STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_ctc_loss_backward.out(Tensor grad, Tensor log_probs, Tensor targets, int[] input_lengths, int[] target_lengths, Tensor neg_log_likelihood, Tensor log_alpha, int blank, bool zero_infinity=False, *, Tensor(a!) out) -> Tensor(a!)")
|
| 46 |
+
static at::Tensor & call(const at::Tensor & grad, const at::Tensor & log_probs, const at::Tensor & targets, at::IntArrayRef input_lengths, at::IntArrayRef target_lengths, const at::Tensor & neg_log_likelihood, const at::Tensor & log_alpha, int64_t blank, bool zero_infinity, at::Tensor & out);
|
| 47 |
+
static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad, const at::Tensor & log_probs, const at::Tensor & targets, at::IntArrayRef input_lengths, at::IntArrayRef target_lengths, const at::Tensor & neg_log_likelihood, const at::Tensor & log_alpha, int64_t blank, bool zero_infinity, at::Tensor & out);
|
| 48 |
+
};
|
| 49 |
+
|
| 50 |
+
}} // namespace at::_ops
|
infer_4_47_1/lib/python3.10/site-packages/torch/include/ATen/ops/_ctc_loss_compositeexplicitautograd_dispatch.h
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#pragma once
|
| 2 |
+
// @generated by torchgen/gen.py from DispatchKeyFunction.h
|
| 3 |
+
|
| 4 |
+
// NB: The implementing C++ file is RegisterDispatchKey.cpp
|
| 5 |
+
|
| 6 |
+
// The only #includes we need are for custom classes that have defaults in the C++ API
|
| 7 |
+
#include <c10/core/MemoryFormat.h>
|
| 8 |
+
#include <c10/core/Scalar.h>
|
| 9 |
+
#include <ATen/core/Reduction.h>
|
| 10 |
+
|
| 11 |
+
// Forward declarations of any types needed in the operator signatures.
|
| 12 |
+
// We can't directly include these classes because it will cause circular include dependencies.
|
| 13 |
+
// This file is included by TensorBody.h, which defines the Tensor class.
|
| 14 |
+
#include <ATen/core/ATen_fwd.h>
|
| 15 |
+
|
| 16 |
+
namespace at {
|
| 17 |
+
|
| 18 |
+
namespace compositeexplicitautograd {
|
| 19 |
+
|
| 20 |
+
TORCH_API ::std::tuple<at::Tensor &,at::Tensor &> _ctc_loss_out(at::Tensor & out0, at::Tensor & out1, const at::Tensor & log_probs, const at::Tensor & targets, at::IntArrayRef input_lengths, at::IntArrayRef target_lengths, int64_t blank=0, bool zero_infinity=false);
|
| 21 |
+
TORCH_API ::std::tuple<at::Tensor &,at::Tensor &> _ctc_loss_outf(const at::Tensor & log_probs, const at::Tensor & targets, at::IntArrayRef input_lengths, at::IntArrayRef target_lengths, int64_t blank, bool zero_infinity, at::Tensor & out0, at::Tensor & out1);
|
| 22 |
+
TORCH_API ::std::tuple<at::Tensor &,at::Tensor &> _ctc_loss_out(at::Tensor & out0, at::Tensor & out1, const at::Tensor & log_probs, const at::Tensor & targets, const at::Tensor & input_lengths, const at::Tensor & target_lengths, int64_t blank=0, bool zero_infinity=false);
|
| 23 |
+
TORCH_API ::std::tuple<at::Tensor &,at::Tensor &> _ctc_loss_outf(const at::Tensor & log_probs, const at::Tensor & targets, const at::Tensor & input_lengths, const at::Tensor & target_lengths, int64_t blank, bool zero_infinity, at::Tensor & out0, at::Tensor & out1);
|
| 24 |
+
|
| 25 |
+
} // namespace compositeexplicitautograd
|
| 26 |
+
} // namespace at
|
infer_4_47_1/lib/python3.10/site-packages/torch/include/ATen/ops/_foreach_norm_cuda_dispatch.h
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#pragma once
|
| 2 |
+
// @generated by torchgen/gen.py from DispatchKeyFunction.h
|
| 3 |
+
|
| 4 |
+
// NB: The implementing C++ file is RegisterDispatchKey.cpp
|
| 5 |
+
|
| 6 |
+
// The only #includes we need are for custom classes that have defaults in the C++ API
|
| 7 |
+
#include <c10/core/MemoryFormat.h>
|
| 8 |
+
#include <c10/core/Scalar.h>
|
| 9 |
+
#include <ATen/core/Reduction.h>
|
| 10 |
+
|
| 11 |
+
// Forward declarations of any types needed in the operator signatures.
|
| 12 |
+
// We can't directly include these classes because it will cause circular include dependencies.
|
| 13 |
+
// This file is included by TensorBody.h, which defines the Tensor class.
|
| 14 |
+
#include <ATen/core/ATen_fwd.h>
|
| 15 |
+
|
| 16 |
+
namespace at {
|
| 17 |
+
|
| 18 |
+
namespace cuda {
|
| 19 |
+
|
| 20 |
+
TORCH_API ::std::vector<at::Tensor> _foreach_norm(at::TensorList self, const at::Scalar & ord=2, ::std::optional<at::ScalarType> dtype=::std::nullopt);
|
| 21 |
+
|
| 22 |
+
} // namespace cuda
|
| 23 |
+
} // namespace at
|
infer_4_47_1/lib/python3.10/site-packages/torch/include/ATen/ops/_scaled_mm.h
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#pragma once
|
| 2 |
+
|
| 3 |
+
// @generated by torchgen/gen.py from Function.h
|
| 4 |
+
|
| 5 |
+
#include <ATen/Context.h>
|
| 6 |
+
#include <ATen/DeviceGuard.h>
|
| 7 |
+
#include <ATen/TensorUtils.h>
|
| 8 |
+
#include <ATen/TracerMode.h>
|
| 9 |
+
#include <ATen/core/Generator.h>
|
| 10 |
+
#include <ATen/core/Reduction.h>
|
| 11 |
+
#include <ATen/core/Tensor.h>
|
| 12 |
+
#include <c10/core/Scalar.h>
|
| 13 |
+
#include <c10/core/Storage.h>
|
| 14 |
+
#include <c10/core/TensorOptions.h>
|
| 15 |
+
#include <c10/util/Deprecated.h>
|
| 16 |
+
#include <optional>
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
#include <ATen/ops/_scaled_mm_ops.h>
|
| 21 |
+
|
| 22 |
+
namespace at {
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
// aten::_scaled_mm(Tensor self, Tensor mat2, Tensor scale_a, Tensor scale_b, Tensor? bias=None, Tensor? scale_result=None, ScalarType? out_dtype=None, bool use_fast_accum=False) -> Tensor
|
| 26 |
+
inline at::Tensor _scaled_mm(const at::Tensor & self, const at::Tensor & mat2, const at::Tensor & scale_a, const at::Tensor & scale_b, const ::std::optional<at::Tensor> & bias={}, const ::std::optional<at::Tensor> & scale_result={}, ::std::optional<at::ScalarType> out_dtype=::std::nullopt, bool use_fast_accum=false) {
|
| 27 |
+
return at::_ops::_scaled_mm::call(self, mat2, scale_a, scale_b, bias, scale_result, out_dtype, use_fast_accum);
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
// aten::_scaled_mm.out(Tensor self, Tensor mat2, Tensor scale_a, Tensor scale_b, Tensor? bias=None, Tensor? scale_result=None, ScalarType? out_dtype=None, bool use_fast_accum=False, *, Tensor(a!) out) -> Tensor(a!)
|
| 31 |
+
inline at::Tensor & _scaled_mm_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & mat2, const at::Tensor & scale_a, const at::Tensor & scale_b, const ::std::optional<at::Tensor> & bias={}, const ::std::optional<at::Tensor> & scale_result={}, ::std::optional<at::ScalarType> out_dtype=::std::nullopt, bool use_fast_accum=false) {
|
| 32 |
+
return at::_ops::_scaled_mm_out::call(self, mat2, scale_a, scale_b, bias, scale_result, out_dtype, use_fast_accum, out);
|
| 33 |
+
}
|
| 34 |
+
// aten::_scaled_mm.out(Tensor self, Tensor mat2, Tensor scale_a, Tensor scale_b, Tensor? bias=None, Tensor? scale_result=None, ScalarType? out_dtype=None, bool use_fast_accum=False, *, Tensor(a!) out) -> Tensor(a!)
|
| 35 |
+
inline at::Tensor & _scaled_mm_outf(const at::Tensor & self, const at::Tensor & mat2, const at::Tensor & scale_a, const at::Tensor & scale_b, const ::std::optional<at::Tensor> & bias, const ::std::optional<at::Tensor> & scale_result, ::std::optional<at::ScalarType> out_dtype, bool use_fast_accum, at::Tensor & out) {
|
| 36 |
+
return at::_ops::_scaled_mm_out::call(self, mat2, scale_a, scale_b, bias, scale_result, out_dtype, use_fast_accum, out);
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
}
|