Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +2 -0
- evalkit_tf446/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/RECORD +11 -0
- evalkit_tf446/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/WHEEL +5 -0
- evalkit_tf446/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/top_level.txt +1 -0
- evalkit_tf446/lib/python3.10/site-packages/nvidia_cufft_cu11-10.9.0.58.dist-info/INSTALLER +1 -0
- evalkit_tf446/lib/python3.10/site-packages/nvidia_cufft_cu11-10.9.0.58.dist-info/License.txt +1568 -0
- evalkit_tf446/lib/python3.10/site-packages/nvidia_cufft_cu11-10.9.0.58.dist-info/METADATA +35 -0
- evalkit_tf446/lib/python3.10/site-packages/nvidia_cufft_cu11-10.9.0.58.dist-info/RECORD +20 -0
- evalkit_tf446/lib/python3.10/site-packages/nvidia_cufft_cu11-10.9.0.58.dist-info/WHEEL +5 -0
- evalkit_tf446/lib/python3.10/site-packages/nvidia_cufft_cu11-10.9.0.58.dist-info/top_level.txt +1 -0
- evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/INSTALLER +1 -0
- evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/LICENCE.rst +23 -0
- evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/METADATA +86 -0
- evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/RECORD +387 -0
- evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/REQUESTED +0 -0
- evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/WHEEL +6 -0
- evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/top_level.txt +1 -0
- evalkit_tf446/lib/python3.10/site-packages/pip-25.0.1.dist-info/top_level.txt +1 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/__init__.py +72 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/__init__.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/_file_info.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/_package_info.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/datetime_helpers.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/enums.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/fields.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/message.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/modules.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/primitives.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/utils.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/version.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/_file_info.py +196 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/_package_info.py +50 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/datetime_helpers.py +225 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/enums.py +163 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/fields.py +165 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/__init__.py +18 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/__pycache__/__init__.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/__pycache__/compat.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/__pycache__/marshal.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/collections/__init__.py +24 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/collections/__pycache__/__init__.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/collections/__pycache__/maps.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/collections/__pycache__/repeated.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/collections/maps.py +82 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/collections/repeated.py +189 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/compat.py +64 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/marshal.py +297 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/rules/__init__.py +13 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/rules/__pycache__/dates.cpython-310.pyc +0 -0
- evalkit_tf446/lib/python3.10/site-packages/proto/marshal/rules/__pycache__/message.cpython-310.pyc +0 -0
.gitattributes
CHANGED
|
@@ -1353,3 +1353,5 @@ evalkit_tf446/lib/python3.10/site-packages/torch/_inductor/__pycache__/ir.cpytho
|
|
| 1353 |
evalkit_tf446/lib/python3.10/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/hls.CFPBCiRi.js.br filter=lfs diff=lfs merge=lfs -text
|
| 1354 |
deepseek/lib/libncurses++.a filter=lfs diff=lfs merge=lfs -text
|
| 1355 |
evalkit_tf446/lib/python3.10/site-packages/nvidia/cudnn/lib/libcudnn_graph.so.9 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 1353 |
evalkit_tf446/lib/python3.10/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/hls.CFPBCiRi.js.br filter=lfs diff=lfs merge=lfs -text
|
| 1354 |
deepseek/lib/libncurses++.a filter=lfs diff=lfs merge=lfs -text
|
| 1355 |
evalkit_tf446/lib/python3.10/site-packages/nvidia/cudnn/lib/libcudnn_graph.so.9 filter=lfs diff=lfs merge=lfs -text
|
| 1356 |
+
evalkit_tf446/lib/python3.10/site-packages/traitlets/__pycache__/traitlets.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
|
| 1357 |
+
evalkit_tf446/lib/python3.10/site-packages/regex/_regex.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
evalkit_tf446/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/RECORD
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
async_timeout-4.0.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 2 |
+
async_timeout-4.0.3.dist-info/LICENSE,sha256=4Y17uPUT4sRrtYXJS1hb0wcg3TzLId2weG9y0WZY-Sw,568
|
| 3 |
+
async_timeout-4.0.3.dist-info/METADATA,sha256=WQVcnDIXQ2ntebcm-vYjhNLg_VMeTWw13_ReT-U36J4,4209
|
| 4 |
+
async_timeout-4.0.3.dist-info/RECORD,,
|
| 5 |
+
async_timeout-4.0.3.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 6 |
+
async_timeout-4.0.3.dist-info/WHEEL,sha256=5sUXSg9e4bi7lTLOHcm6QEYwO5TIF1TNbTSVFVjcJcc,92
|
| 7 |
+
async_timeout-4.0.3.dist-info/top_level.txt,sha256=9oM4e7Twq8iD_7_Q3Mz0E6GPIB6vJvRFo-UBwUQtBDU,14
|
| 8 |
+
async_timeout-4.0.3.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
| 9 |
+
async_timeout/__init__.py,sha256=A0VOqDGQ3cCPFp0NZJKIbx_VRP1Y2xPtQOZebVIUB88,7242
|
| 10 |
+
async_timeout/__pycache__/__init__.cpython-310.pyc,,
|
| 11 |
+
async_timeout/py.typed,sha256=tyozzRT1fziXETDxokmuyt6jhOmtjUbnVNJdZcG7ik0,12
|
evalkit_tf446/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: bdist_wheel (0.41.1)
|
| 3 |
+
Root-Is-Purelib: true
|
| 4 |
+
Tag: py3-none-any
|
| 5 |
+
|
evalkit_tf446/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
async_timeout
|
evalkit_tf446/lib/python3.10/site-packages/nvidia_cufft_cu11-10.9.0.58.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
evalkit_tf446/lib/python3.10/site-packages/nvidia_cufft_cu11-10.9.0.58.dist-info/License.txt
ADDED
|
@@ -0,0 +1,1568 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
End User License Agreement
|
| 2 |
+
--------------------------
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
Preface
|
| 6 |
+
-------
|
| 7 |
+
|
| 8 |
+
The Software License Agreement in Chapter 1 and the Supplement
|
| 9 |
+
in Chapter 2 contain license terms and conditions that govern
|
| 10 |
+
the use of NVIDIA software. By accepting this agreement, you
|
| 11 |
+
agree to comply with all the terms and conditions applicable
|
| 12 |
+
to the product(s) included herein.
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
NVIDIA Driver
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
Description
|
| 19 |
+
|
| 20 |
+
This package contains the operating system driver and
|
| 21 |
+
fundamental system software components for NVIDIA GPUs.
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
NVIDIA CUDA Toolkit
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
Description
|
| 28 |
+
|
| 29 |
+
The NVIDIA CUDA Toolkit provides command-line and graphical
|
| 30 |
+
tools for building, debugging and optimizing the performance
|
| 31 |
+
of applications accelerated by NVIDIA GPUs, runtime and math
|
| 32 |
+
libraries, and documentation including programming guides,
|
| 33 |
+
user manuals, and API references.
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
Default Install Location of CUDA Toolkit
|
| 37 |
+
|
| 38 |
+
Windows platform:
|
| 39 |
+
|
| 40 |
+
%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v#.#
|
| 41 |
+
|
| 42 |
+
Linux platform:
|
| 43 |
+
|
| 44 |
+
/usr/local/cuda-#.#
|
| 45 |
+
|
| 46 |
+
Mac platform:
|
| 47 |
+
|
| 48 |
+
/Developer/NVIDIA/CUDA-#.#
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
NVIDIA CUDA Samples
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
Description
|
| 55 |
+
|
| 56 |
+
This package includes over 100+ CUDA examples that demonstrate
|
| 57 |
+
various CUDA programming principles, and efficient CUDA
|
| 58 |
+
implementation of algorithms in specific application domains.
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
Default Install Location of CUDA Samples
|
| 62 |
+
|
| 63 |
+
Windows platform:
|
| 64 |
+
|
| 65 |
+
%ProgramData%\NVIDIA Corporation\CUDA Samples\v#.#
|
| 66 |
+
|
| 67 |
+
Linux platform:
|
| 68 |
+
|
| 69 |
+
/usr/local/cuda-#.#/samples
|
| 70 |
+
|
| 71 |
+
and
|
| 72 |
+
|
| 73 |
+
$HOME/NVIDIA_CUDA-#.#_Samples
|
| 74 |
+
|
| 75 |
+
Mac platform:
|
| 76 |
+
|
| 77 |
+
/Developer/NVIDIA/CUDA-#.#/samples
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
NVIDIA Nsight Visual Studio Edition (Windows only)
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
Description
|
| 84 |
+
|
| 85 |
+
NVIDIA Nsight Development Platform, Visual Studio Edition is a
|
| 86 |
+
development environment integrated into Microsoft Visual
|
| 87 |
+
Studio that provides tools for debugging, profiling, analyzing
|
| 88 |
+
and optimizing your GPU computing and graphics applications.
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
Default Install Location of Nsight Visual Studio Edition
|
| 92 |
+
|
| 93 |
+
Windows platform:
|
| 94 |
+
|
| 95 |
+
%ProgramFiles(x86)%\NVIDIA Corporation\Nsight Visual Studio Edition #.#
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
1. License Agreement for NVIDIA Software Development Kits
|
| 99 |
+
---------------------------------------------------------
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
Release Date: July 26, 2018
|
| 103 |
+
---------------------------
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
Important NoticeRead before downloading, installing,
|
| 107 |
+
copying or using the licensed software:
|
| 108 |
+
-------------------------------------------------------
|
| 109 |
+
|
| 110 |
+
This license agreement, including exhibits attached
|
| 111 |
+
("Agreement”) is a legal agreement between you and NVIDIA
|
| 112 |
+
Corporation ("NVIDIA") and governs your use of a NVIDIA
|
| 113 |
+
software development kit (“SDK”).
|
| 114 |
+
|
| 115 |
+
Each SDK has its own set of software and materials, but here
|
| 116 |
+
is a description of the types of items that may be included in
|
| 117 |
+
a SDK: source code, header files, APIs, data sets and assets
|
| 118 |
+
(examples include images, textures, models, scenes, videos,
|
| 119 |
+
native API input/output files), binary software, sample code,
|
| 120 |
+
libraries, utility programs, programming code and
|
| 121 |
+
documentation.
|
| 122 |
+
|
| 123 |
+
This Agreement can be accepted only by an adult of legal age
|
| 124 |
+
of majority in the country in which the SDK is used.
|
| 125 |
+
|
| 126 |
+
If you are entering into this Agreement on behalf of a company
|
| 127 |
+
or other legal entity, you represent that you have the legal
|
| 128 |
+
authority to bind the entity to this Agreement, in which case
|
| 129 |
+
“you” will mean the entity you represent.
|
| 130 |
+
|
| 131 |
+
If you don’t have the required age or authority to accept
|
| 132 |
+
this Agreement, or if you don’t accept all the terms and
|
| 133 |
+
conditions of this Agreement, do not download, install or use
|
| 134 |
+
the SDK.
|
| 135 |
+
|
| 136 |
+
You agree to use the SDK only for purposes that are permitted
|
| 137 |
+
by (a) this Agreement, and (b) any applicable law, regulation
|
| 138 |
+
or generally accepted practices or guidelines in the relevant
|
| 139 |
+
jurisdictions.
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
1.1. License
|
| 143 |
+
|
| 144 |
+
|
| 145 |
+
1.1.1. License Grant
|
| 146 |
+
|
| 147 |
+
Subject to the terms of this Agreement, NVIDIA hereby grants
|
| 148 |
+
you a non-exclusive, non-transferable license, without the
|
| 149 |
+
right to sublicense (except as expressly provided in this
|
| 150 |
+
Agreement) to:
|
| 151 |
+
|
| 152 |
+
1. Install and use the SDK,
|
| 153 |
+
|
| 154 |
+
2. Modify and create derivative works of sample source code
|
| 155 |
+
delivered in the SDK, and
|
| 156 |
+
|
| 157 |
+
3. Distribute those portions of the SDK that are identified
|
| 158 |
+
in this Agreement as distributable, as incorporated in
|
| 159 |
+
object code format into a software application that meets
|
| 160 |
+
the distribution requirements indicated in this Agreement.
|
| 161 |
+
|
| 162 |
+
|
| 163 |
+
1.1.2. Distribution Requirements
|
| 164 |
+
|
| 165 |
+
These are the distribution requirements for you to exercise
|
| 166 |
+
the distribution grant:
|
| 167 |
+
|
| 168 |
+
1. Your application must have material additional
|
| 169 |
+
functionality, beyond the included portions of the SDK.
|
| 170 |
+
|
| 171 |
+
2. The distributable portions of the SDK shall only be
|
| 172 |
+
accessed by your application.
|
| 173 |
+
|
| 174 |
+
3. The following notice shall be included in modifications
|
| 175 |
+
and derivative works of sample source code distributed:
|
| 176 |
+
“This software contains source code provided by NVIDIA
|
| 177 |
+
Corporation.”
|
| 178 |
+
|
| 179 |
+
4. Unless a developer tool is identified in this Agreement
|
| 180 |
+
as distributable, it is delivered for your internal use
|
| 181 |
+
only.
|
| 182 |
+
|
| 183 |
+
5. The terms under which you distribute your application
|
| 184 |
+
must be consistent with the terms of this Agreement,
|
| 185 |
+
including (without limitation) terms relating to the
|
| 186 |
+
license grant and license restrictions and protection of
|
| 187 |
+
NVIDIA’s intellectual property rights. Additionally, you
|
| 188 |
+
agree that you will protect the privacy, security and
|
| 189 |
+
legal rights of your application users.
|
| 190 |
+
|
| 191 |
+
6. You agree to notify NVIDIA in writing of any known or
|
| 192 |
+
suspected distribution or use of the SDK not in compliance
|
| 193 |
+
with the requirements of this Agreement, and to enforce
|
| 194 |
+
the terms of your agreements with respect to distributed
|
| 195 |
+
SDK.
|
| 196 |
+
|
| 197 |
+
|
| 198 |
+
1.1.3. Authorized Users
|
| 199 |
+
|
| 200 |
+
You may allow employees and contractors of your entity or of
|
| 201 |
+
your subsidiary(ies) to access and use the SDK from your
|
| 202 |
+
secure network to perform work on your behalf.
|
| 203 |
+
|
| 204 |
+
If you are an academic institution you may allow users
|
| 205 |
+
enrolled or employed by the academic institution to access and
|
| 206 |
+
use the SDK from your secure network.
|
| 207 |
+
|
| 208 |
+
You are responsible for the compliance with the terms of this
|
| 209 |
+
Agreement by your authorized users. If you become aware that
|
| 210 |
+
your authorized users didn’t follow the terms of this
|
| 211 |
+
Agreement, you agree to take reasonable steps to resolve the
|
| 212 |
+
non-compliance and prevent new occurrences.
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
1.1.4. Pre-Release SDK
|
| 216 |
+
|
| 217 |
+
The SDK versions identified as alpha, beta, preview or
|
| 218 |
+
otherwise as pre-release, may not be fully functional, may
|
| 219 |
+
contain errors or design flaws, and may have reduced or
|
| 220 |
+
different security, privacy, accessibility, availability, and
|
| 221 |
+
reliability standards relative to commercial versions of
|
| 222 |
+
NVIDIA software and materials. Use of a pre-release SDK may
|
| 223 |
+
result in unexpected results, loss of data, project delays or
|
| 224 |
+
other unpredictable damage or loss.
|
| 225 |
+
|
| 226 |
+
You may use a pre-release SDK at your own risk, understanding
|
| 227 |
+
that pre-release SDKs are not intended for use in production
|
| 228 |
+
or business-critical systems.
|
| 229 |
+
|
| 230 |
+
NVIDIA may choose not to make available a commercial version
|
| 231 |
+
of any pre-release SDK. NVIDIA may also choose to abandon
|
| 232 |
+
development and terminate the availability of a pre-release
|
| 233 |
+
SDK at any time without liability.
|
| 234 |
+
|
| 235 |
+
|
| 236 |
+
1.1.5. Updates
|
| 237 |
+
|
| 238 |
+
NVIDIA may, at its option, make available patches, workarounds
|
| 239 |
+
or other updates to this SDK. Unless the updates are provided
|
| 240 |
+
with their separate governing terms, they are deemed part of
|
| 241 |
+
the SDK licensed to you as provided in this Agreement. You
|
| 242 |
+
agree that the form and content of the SDK that NVIDIA
|
| 243 |
+
provides may change without prior notice to you. While NVIDIA
|
| 244 |
+
generally maintains compatibility between versions, NVIDIA may
|
| 245 |
+
in some cases make changes that introduce incompatibilities in
|
| 246 |
+
future versions of the SDK.
|
| 247 |
+
|
| 248 |
+
|
| 249 |
+
1.1.6. Third Party Licenses
|
| 250 |
+
|
| 251 |
+
The SDK may come bundled with, or otherwise include or be
|
| 252 |
+
distributed with, third party software licensed by a NVIDIA
|
| 253 |
+
supplier and/or open source software provided under an open
|
| 254 |
+
source license. Use of third party software is subject to the
|
| 255 |
+
third-party license terms, or in the absence of third party
|
| 256 |
+
terms, the terms of this Agreement. Copyright to third party
|
| 257 |
+
software is held by the copyright holders indicated in the
|
| 258 |
+
third-party software or license.
|
| 259 |
+
|
| 260 |
+
|
| 261 |
+
1.1.7. Reservation of Rights
|
| 262 |
+
|
| 263 |
+
NVIDIA reserves all rights, title, and interest in and to the
|
| 264 |
+
SDK, not expressly granted to you under this Agreement.
|
| 265 |
+
|
| 266 |
+
|
| 267 |
+
1.2. Limitations
|
| 268 |
+
|
| 269 |
+
The following license limitations apply to your use of the
|
| 270 |
+
SDK:
|
| 271 |
+
|
| 272 |
+
1. You may not reverse engineer, decompile or disassemble,
|
| 273 |
+
or remove copyright or other proprietary notices from any
|
| 274 |
+
portion of the SDK or copies of the SDK.
|
| 275 |
+
|
| 276 |
+
2. Except as expressly provided in this Agreement, you may
|
| 277 |
+
not copy, sell, rent, sublicense, transfer, distribute,
|
| 278 |
+
modify, or create derivative works of any portion of the
|
| 279 |
+
SDK. For clarity, you may not distribute or sublicense the
|
| 280 |
+
SDK as a stand-alone product.
|
| 281 |
+
|
| 282 |
+
3. Unless you have an agreement with NVIDIA for this
|
| 283 |
+
purpose, you may not indicate that an application created
|
| 284 |
+
with the SDK is sponsored or endorsed by NVIDIA.
|
| 285 |
+
|
| 286 |
+
4. You may not bypass, disable, or circumvent any
|
| 287 |
+
encryption, security, digital rights management or
|
| 288 |
+
authentication mechanism in the SDK.
|
| 289 |
+
|
| 290 |
+
5. You may not use the SDK in any manner that would cause it
|
| 291 |
+
to become subject to an open source software license. As
|
| 292 |
+
examples, licenses that require as a condition of use,
|
| 293 |
+
modification, and/or distribution that the SDK be:
|
| 294 |
+
|
| 295 |
+
a. Disclosed or distributed in source code form;
|
| 296 |
+
|
| 297 |
+
b. Licensed for the purpose of making derivative works;
|
| 298 |
+
or
|
| 299 |
+
|
| 300 |
+
c. Redistributable at no charge.
|
| 301 |
+
|
| 302 |
+
6. Unless you have an agreement with NVIDIA for this
|
| 303 |
+
purpose, you may not use the SDK with any system or
|
| 304 |
+
application where the use or failure of the system or
|
| 305 |
+
application can reasonably be expected to threaten or
|
| 306 |
+
result in personal injury, death, or catastrophic loss.
|
| 307 |
+
Examples include use in avionics, navigation, military,
|
| 308 |
+
medical, life support or other life critical applications.
|
| 309 |
+
NVIDIA does not design, test or manufacture the SDK for
|
| 310 |
+
these critical uses and NVIDIA shall not be liable to you
|
| 311 |
+
or any third party, in whole or in part, for any claims or
|
| 312 |
+
damages arising from such uses.
|
| 313 |
+
|
| 314 |
+
7. You agree to defend, indemnify and hold harmless NVIDIA
|
| 315 |
+
and its affiliates, and their respective employees,
|
| 316 |
+
contractors, agents, officers and directors, from and
|
| 317 |
+
against any and all claims, damages, obligations, losses,
|
| 318 |
+
liabilities, costs or debt, fines, restitutions and
|
| 319 |
+
expenses (including but not limited to attorney’s fees
|
| 320 |
+
and costs incident to establishing the right of
|
| 321 |
+
indemnification) arising out of or related to your use of
|
| 322 |
+
the SDK outside of the scope of this Agreement, or not in
|
| 323 |
+
compliance with its terms.
|
| 324 |
+
|
| 325 |
+
|
| 326 |
+
1.3. Ownership
|
| 327 |
+
|
| 328 |
+
1. NVIDIA or its licensors hold all rights, title and
|
| 329 |
+
interest in and to the SDK and its modifications and
|
| 330 |
+
derivative works, including their respective intellectual
|
| 331 |
+
property rights, subject to your rights described in this
|
| 332 |
+
section. This SDK may include software and materials from
|
| 333 |
+
NVIDIA’s licensors, and these licensors are intended
|
| 334 |
+
third party beneficiaries that may enforce this Agreement
|
| 335 |
+
with respect to their intellectual property rights.
|
| 336 |
+
|
| 337 |
+
2. You hold all rights, title and interest in and to your
|
| 338 |
+
applications and your derivative works of the sample
|
| 339 |
+
source code delivered in the SDK, including their
|
| 340 |
+
respective intellectual property rights, subject to
|
| 341 |
+
NVIDIA’s rights described in this section.
|
| 342 |
+
|
| 343 |
+
3. You may, but don’t have to, provide to NVIDIA
|
| 344 |
+
suggestions, feature requests or other feedback regarding
|
| 345 |
+
the SDK, including possible enhancements or modifications
|
| 346 |
+
to the SDK. For any feedback that you voluntarily provide,
|
| 347 |
+
you hereby grant NVIDIA and its affiliates a perpetual,
|
| 348 |
+
non-exclusive, worldwide, irrevocable license to use,
|
| 349 |
+
reproduce, modify, license, sublicense (through multiple
|
| 350 |
+
tiers of sublicensees), and distribute (through multiple
|
| 351 |
+
tiers of distributors) it without the payment of any
|
| 352 |
+
royalties or fees to you. NVIDIA will use feedback at its
|
| 353 |
+
choice. NVIDIA is constantly looking for ways to improve
|
| 354 |
+
its products, so you may send feedback to NVIDIA through
|
| 355 |
+
the developer portal at https://developer.nvidia.com.
|
| 356 |
+
|
| 357 |
+
|
| 358 |
+
1.4. No Warranties
|
| 359 |
+
|
| 360 |
+
THE SDK IS PROVIDED BY NVIDIA “AS IS” AND “WITH ALL
|
| 361 |
+
FAULTS.” TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND
|
| 362 |
+
ITS AFFILIATES EXPRESSLY DISCLAIM ALL WARRANTIES OF ANY KIND
|
| 363 |
+
OR NATURE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING,
|
| 364 |
+
BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS
|
| 365 |
+
FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, OR THE
|
| 366 |
+
ABSENCE OF ANY DEFECTS THEREIN, WHETHER LATENT OR PATENT. NO
|
| 367 |
+
WARRANTY IS MADE ON THE BASIS OF TRADE USAGE, COURSE OF
|
| 368 |
+
DEALING OR COURSE OF TRADE.
|
| 369 |
+
|
| 370 |
+
|
| 371 |
+
1.5. Limitation of Liability
|
| 372 |
+
|
| 373 |
+
TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND ITS
|
| 374 |
+
AFFILIATES SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
|
| 375 |
+
PUNITIVE OR CONSEQUENTIAL DAMAGES, OR ANY LOST PROFITS, LOSS
|
| 376 |
+
OF USE, LOSS OF DATA OR LOSS OF GOODWILL, OR THE COSTS OF
|
| 377 |
+
PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF OR IN CONNECTION
|
| 378 |
+
WITH THIS AGREEMENT OR THE USE OR PERFORMANCE OF THE SDK,
|
| 379 |
+
WHETHER SUCH LIABILITY ARISES FROM ANY CLAIM BASED UPON BREACH
|
| 380 |
+
OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING NEGLIGENCE),
|
| 381 |
+
PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR THEORY OF
|
| 382 |
+
LIABILITY. IN NO EVENT WILL NVIDIA’S AND ITS AFFILIATES
|
| 383 |
+
TOTAL CUMULATIVE LIABILITY UNDER OR ARISING OUT OF THIS
|
| 384 |
+
AGREEMENT EXCEED US$10.00. THE NATURE OF THE LIABILITY OR THE
|
| 385 |
+
NUMBER OF CLAIMS OR SUITS SHALL NOT ENLARGE OR EXTEND THIS
|
| 386 |
+
LIMIT.
|
| 387 |
+
|
| 388 |
+
These exclusions and limitations of liability shall apply
|
| 389 |
+
regardless if NVIDIA or its affiliates have been advised of
|
| 390 |
+
the possibility of such damages, and regardless of whether a
|
| 391 |
+
remedy fails its essential purpose. These exclusions and
|
| 392 |
+
limitations of liability form an essential basis of the
|
| 393 |
+
bargain between the parties, and, absent any of these
|
| 394 |
+
exclusions or limitations of liability, the provisions of this
|
| 395 |
+
Agreement, including, without limitation, the economic terms,
|
| 396 |
+
would be substantially different.
|
| 397 |
+
|
| 398 |
+
|
| 399 |
+
1.6. Termination
|
| 400 |
+
|
| 401 |
+
1. This Agreement will continue to apply until terminated by
|
| 402 |
+
either you or NVIDIA as described below.
|
| 403 |
+
|
| 404 |
+
2. If you want to terminate this Agreement, you may do so by
|
| 405 |
+
stopping to use the SDK.
|
| 406 |
+
|
| 407 |
+
3. NVIDIA may, at any time, terminate this Agreement if:
|
| 408 |
+
|
| 409 |
+
a. (i) you fail to comply with any term of this
|
| 410 |
+
Agreement and the non-compliance is not fixed within
|
| 411 |
+
thirty (30) days following notice from NVIDIA (or
|
| 412 |
+
immediately if you violate NVIDIA’s intellectual
|
| 413 |
+
property rights);
|
| 414 |
+
|
| 415 |
+
b. (ii) you commence or participate in any legal
|
| 416 |
+
proceeding against NVIDIA with respect to the SDK; or
|
| 417 |
+
|
| 418 |
+
c. (iii) NVIDIA decides to no longer provide the SDK in
|
| 419 |
+
a country or, in NVIDIA’s sole discretion, the
|
| 420 |
+
continued use of it is no longer commercially viable.
|
| 421 |
+
|
| 422 |
+
4. Upon any termination of this Agreement, you agree to
|
| 423 |
+
promptly discontinue use of the SDK and destroy all copies
|
| 424 |
+
in your possession or control. Your prior distributions in
|
| 425 |
+
accordance with this Agreement are not affected by the
|
| 426 |
+
termination of this Agreement. Upon written request, you
|
| 427 |
+
will certify in writing that you have complied with your
|
| 428 |
+
commitments under this section. Upon any termination of
|
| 429 |
+
this Agreement all provisions survive except for the
|
| 430 |
+
license grant provisions.
|
| 431 |
+
|
| 432 |
+
|
| 433 |
+
1.7. General
|
| 434 |
+
|
| 435 |
+
If you wish to assign this Agreement or your rights and
|
| 436 |
+
obligations, including by merger, consolidation, dissolution
|
| 437 |
+
or operation of law, contact NVIDIA to ask for permission. Any
|
| 438 |
+
attempted assignment not approved by NVIDIA in writing shall
|
| 439 |
+
be void and of no effect. NVIDIA may assign, delegate or
|
| 440 |
+
transfer this Agreement and its rights and obligations, and if
|
| 441 |
+
to a non-affiliate you will be notified.
|
| 442 |
+
|
| 443 |
+
You agree to cooperate with NVIDIA and provide reasonably
|
| 444 |
+
requested information to verify your compliance with this
|
| 445 |
+
Agreement.
|
| 446 |
+
|
| 447 |
+
This Agreement will be governed in all respects by the laws of
|
| 448 |
+
the United States and of the State of Delaware as those laws
|
| 449 |
+
are applied to contracts entered into and performed entirely
|
| 450 |
+
within Delaware by Delaware residents, without regard to the
|
| 451 |
+
conflicts of laws principles. The United Nations Convention on
|
| 452 |
+
Contracts for the International Sale of Goods is specifically
|
| 453 |
+
disclaimed. You agree to all terms of this Agreement in the
|
| 454 |
+
English language.
|
| 455 |
+
|
| 456 |
+
The state or federal courts residing in Santa Clara County,
|
| 457 |
+
California shall have exclusive jurisdiction over any dispute
|
| 458 |
+
or claim arising out of this Agreement. Notwithstanding this,
|
| 459 |
+
you agree that NVIDIA shall still be allowed to apply for
|
| 460 |
+
injunctive remedies or an equivalent type of urgent legal
|
| 461 |
+
relief in any jurisdiction.
|
| 462 |
+
|
| 463 |
+
If any court of competent jurisdiction determines that any
|
| 464 |
+
provision of this Agreement is illegal, invalid or
|
| 465 |
+
unenforceable, such provision will be construed as limited to
|
| 466 |
+
the extent necessary to be consistent with and fully
|
| 467 |
+
enforceable under the law and the remaining provisions will
|
| 468 |
+
remain in full force and effect. Unless otherwise specified,
|
| 469 |
+
remedies are cumulative.
|
| 470 |
+
|
| 471 |
+
Each party acknowledges and agrees that the other is an
|
| 472 |
+
independent contractor in the performance of this Agreement.
|
| 473 |
+
|
| 474 |
+
The SDK has been developed entirely at private expense and is
|
| 475 |
+
“commercial items” consisting of “commercial computer
|
| 476 |
+
software” and “commercial computer software
|
| 477 |
+
documentation” provided with RESTRICTED RIGHTS. Use,
|
| 478 |
+
duplication or disclosure by the U.S. Government or a U.S.
|
| 479 |
+
Government subcontractor is subject to the restrictions in
|
| 480 |
+
this Agreement pursuant to DFARS 227.7202-3(a) or as set forth
|
| 481 |
+
in subparagraphs (c)(1) and (2) of the Commercial Computer
|
| 482 |
+
Software - Restricted Rights clause at FAR 52.227-19, as
|
| 483 |
+
applicable. Contractor/manufacturer is NVIDIA, 2788 San Tomas
|
| 484 |
+
Expressway, Santa Clara, CA 95051.
|
| 485 |
+
|
| 486 |
+
The SDK is subject to United States export laws and
|
| 487 |
+
regulations. You agree that you will not ship, transfer or
|
| 488 |
+
export the SDK into any country, or use the SDK in any manner,
|
| 489 |
+
prohibited by the United States Bureau of Industry and
|
| 490 |
+
Security or economic sanctions regulations administered by the
|
| 491 |
+
U.S. Department of Treasury’s Office of Foreign Assets
|
| 492 |
+
Control (OFAC), or any applicable export laws, restrictions or
|
| 493 |
+
regulations. These laws include restrictions on destinations,
|
| 494 |
+
end users and end use. By accepting this Agreement, you
|
| 495 |
+
confirm that you are not a resident or citizen of any country
|
| 496 |
+
currently embargoed by the U.S. and that you are not otherwise
|
| 497 |
+
prohibited from receiving the SDK.
|
| 498 |
+
|
| 499 |
+
Any notice delivered by NVIDIA to you under this Agreement
|
| 500 |
+
will be delivered via mail, email or fax. You agree that any
|
| 501 |
+
notices that NVIDIA sends you electronically will satisfy any
|
| 502 |
+
legal communication requirements. Please direct your legal
|
| 503 |
+
notices or other correspondence to NVIDIA Corporation, 2788
|
| 504 |
+
San Tomas Expressway, Santa Clara, California 95051, United
|
| 505 |
+
States of America, Attention: Legal Department.
|
| 506 |
+
|
| 507 |
+
This Agreement and any exhibits incorporated into this
|
| 508 |
+
Agreement constitute the entire agreement of the parties with
|
| 509 |
+
respect to the subject matter of this Agreement and supersede
|
| 510 |
+
all prior negotiations or documentation exchanged between the
|
| 511 |
+
parties relating to this SDK license. Any additional and/or
|
| 512 |
+
conflicting terms on documents issued by you are null, void,
|
| 513 |
+
and invalid. Any amendment or waiver under this Agreement
|
| 514 |
+
shall be in writing and signed by representatives of both
|
| 515 |
+
parties.
|
| 516 |
+
|
| 517 |
+
|
| 518 |
+
2. CUDA Toolkit Supplement to Software License Agreement for
|
| 519 |
+
NVIDIA Software Development Kits
|
| 520 |
+
------------------------------------------------------------
|
| 521 |
+
|
| 522 |
+
|
| 523 |
+
Release date: August 16, 2018
|
| 524 |
+
-----------------------------
|
| 525 |
+
|
| 526 |
+
The terms in this supplement govern your use of the NVIDIA
|
| 527 |
+
CUDA Toolkit SDK under the terms of your license agreement
|
| 528 |
+
(“Agreement”) as modified by this supplement. Capitalized
|
| 529 |
+
terms used but not defined below have the meaning assigned to
|
| 530 |
+
them in the Agreement.
|
| 531 |
+
|
| 532 |
+
This supplement is an exhibit to the Agreement and is
|
| 533 |
+
incorporated as an integral part of the Agreement. In the
|
| 534 |
+
event of conflict between the terms in this supplement and the
|
| 535 |
+
terms in the Agreement, the terms in this supplement govern.
|
| 536 |
+
|
| 537 |
+
|
| 538 |
+
2.1. License Scope
|
| 539 |
+
|
| 540 |
+
The SDK is licensed for you to develop applications only for
|
| 541 |
+
use in systems with NVIDIA GPUs.
|
| 542 |
+
|
| 543 |
+
|
| 544 |
+
2.2. Distribution
|
| 545 |
+
|
| 546 |
+
The portions of the SDK that are distributable under the
|
| 547 |
+
Agreement are listed in Attachment A.
|
| 548 |
+
|
| 549 |
+
|
| 550 |
+
2.3. Operating Systems
|
| 551 |
+
|
| 552 |
+
Those portions of the SDK designed exclusively for use on the
|
| 553 |
+
Linux or FreeBSD operating systems, or other operating systems
|
| 554 |
+
derived from the source code to these operating systems, may
|
| 555 |
+
be copied and redistributed for use in accordance with this
|
| 556 |
+
Agreement, provided that the object code files are not
|
| 557 |
+
modified in any way (except for unzipping of compressed
|
| 558 |
+
files).
|
| 559 |
+
|
| 560 |
+
|
| 561 |
+
2.4. Audio and Video Encoders and Decoders
|
| 562 |
+
|
| 563 |
+
You acknowledge and agree that it is your sole responsibility
|
| 564 |
+
to obtain any additional third-party licenses required to
|
| 565 |
+
make, have made, use, have used, sell, import, and offer for
|
| 566 |
+
sale your products or services that include or incorporate any
|
| 567 |
+
third-party software and content relating to audio and/or
|
| 568 |
+
video encoders and decoders from, including but not limited
|
| 569 |
+
to, Microsoft, Thomson, Fraunhofer IIS, Sisvel S.p.A.,
|
| 570 |
+
MPEG-LA, and Coding Technologies. NVIDIA does not grant to you
|
| 571 |
+
under this Agreement any necessary patent or other rights with
|
| 572 |
+
respect to any audio and/or video encoders and decoders.
|
| 573 |
+
|
| 574 |
+
|
| 575 |
+
2.5. Licensing
|
| 576 |
+
|
| 577 |
+
If the distribution terms in this Agreement are not suitable
|
| 578 |
+
for your organization, or for any questions regarding this
|
| 579 |
+
Agreement, please contact NVIDIA at
|
| 580 |
+
nvidia-compute-license-questions@nvidia.com.
|
| 581 |
+
|
| 582 |
+
|
| 583 |
+
2.6. Attachment A
|
| 584 |
+
|
| 585 |
+
The following portions of the SDK are distributable under the
|
| 586 |
+
Agreement:
|
| 587 |
+
|
| 588 |
+
Component
|
| 589 |
+
|
| 590 |
+
CUDA Runtime
|
| 591 |
+
|
| 592 |
+
Windows
|
| 593 |
+
|
| 594 |
+
cudart.dll, cudart_static.lib, cudadevrt.lib
|
| 595 |
+
|
| 596 |
+
Mac OSX
|
| 597 |
+
|
| 598 |
+
libcudart.dylib, libcudart_static.a, libcudadevrt.a
|
| 599 |
+
|
| 600 |
+
Linux
|
| 601 |
+
|
| 602 |
+
libcudart.so, libcudart_static.a, libcudadevrt.a
|
| 603 |
+
|
| 604 |
+
Android
|
| 605 |
+
|
| 606 |
+
libcudart.so, libcudart_static.a, libcudadevrt.a
|
| 607 |
+
|
| 608 |
+
Component
|
| 609 |
+
|
| 610 |
+
CUDA FFT Library
|
| 611 |
+
|
| 612 |
+
Windows
|
| 613 |
+
|
| 614 |
+
cufft.dll, cufftw.dll, cufft.lib, cufftw.lib
|
| 615 |
+
|
| 616 |
+
Mac OSX
|
| 617 |
+
|
| 618 |
+
libcufft.dylib, libcufft_static.a, libcufftw.dylib,
|
| 619 |
+
libcufftw_static.a
|
| 620 |
+
|
| 621 |
+
Linux
|
| 622 |
+
|
| 623 |
+
libcufft.so, libcufft_static.a, libcufftw.so,
|
| 624 |
+
libcufftw_static.a
|
| 625 |
+
|
| 626 |
+
Android
|
| 627 |
+
|
| 628 |
+
libcufft.so, libcufft_static.a, libcufftw.so,
|
| 629 |
+
libcufftw_static.a
|
| 630 |
+
|
| 631 |
+
Component
|
| 632 |
+
|
| 633 |
+
CUDA BLAS Library
|
| 634 |
+
|
| 635 |
+
Windows
|
| 636 |
+
|
| 637 |
+
cublas.dll, cublasLt.dll
|
| 638 |
+
|
| 639 |
+
Mac OSX
|
| 640 |
+
|
| 641 |
+
libcublas.dylib, libcublasLt.dylib, libcublas_static.a,
|
| 642 |
+
libcublasLt_static.a
|
| 643 |
+
|
| 644 |
+
Linux
|
| 645 |
+
|
| 646 |
+
libcublas.so, libcublasLt.so, libcublas_static.a,
|
| 647 |
+
libcublasLt_static.a
|
| 648 |
+
|
| 649 |
+
Android
|
| 650 |
+
|
| 651 |
+
libcublas.so, libcublasLt.so, libcublas_static.a,
|
| 652 |
+
libcublasLt_static.a
|
| 653 |
+
|
| 654 |
+
Component
|
| 655 |
+
|
| 656 |
+
NVIDIA "Drop-in" BLAS Library
|
| 657 |
+
|
| 658 |
+
Windows
|
| 659 |
+
|
| 660 |
+
nvblas.dll
|
| 661 |
+
|
| 662 |
+
Mac OSX
|
| 663 |
+
|
| 664 |
+
libnvblas.dylib
|
| 665 |
+
|
| 666 |
+
Linux
|
| 667 |
+
|
| 668 |
+
libnvblas.so
|
| 669 |
+
|
| 670 |
+
Component
|
| 671 |
+
|
| 672 |
+
CUDA Sparse Matrix Library
|
| 673 |
+
|
| 674 |
+
Windows
|
| 675 |
+
|
| 676 |
+
cusparse.dll, cusparse.lib
|
| 677 |
+
|
| 678 |
+
Mac OSX
|
| 679 |
+
|
| 680 |
+
libcusparse.dylib, libcusparse_static.a
|
| 681 |
+
|
| 682 |
+
Linux
|
| 683 |
+
|
| 684 |
+
libcusparse.so, libcusparse_static.a
|
| 685 |
+
|
| 686 |
+
Android
|
| 687 |
+
|
| 688 |
+
libcusparse.so, libcusparse_static.a
|
| 689 |
+
|
| 690 |
+
Component
|
| 691 |
+
|
| 692 |
+
CUDA Linear Solver Library
|
| 693 |
+
|
| 694 |
+
Windows
|
| 695 |
+
|
| 696 |
+
cusolver.dll, cusolver.lib
|
| 697 |
+
|
| 698 |
+
Mac OSX
|
| 699 |
+
|
| 700 |
+
libcusolver.dylib, libcusolver_static.a
|
| 701 |
+
|
| 702 |
+
Linux
|
| 703 |
+
|
| 704 |
+
libcusolver.so, libcusolver_static.a
|
| 705 |
+
|
| 706 |
+
Android
|
| 707 |
+
|
| 708 |
+
libcusolver.so, libcusolver_static.a
|
| 709 |
+
|
| 710 |
+
Component
|
| 711 |
+
|
| 712 |
+
CUDA Random Number Generation Library
|
| 713 |
+
|
| 714 |
+
Windows
|
| 715 |
+
|
| 716 |
+
curand.dll, curand.lib
|
| 717 |
+
|
| 718 |
+
Mac OSX
|
| 719 |
+
|
| 720 |
+
libcurand.dylib, libcurand_static.a
|
| 721 |
+
|
| 722 |
+
Linux
|
| 723 |
+
|
| 724 |
+
libcurand.so, libcurand_static.a
|
| 725 |
+
|
| 726 |
+
Android
|
| 727 |
+
|
| 728 |
+
libcurand.so, libcurand_static.a
|
| 729 |
+
|
| 730 |
+
Component
|
| 731 |
+
|
| 732 |
+
CUDA Accelerated Graph Library
|
| 733 |
+
|
| 734 |
+
Component
|
| 735 |
+
|
| 736 |
+
NVIDIA Performance Primitives Library
|
| 737 |
+
|
| 738 |
+
Windows
|
| 739 |
+
|
| 740 |
+
nppc.dll, nppc.lib, nppial.dll, nppial.lib, nppicc.dll,
|
| 741 |
+
nppicc.lib, nppicom.dll, nppicom.lib, nppidei.dll,
|
| 742 |
+
nppidei.lib, nppif.dll, nppif.lib, nppig.dll, nppig.lib,
|
| 743 |
+
nppim.dll, nppim.lib, nppist.dll, nppist.lib, nppisu.dll,
|
| 744 |
+
nppisu.lib, nppitc.dll, nppitc.lib, npps.dll, npps.lib
|
| 745 |
+
|
| 746 |
+
Mac OSX
|
| 747 |
+
|
| 748 |
+
libnppc.dylib, libnppc_static.a, libnppial.dylib,
|
| 749 |
+
libnppial_static.a, libnppicc.dylib, libnppicc_static.a,
|
| 750 |
+
libnppicom.dylib, libnppicom_static.a, libnppidei.dylib,
|
| 751 |
+
libnppidei_static.a, libnppif.dylib, libnppif_static.a,
|
| 752 |
+
libnppig.dylib, libnppig_static.a, libnppim.dylib,
|
| 753 |
+
libnppisu_static.a, libnppitc.dylib, libnppitc_static.a,
|
| 754 |
+
libnpps.dylib, libnpps_static.a
|
| 755 |
+
|
| 756 |
+
Linux
|
| 757 |
+
|
| 758 |
+
libnppc.so, libnppc_static.a, libnppial.so,
|
| 759 |
+
libnppial_static.a, libnppicc.so, libnppicc_static.a,
|
| 760 |
+
libnppicom.so, libnppicom_static.a, libnppidei.so,
|
| 761 |
+
libnppidei_static.a, libnppif.so, libnppif_static.a
|
| 762 |
+
libnppig.so, libnppig_static.a, libnppim.so,
|
| 763 |
+
libnppim_static.a, libnppist.so, libnppist_static.a,
|
| 764 |
+
libnppisu.so, libnppisu_static.a, libnppitc.so
|
| 765 |
+
libnppitc_static.a, libnpps.so, libnpps_static.a
|
| 766 |
+
|
| 767 |
+
Android
|
| 768 |
+
|
| 769 |
+
libnppc.so, libnppc_static.a, libnppial.so,
|
| 770 |
+
libnppial_static.a, libnppicc.so, libnppicc_static.a,
|
| 771 |
+
libnppicom.so, libnppicom_static.a, libnppidei.so,
|
| 772 |
+
libnppidei_static.a, libnppif.so, libnppif_static.a
|
| 773 |
+
libnppig.so, libnppig_static.a, libnppim.so,
|
| 774 |
+
libnppim_static.a, libnppist.so, libnppist_static.a,
|
| 775 |
+
libnppisu.so, libnppisu_static.a, libnppitc.so
|
| 776 |
+
libnppitc_static.a, libnpps.so, libnpps_static.a
|
| 777 |
+
|
| 778 |
+
Component
|
| 779 |
+
|
| 780 |
+
NVIDIA JPEG Library
|
| 781 |
+
|
| 782 |
+
Linux
|
| 783 |
+
|
| 784 |
+
libnvjpeg.so, libnvjpeg_static.a
|
| 785 |
+
|
| 786 |
+
Component
|
| 787 |
+
|
| 788 |
+
Internal common library required for statically linking to
|
| 789 |
+
cuBLAS, cuSPARSE, cuFFT, cuRAND, nvJPEG and NPP
|
| 790 |
+
|
| 791 |
+
Mac OSX
|
| 792 |
+
|
| 793 |
+
libculibos.a
|
| 794 |
+
|
| 795 |
+
Linux
|
| 796 |
+
|
| 797 |
+
libculibos.a
|
| 798 |
+
|
| 799 |
+
Component
|
| 800 |
+
|
| 801 |
+
NVIDIA Runtime Compilation Library and Header
|
| 802 |
+
|
| 803 |
+
All
|
| 804 |
+
|
| 805 |
+
nvrtc.h
|
| 806 |
+
|
| 807 |
+
Windows
|
| 808 |
+
|
| 809 |
+
nvrtc.dll, nvrtc-builtins.dll
|
| 810 |
+
|
| 811 |
+
Mac OSX
|
| 812 |
+
|
| 813 |
+
libnvrtc.dylib, libnvrtc-builtins.dylib
|
| 814 |
+
|
| 815 |
+
Linux
|
| 816 |
+
|
| 817 |
+
libnvrtc.so, libnvrtc-builtins.so
|
| 818 |
+
|
| 819 |
+
Component
|
| 820 |
+
|
| 821 |
+
NVIDIA Optimizing Compiler Library
|
| 822 |
+
|
| 823 |
+
Windows
|
| 824 |
+
|
| 825 |
+
nvvm.dll
|
| 826 |
+
|
| 827 |
+
Mac OSX
|
| 828 |
+
|
| 829 |
+
libnvvm.dylib
|
| 830 |
+
|
| 831 |
+
Linux
|
| 832 |
+
|
| 833 |
+
libnvvm.so
|
| 834 |
+
|
| 835 |
+
Component
|
| 836 |
+
|
| 837 |
+
NVIDIA Common Device Math Functions Library
|
| 838 |
+
|
| 839 |
+
Windows
|
| 840 |
+
|
| 841 |
+
libdevice.10.bc
|
| 842 |
+
|
| 843 |
+
Mac OSX
|
| 844 |
+
|
| 845 |
+
libdevice.10.bc
|
| 846 |
+
|
| 847 |
+
Linux
|
| 848 |
+
|
| 849 |
+
libdevice.10.bc
|
| 850 |
+
|
| 851 |
+
Component
|
| 852 |
+
|
| 853 |
+
CUDA Occupancy Calculation Header Library
|
| 854 |
+
|
| 855 |
+
All
|
| 856 |
+
|
| 857 |
+
cuda_occupancy.h
|
| 858 |
+
|
| 859 |
+
Component
|
| 860 |
+
|
| 861 |
+
CUDA Half Precision Headers
|
| 862 |
+
|
| 863 |
+
All
|
| 864 |
+
|
| 865 |
+
cuda_fp16.h, cuda_fp16.hpp
|
| 866 |
+
|
| 867 |
+
Component
|
| 868 |
+
|
| 869 |
+
CUDA Profiling Tools Interface (CUPTI) Library
|
| 870 |
+
|
| 871 |
+
Windows
|
| 872 |
+
|
| 873 |
+
cupti.dll
|
| 874 |
+
|
| 875 |
+
Mac OSX
|
| 876 |
+
|
| 877 |
+
libcupti.dylib
|
| 878 |
+
|
| 879 |
+
Linux
|
| 880 |
+
|
| 881 |
+
libcupti.so
|
| 882 |
+
|
| 883 |
+
Component
|
| 884 |
+
|
| 885 |
+
NVIDIA Tools Extension Library
|
| 886 |
+
|
| 887 |
+
Windows
|
| 888 |
+
|
| 889 |
+
nvToolsExt.dll, nvToolsExt.lib
|
| 890 |
+
|
| 891 |
+
Mac OSX
|
| 892 |
+
|
| 893 |
+
libnvToolsExt.dylib
|
| 894 |
+
|
| 895 |
+
Linux
|
| 896 |
+
|
| 897 |
+
libnvToolsExt.so
|
| 898 |
+
|
| 899 |
+
Component
|
| 900 |
+
|
| 901 |
+
NVIDIA CUDA Driver Libraries
|
| 902 |
+
|
| 903 |
+
Linux
|
| 904 |
+
|
| 905 |
+
libcuda.so, libnvidia-fatbinaryloader.so,
|
| 906 |
+
libnvidia-ptxjitcompiler.so
|
| 907 |
+
|
| 908 |
+
The NVIDIA CUDA Driver Libraries are only distributable in
|
| 909 |
+
applications that meet this criteria:
|
| 910 |
+
|
| 911 |
+
1. The application was developed starting from a NVIDIA CUDA
|
| 912 |
+
container obtained from Docker Hub or the NVIDIA GPU
|
| 913 |
+
Cloud, and
|
| 914 |
+
|
| 915 |
+
2. The resulting application is packaged as a Docker
|
| 916 |
+
container and distributed to users on Docker Hub or the
|
| 917 |
+
NVIDIA GPU Cloud only.
|
| 918 |
+
|
| 919 |
+
|
| 920 |
+
2.7. Attachment B
|
| 921 |
+
|
| 922 |
+
|
| 923 |
+
Additional Licensing Obligations
|
| 924 |
+
|
| 925 |
+
The following third party components included in the SOFTWARE
|
| 926 |
+
are licensed to Licensee pursuant to the following terms and
|
| 927 |
+
conditions:
|
| 928 |
+
|
| 929 |
+
1. Licensee's use of the GDB third party component is
|
| 930 |
+
subject to the terms and conditions of GNU GPL v3:
|
| 931 |
+
|
| 932 |
+
This product includes copyrighted third-party software licensed
|
| 933 |
+
under the terms of the GNU General Public License v3 ("GPL v3").
|
| 934 |
+
All third-party software packages are copyright by their respective
|
| 935 |
+
authors. GPL v3 terms and conditions are hereby incorporated into
|
| 936 |
+
the Agreement by this reference: http://www.gnu.org/licenses/gpl.txt
|
| 937 |
+
|
| 938 |
+
Consistent with these licensing requirements, the software
|
| 939 |
+
listed below is provided under the terms of the specified
|
| 940 |
+
open source software licenses. To obtain source code for
|
| 941 |
+
software provided under licenses that require
|
| 942 |
+
redistribution of source code, including the GNU General
|
| 943 |
+
Public License (GPL) and GNU Lesser General Public License
|
| 944 |
+
(LGPL), contact oss-requests@nvidia.com. This offer is
|
| 945 |
+
valid for a period of three (3) years from the date of the
|
| 946 |
+
distribution of this product by NVIDIA CORPORATION.
|
| 947 |
+
|
| 948 |
+
Component License
|
| 949 |
+
CUDA-GDB GPL v3
|
| 950 |
+
|
| 951 |
+
2. Licensee represents and warrants that any and all third
|
| 952 |
+
party licensing and/or royalty payment obligations in
|
| 953 |
+
connection with Licensee's use of the H.264 video codecs
|
| 954 |
+
are solely the responsibility of Licensee.
|
| 955 |
+
|
| 956 |
+
3. Licensee's use of the Thrust library is subject to the
|
| 957 |
+
terms and conditions of the Apache License Version 2.0.
|
| 958 |
+
All third-party software packages are copyright by their
|
| 959 |
+
respective authors. Apache License Version 2.0 terms and
|
| 960 |
+
conditions are hereby incorporated into the Agreement by
|
| 961 |
+
this reference.
|
| 962 |
+
http://www.apache.org/licenses/LICENSE-2.0.html
|
| 963 |
+
|
| 964 |
+
In addition, Licensee acknowledges the following notice:
|
| 965 |
+
Thrust includes source code from the Boost Iterator,
|
| 966 |
+
Tuple, System, and Random Number libraries.
|
| 967 |
+
|
| 968 |
+
Boost Software License - Version 1.0 - August 17th, 2003
|
| 969 |
+
. . . .
|
| 970 |
+
|
| 971 |
+
Permission is hereby granted, free of charge, to any person or
|
| 972 |
+
organization obtaining a copy of the software and accompanying
|
| 973 |
+
documentation covered by this license (the "Software") to use,
|
| 974 |
+
reproduce, display, distribute, execute, and transmit the Software,
|
| 975 |
+
and to prepare derivative works of the Software, and to permit
|
| 976 |
+
third-parties to whom the Software is furnished to do so, all
|
| 977 |
+
subject to the following:
|
| 978 |
+
|
| 979 |
+
The copyright notices in the Software and this entire statement,
|
| 980 |
+
including the above license grant, this restriction and the following
|
| 981 |
+
disclaimer, must be included in all copies of the Software, in whole
|
| 982 |
+
or in part, and all derivative works of the Software, unless such
|
| 983 |
+
copies or derivative works are solely in the form of machine-executable
|
| 984 |
+
object code generated by a source language processor.
|
| 985 |
+
|
| 986 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 987 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 988 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
|
| 989 |
+
NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
|
| 990 |
+
ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR
|
| 991 |
+
OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING
|
| 992 |
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
| 993 |
+
OTHER DEALINGS IN THE SOFTWARE.
|
| 994 |
+
|
| 995 |
+
4. Licensee's use of the LLVM third party component is
|
| 996 |
+
subject to the following terms and conditions:
|
| 997 |
+
|
| 998 |
+
======================================================
|
| 999 |
+
LLVM Release License
|
| 1000 |
+
======================================================
|
| 1001 |
+
University of Illinois/NCSA
|
| 1002 |
+
Open Source License
|
| 1003 |
+
|
| 1004 |
+
Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign.
|
| 1005 |
+
All rights reserved.
|
| 1006 |
+
|
| 1007 |
+
Developed by:
|
| 1008 |
+
|
| 1009 |
+
LLVM Team
|
| 1010 |
+
|
| 1011 |
+
University of Illinois at Urbana-Champaign
|
| 1012 |
+
|
| 1013 |
+
http://llvm.org
|
| 1014 |
+
|
| 1015 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 1016 |
+
of this software and associated documentation files (the "Software"), to
|
| 1017 |
+
deal with the Software without restriction, including without limitation the
|
| 1018 |
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
| 1019 |
+
sell copies of the Software, and to permit persons to whom the Software is
|
| 1020 |
+
furnished to do so, subject to the following conditions:
|
| 1021 |
+
|
| 1022 |
+
* Redistributions of source code must retain the above copyright notice,
|
| 1023 |
+
this list of conditions and the following disclaimers.
|
| 1024 |
+
|
| 1025 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 1026 |
+
notice, this list of conditions and the following disclaimers in the
|
| 1027 |
+
documentation and/or other materials provided with the distribution.
|
| 1028 |
+
|
| 1029 |
+
* Neither the names of the LLVM Team, University of Illinois at Urbana-
|
| 1030 |
+
Champaign, nor the names of its contributors may be used to endorse or
|
| 1031 |
+
promote products derived from this Software without specific prior
|
| 1032 |
+
written permission.
|
| 1033 |
+
|
| 1034 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 1035 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 1036 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
| 1037 |
+
THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
| 1038 |
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
| 1039 |
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
| 1040 |
+
DEALINGS WITH THE SOFTWARE.
|
| 1041 |
+
|
| 1042 |
+
5. Licensee's use (e.g. nvprof) of the PCRE third party
|
| 1043 |
+
component is subject to the following terms and
|
| 1044 |
+
conditions:
|
| 1045 |
+
|
| 1046 |
+
------------
|
| 1047 |
+
PCRE LICENCE
|
| 1048 |
+
------------
|
| 1049 |
+
PCRE is a library of functions to support regular expressions whose syntax
|
| 1050 |
+
and semantics are as close as possible to those of the Perl 5 language.
|
| 1051 |
+
Release 8 of PCRE is distributed under the terms of the "BSD" licence, as
|
| 1052 |
+
specified below. The documentation for PCRE, supplied in the "doc"
|
| 1053 |
+
directory, is distributed under the same terms as the software itself. The
|
| 1054 |
+
basic library functions are written in C and are freestanding. Also
|
| 1055 |
+
included in the distribution is a set of C++ wrapper functions, and a just-
|
| 1056 |
+
in-time compiler that can be used to optimize pattern matching. These are
|
| 1057 |
+
both optional features that can be omitted when the library is built.
|
| 1058 |
+
|
| 1059 |
+
THE BASIC LIBRARY FUNCTIONS
|
| 1060 |
+
---------------------------
|
| 1061 |
+
Written by: Philip Hazel
|
| 1062 |
+
Email local part: ph10
|
| 1063 |
+
Email domain: cam.ac.uk
|
| 1064 |
+
University of Cambridge Computing Service,
|
| 1065 |
+
Cambridge, England.
|
| 1066 |
+
Copyright (c) 1997-2012 University of Cambridge
|
| 1067 |
+
All rights reserved.
|
| 1068 |
+
|
| 1069 |
+
PCRE JUST-IN-TIME COMPILATION SUPPORT
|
| 1070 |
+
-------------------------------------
|
| 1071 |
+
Written by: Zoltan Herczeg
|
| 1072 |
+
Email local part: hzmester
|
| 1073 |
+
Emain domain: freemail.hu
|
| 1074 |
+
Copyright(c) 2010-2012 Zoltan Herczeg
|
| 1075 |
+
All rights reserved.
|
| 1076 |
+
|
| 1077 |
+
STACK-LESS JUST-IN-TIME COMPILER
|
| 1078 |
+
--------------------------------
|
| 1079 |
+
Written by: Zoltan Herczeg
|
| 1080 |
+
Email local part: hzmester
|
| 1081 |
+
Emain domain: freemail.hu
|
| 1082 |
+
Copyright(c) 2009-2012 Zoltan Herczeg
|
| 1083 |
+
All rights reserved.
|
| 1084 |
+
|
| 1085 |
+
THE C++ WRAPPER FUNCTIONS
|
| 1086 |
+
-------------------------
|
| 1087 |
+
Contributed by: Google Inc.
|
| 1088 |
+
Copyright (c) 2007-2012, Google Inc.
|
| 1089 |
+
All rights reserved.
|
| 1090 |
+
|
| 1091 |
+
THE "BSD" LICENCE
|
| 1092 |
+
-----------------
|
| 1093 |
+
Redistribution and use in source and binary forms, with or without
|
| 1094 |
+
modification, are permitted provided that the following conditions are met:
|
| 1095 |
+
|
| 1096 |
+
* Redistributions of source code must retain the above copyright notice,
|
| 1097 |
+
this list of conditions and the following disclaimer.
|
| 1098 |
+
|
| 1099 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 1100 |
+
notice, this list of conditions and the following disclaimer in the
|
| 1101 |
+
documentation and/or other materials provided with the distribution.
|
| 1102 |
+
|
| 1103 |
+
* Neither the name of the University of Cambridge nor the name of Google
|
| 1104 |
+
Inc. nor the names of their contributors may be used to endorse or
|
| 1105 |
+
promote products derived from this software without specific prior
|
| 1106 |
+
written permission.
|
| 1107 |
+
|
| 1108 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 1109 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 1110 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 1111 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
| 1112 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 1113 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 1114 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 1115 |
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
| 1116 |
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 1117 |
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 1118 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1119 |
+
|
| 1120 |
+
6. Some of the cuBLAS library routines were written by or
|
| 1121 |
+
derived from code written by Vasily Volkov and are subject
|
| 1122 |
+
to the Modified Berkeley Software Distribution License as
|
| 1123 |
+
follows:
|
| 1124 |
+
|
| 1125 |
+
Copyright (c) 2007-2009, Regents of the University of California
|
| 1126 |
+
|
| 1127 |
+
All rights reserved.
|
| 1128 |
+
|
| 1129 |
+
Redistribution and use in source and binary forms, with or without
|
| 1130 |
+
modification, are permitted provided that the following conditions are
|
| 1131 |
+
met:
|
| 1132 |
+
* Redistributions of source code must retain the above copyright
|
| 1133 |
+
notice, this list of conditions and the following disclaimer.
|
| 1134 |
+
* Redistributions in binary form must reproduce the above
|
| 1135 |
+
copyright notice, this list of conditions and the following
|
| 1136 |
+
disclaimer in the documentation and/or other materials provided
|
| 1137 |
+
with the distribution.
|
| 1138 |
+
* Neither the name of the University of California, Berkeley nor
|
| 1139 |
+
the names of its contributors may be used to endorse or promote
|
| 1140 |
+
products derived from this software without specific prior
|
| 1141 |
+
written permission.
|
| 1142 |
+
|
| 1143 |
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
|
| 1144 |
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 1145 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 1146 |
+
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
| 1147 |
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| 1148 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 1149 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
| 1150 |
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
| 1151 |
+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
| 1152 |
+
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 1153 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1154 |
+
|
| 1155 |
+
7. Some of the cuBLAS library routines were written by or
|
| 1156 |
+
derived from code written by Davide Barbieri and are
|
| 1157 |
+
subject to the Modified Berkeley Software Distribution
|
| 1158 |
+
License as follows:
|
| 1159 |
+
|
| 1160 |
+
Copyright (c) 2008-2009 Davide Barbieri @ University of Rome Tor Vergata.
|
| 1161 |
+
|
| 1162 |
+
All rights reserved.
|
| 1163 |
+
|
| 1164 |
+
Redistribution and use in source and binary forms, with or without
|
| 1165 |
+
modification, are permitted provided that the following conditions are
|
| 1166 |
+
met:
|
| 1167 |
+
* Redistributions of source code must retain the above copyright
|
| 1168 |
+
notice, this list of conditions and the following disclaimer.
|
| 1169 |
+
* Redistributions in binary form must reproduce the above
|
| 1170 |
+
copyright notice, this list of conditions and the following
|
| 1171 |
+
disclaimer in the documentation and/or other materials provided
|
| 1172 |
+
with the distribution.
|
| 1173 |
+
* The name of the author may not be used to endorse or promote
|
| 1174 |
+
products derived from this software without specific prior
|
| 1175 |
+
written permission.
|
| 1176 |
+
|
| 1177 |
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
|
| 1178 |
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 1179 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 1180 |
+
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
| 1181 |
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| 1182 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 1183 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
| 1184 |
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
| 1185 |
+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
| 1186 |
+
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 1187 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1188 |
+
|
| 1189 |
+
8. Some of the cuBLAS library routines were derived from
|
| 1190 |
+
code developed by the University of Tennessee and are
|
| 1191 |
+
subject to the Modified Berkeley Software Distribution
|
| 1192 |
+
License as follows:
|
| 1193 |
+
|
| 1194 |
+
Copyright (c) 2010 The University of Tennessee.
|
| 1195 |
+
|
| 1196 |
+
All rights reserved.
|
| 1197 |
+
|
| 1198 |
+
Redistribution and use in source and binary forms, with or without
|
| 1199 |
+
modification, are permitted provided that the following conditions are
|
| 1200 |
+
met:
|
| 1201 |
+
* Redistributions of source code must retain the above copyright
|
| 1202 |
+
notice, this list of conditions and the following disclaimer.
|
| 1203 |
+
* Redistributions in binary form must reproduce the above
|
| 1204 |
+
copyright notice, this list of conditions and the following
|
| 1205 |
+
disclaimer listed in this license in the documentation and/or
|
| 1206 |
+
other materials provided with the distribution.
|
| 1207 |
+
* Neither the name of the copyright holders nor the names of its
|
| 1208 |
+
contributors may be used to endorse or promote products derived
|
| 1209 |
+
from this software without specific prior written permission.
|
| 1210 |
+
|
| 1211 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1212 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1213 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1214 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1215 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1216 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1217 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1218 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1219 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1220 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1221 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1222 |
+
|
| 1223 |
+
9. Some of the cuBLAS library routines were written by or
|
| 1224 |
+
derived from code written by Jonathan Hogg and are subject
|
| 1225 |
+
to the Modified Berkeley Software Distribution License as
|
| 1226 |
+
follows:
|
| 1227 |
+
|
| 1228 |
+
Copyright (c) 2012, The Science and Technology Facilities Council (STFC).
|
| 1229 |
+
|
| 1230 |
+
All rights reserved.
|
| 1231 |
+
|
| 1232 |
+
Redistribution and use in source and binary forms, with or without
|
| 1233 |
+
modification, are permitted provided that the following conditions are
|
| 1234 |
+
met:
|
| 1235 |
+
* Redistributions of source code must retain the above copyright
|
| 1236 |
+
notice, this list of conditions and the following disclaimer.
|
| 1237 |
+
* Redistributions in binary form must reproduce the above
|
| 1238 |
+
copyright notice, this list of conditions and the following
|
| 1239 |
+
disclaimer in the documentation and/or other materials provided
|
| 1240 |
+
with the distribution.
|
| 1241 |
+
* Neither the name of the STFC nor the names of its contributors
|
| 1242 |
+
may be used to endorse or promote products derived from this
|
| 1243 |
+
software without specific prior written permission.
|
| 1244 |
+
|
| 1245 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1246 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1247 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1248 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE STFC BE
|
| 1249 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 1250 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 1251 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
| 1252 |
+
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 1253 |
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
| 1254 |
+
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
| 1255 |
+
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1256 |
+
|
| 1257 |
+
10. Some of the cuBLAS library routines were written by or
|
| 1258 |
+
derived from code written by Ahmad M. Abdelfattah, David
|
| 1259 |
+
Keyes, and Hatem Ltaief, and are subject to the Apache
|
| 1260 |
+
License, Version 2.0, as follows:
|
| 1261 |
+
|
| 1262 |
+
-- (C) Copyright 2013 King Abdullah University of Science and Technology
|
| 1263 |
+
Authors:
|
| 1264 |
+
Ahmad Abdelfattah (ahmad.ahmad@kaust.edu.sa)
|
| 1265 |
+
David Keyes (david.keyes@kaust.edu.sa)
|
| 1266 |
+
Hatem Ltaief (hatem.ltaief@kaust.edu.sa)
|
| 1267 |
+
|
| 1268 |
+
Redistribution and use in source and binary forms, with or without
|
| 1269 |
+
modification, are permitted provided that the following conditions
|
| 1270 |
+
are met:
|
| 1271 |
+
|
| 1272 |
+
* Redistributions of source code must retain the above copyright
|
| 1273 |
+
notice, this list of conditions and the following disclaimer.
|
| 1274 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 1275 |
+
notice, this list of conditions and the following disclaimer in the
|
| 1276 |
+
documentation and/or other materials provided with the distribution.
|
| 1277 |
+
* Neither the name of the King Abdullah University of Science and
|
| 1278 |
+
Technology nor the names of its contributors may be used to endorse
|
| 1279 |
+
or promote products derived from this software without specific prior
|
| 1280 |
+
written permission.
|
| 1281 |
+
|
| 1282 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1283 |
+
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1284 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1285 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1286 |
+
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1287 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1288 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1289 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1290 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1291 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1292 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
|
| 1293 |
+
|
| 1294 |
+
11. Some of the cuSPARSE library routines were written by or
|
| 1295 |
+
derived from code written by Li-Wen Chang and are subject
|
| 1296 |
+
to the NCSA Open Source License as follows:
|
| 1297 |
+
|
| 1298 |
+
Copyright (c) 2012, University of Illinois.
|
| 1299 |
+
|
| 1300 |
+
All rights reserved.
|
| 1301 |
+
|
| 1302 |
+
Developed by: IMPACT Group, University of Illinois, http://impact.crhc.illinois.edu
|
| 1303 |
+
|
| 1304 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
| 1305 |
+
a copy of this software and associated documentation files (the
|
| 1306 |
+
"Software"), to deal with the Software without restriction, including
|
| 1307 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
| 1308 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
| 1309 |
+
permit persons to whom the Software is furnished to do so, subject to
|
| 1310 |
+
the following conditions:
|
| 1311 |
+
* Redistributions of source code must retain the above copyright
|
| 1312 |
+
notice, this list of conditions and the following disclaimer.
|
| 1313 |
+
* Redistributions in binary form must reproduce the above
|
| 1314 |
+
copyright notice, this list of conditions and the following
|
| 1315 |
+
disclaimers in the documentation and/or other materials provided
|
| 1316 |
+
with the distribution.
|
| 1317 |
+
* Neither the names of IMPACT Group, University of Illinois, nor
|
| 1318 |
+
the names of its contributors may be used to endorse or promote
|
| 1319 |
+
products derived from this Software without specific prior
|
| 1320 |
+
written permission.
|
| 1321 |
+
|
| 1322 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 1323 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 1324 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
| 1325 |
+
NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT
|
| 1326 |
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
| 1327 |
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
| 1328 |
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
|
| 1329 |
+
SOFTWARE.
|
| 1330 |
+
|
| 1331 |
+
12. Some of the cuRAND library routines were written by or
|
| 1332 |
+
derived from code written by Mutsuo Saito and Makoto
|
| 1333 |
+
Matsumoto and are subject to the following license:
|
| 1334 |
+
|
| 1335 |
+
Copyright (c) 2009, 2010 Mutsuo Saito, Makoto Matsumoto and Hiroshima
|
| 1336 |
+
University. All rights reserved.
|
| 1337 |
+
|
| 1338 |
+
Copyright (c) 2011 Mutsuo Saito, Makoto Matsumoto, Hiroshima
|
| 1339 |
+
University and University of Tokyo. All rights reserved.
|
| 1340 |
+
|
| 1341 |
+
Redistribution and use in source and binary forms, with or without
|
| 1342 |
+
modification, are permitted provided that the following conditions are
|
| 1343 |
+
met:
|
| 1344 |
+
* Redistributions of source code must retain the above copyright
|
| 1345 |
+
notice, this list of conditions and the following disclaimer.
|
| 1346 |
+
* Redistributions in binary form must reproduce the above
|
| 1347 |
+
copyright notice, this list of conditions and the following
|
| 1348 |
+
disclaimer in the documentation and/or other materials provided
|
| 1349 |
+
with the distribution.
|
| 1350 |
+
* Neither the name of the Hiroshima University nor the names of
|
| 1351 |
+
its contributors may be used to endorse or promote products
|
| 1352 |
+
derived from this software without specific prior written
|
| 1353 |
+
permission.
|
| 1354 |
+
|
| 1355 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1356 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1357 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1358 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1359 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1360 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1361 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1362 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1363 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1364 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1365 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1366 |
+
|
| 1367 |
+
13. Some of the cuRAND library routines were derived from
|
| 1368 |
+
code developed by D. E. Shaw Research and are subject to
|
| 1369 |
+
the following license:
|
| 1370 |
+
|
| 1371 |
+
Copyright 2010-2011, D. E. Shaw Research.
|
| 1372 |
+
|
| 1373 |
+
All rights reserved.
|
| 1374 |
+
|
| 1375 |
+
Redistribution and use in source and binary forms, with or without
|
| 1376 |
+
modification, are permitted provided that the following conditions are
|
| 1377 |
+
met:
|
| 1378 |
+
* Redistributions of source code must retain the above copyright
|
| 1379 |
+
notice, this list of conditions, and the following disclaimer.
|
| 1380 |
+
* Redistributions in binary form must reproduce the above
|
| 1381 |
+
copyright notice, this list of conditions, and the following
|
| 1382 |
+
disclaimer in the documentation and/or other materials provided
|
| 1383 |
+
with the distribution.
|
| 1384 |
+
* Neither the name of D. E. Shaw Research nor the names of its
|
| 1385 |
+
contributors may be used to endorse or promote products derived
|
| 1386 |
+
from this software without specific prior written permission.
|
| 1387 |
+
|
| 1388 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1389 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1390 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1391 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1392 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1393 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1394 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1395 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1396 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1397 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1398 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1399 |
+
|
| 1400 |
+
14. Some of the Math library routines were written by or
|
| 1401 |
+
derived from code developed by Norbert Juffa and are
|
| 1402 |
+
subject to the following license:
|
| 1403 |
+
|
| 1404 |
+
Copyright (c) 2015-2017, Norbert Juffa
|
| 1405 |
+
All rights reserved.
|
| 1406 |
+
|
| 1407 |
+
Redistribution and use in source and binary forms, with or without
|
| 1408 |
+
modification, are permitted provided that the following conditions
|
| 1409 |
+
are met:
|
| 1410 |
+
|
| 1411 |
+
1. Redistributions of source code must retain the above copyright
|
| 1412 |
+
notice, this list of conditions and the following disclaimer.
|
| 1413 |
+
|
| 1414 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 1415 |
+
notice, this list of conditions and the following disclaimer in the
|
| 1416 |
+
documentation and/or other materials provided with the distribution.
|
| 1417 |
+
|
| 1418 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1419 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1420 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1421 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1422 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1423 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1424 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1425 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1426 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1427 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1428 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1429 |
+
|
| 1430 |
+
15. Licensee's use of the lz4 third party component is
|
| 1431 |
+
subject to the following terms and conditions:
|
| 1432 |
+
|
| 1433 |
+
Copyright (C) 2011-2013, Yann Collet.
|
| 1434 |
+
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
|
| 1435 |
+
|
| 1436 |
+
Redistribution and use in source and binary forms, with or without
|
| 1437 |
+
modification, are permitted provided that the following conditions are
|
| 1438 |
+
met:
|
| 1439 |
+
|
| 1440 |
+
* Redistributions of source code must retain the above copyright
|
| 1441 |
+
notice, this list of conditions and the following disclaimer.
|
| 1442 |
+
* Redistributions in binary form must reproduce the above
|
| 1443 |
+
copyright notice, this list of conditions and the following disclaimer
|
| 1444 |
+
in the documentation and/or other materials provided with the
|
| 1445 |
+
distribution.
|
| 1446 |
+
|
| 1447 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1448 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1449 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1450 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1451 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1452 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1453 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1454 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1455 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1456 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1457 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1458 |
+
|
| 1459 |
+
16. The NPP library uses code from the Boost Math Toolkit,
|
| 1460 |
+
and is subject to the following license:
|
| 1461 |
+
|
| 1462 |
+
Boost Software License - Version 1.0 - August 17th, 2003
|
| 1463 |
+
. . . .
|
| 1464 |
+
|
| 1465 |
+
Permission is hereby granted, free of charge, to any person or
|
| 1466 |
+
organization obtaining a copy of the software and accompanying
|
| 1467 |
+
documentation covered by this license (the "Software") to use,
|
| 1468 |
+
reproduce, display, distribute, execute, and transmit the Software,
|
| 1469 |
+
and to prepare derivative works of the Software, and to permit
|
| 1470 |
+
third-parties to whom the Software is furnished to do so, all
|
| 1471 |
+
subject to the following:
|
| 1472 |
+
|
| 1473 |
+
The copyright notices in the Software and this entire statement,
|
| 1474 |
+
including the above license grant, this restriction and the following
|
| 1475 |
+
disclaimer, must be included in all copies of the Software, in whole
|
| 1476 |
+
or in part, and all derivative works of the Software, unless such
|
| 1477 |
+
copies or derivative works are solely in the form of machine-executable
|
| 1478 |
+
object code generated by a source language processor.
|
| 1479 |
+
|
| 1480 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 1481 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 1482 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
|
| 1483 |
+
NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
|
| 1484 |
+
ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR
|
| 1485 |
+
OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING
|
| 1486 |
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
| 1487 |
+
OTHER DEALINGS IN THE SOFTWARE.
|
| 1488 |
+
|
| 1489 |
+
17. Portions of the Nsight Eclipse Edition is subject to the
|
| 1490 |
+
following license:
|
| 1491 |
+
|
| 1492 |
+
The Eclipse Foundation makes available all content in this plug-in
|
| 1493 |
+
("Content"). Unless otherwise indicated below, the Content is provided
|
| 1494 |
+
to you under the terms and conditions of the Eclipse Public License
|
| 1495 |
+
Version 1.0 ("EPL"). A copy of the EPL is available at http://
|
| 1496 |
+
www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, "Program"
|
| 1497 |
+
will mean the Content.
|
| 1498 |
+
|
| 1499 |
+
If you did not receive this Content directly from the Eclipse
|
| 1500 |
+
Foundation, the Content is being redistributed by another party
|
| 1501 |
+
("Redistributor") and different terms and conditions may apply to your
|
| 1502 |
+
use of any object code in the Content. Check the Redistributor's
|
| 1503 |
+
license that was provided with the Content. If no such license exists,
|
| 1504 |
+
contact the Redistributor. Unless otherwise indicated below, the terms
|
| 1505 |
+
and conditions of the EPL still apply to any source code in the
|
| 1506 |
+
Content and such source code may be obtained at http://www.eclipse.org.
|
| 1507 |
+
|
| 1508 |
+
18. Some of the cuBLAS library routines uses code from
|
| 1509 |
+
OpenAI, which is subject to the following license:
|
| 1510 |
+
|
| 1511 |
+
License URL
|
| 1512 |
+
https://github.com/openai/openai-gemm/blob/master/LICENSE
|
| 1513 |
+
|
| 1514 |
+
License Text
|
| 1515 |
+
The MIT License
|
| 1516 |
+
|
| 1517 |
+
Copyright (c) 2016 OpenAI (http://openai.com), 2016 Google Inc.
|
| 1518 |
+
|
| 1519 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 1520 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 1521 |
+
in the Software without restriction, including without limitation the rights
|
| 1522 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 1523 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 1524 |
+
furnished to do so, subject to the following conditions:
|
| 1525 |
+
|
| 1526 |
+
The above copyright notice and this permission notice shall be included in
|
| 1527 |
+
all copies or substantial portions of the Software.
|
| 1528 |
+
|
| 1529 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 1530 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 1531 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 1532 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 1533 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 1534 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
| 1535 |
+
THE SOFTWARE.
|
| 1536 |
+
|
| 1537 |
+
19. Licensee's use of the Visual Studio Setup Configuration
|
| 1538 |
+
Samples is subject to the following license:
|
| 1539 |
+
|
| 1540 |
+
The MIT License (MIT)
|
| 1541 |
+
Copyright (C) Microsoft Corporation. All rights reserved.
|
| 1542 |
+
|
| 1543 |
+
Permission is hereby granted, free of charge, to any person
|
| 1544 |
+
obtaining a copy of this software and associated documentation
|
| 1545 |
+
files (the "Software"), to deal in the Software without restriction,
|
| 1546 |
+
including without limitation the rights to use, copy, modify, merge,
|
| 1547 |
+
publish, distribute, sublicense, and/or sell copies of the Software,
|
| 1548 |
+
and to permit persons to whom the Software is furnished to do so,
|
| 1549 |
+
subject to the following conditions:
|
| 1550 |
+
|
| 1551 |
+
The above copyright notice and this permission notice shall be included
|
| 1552 |
+
in all copies or substantial portions of the Software.
|
| 1553 |
+
|
| 1554 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
| 1555 |
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 1556 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 1557 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 1558 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 1559 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 1560 |
+
|
| 1561 |
+
20. Licensee's use of linmath.h header for CPU functions for
|
| 1562 |
+
GL vector/matrix operations from lunarG is subject to the
|
| 1563 |
+
Apache License Version 2.0.
|
| 1564 |
+
|
| 1565 |
+
21. The DX12-CUDA sample uses the d3dx12.h header, which is
|
| 1566 |
+
subject to the MIT license .
|
| 1567 |
+
|
| 1568 |
+
-----------------
|
evalkit_tf446/lib/python3.10/site-packages/nvidia_cufft_cu11-10.9.0.58.dist-info/METADATA
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: nvidia-cufft-cu11
|
| 3 |
+
Version: 10.9.0.58
|
| 4 |
+
Summary: CUFFT native runtime libraries
|
| 5 |
+
Home-page: https://developer.nvidia.com/cuda-zone
|
| 6 |
+
Author: Nvidia CUDA Installer Team
|
| 7 |
+
Author-email: compute_installer@nvidia.com
|
| 8 |
+
License: NVIDIA Proprietary Software
|
| 9 |
+
Keywords: cuda,nvidia,runtime,machine learning,deep learning
|
| 10 |
+
Classifier: Development Status :: 4 - Beta
|
| 11 |
+
Classifier: Intended Audience :: Developers
|
| 12 |
+
Classifier: Intended Audience :: Education
|
| 13 |
+
Classifier: Intended Audience :: Science/Research
|
| 14 |
+
Classifier: License :: Other/Proprietary License
|
| 15 |
+
Classifier: Natural Language :: English
|
| 16 |
+
Classifier: Programming Language :: Python :: 3
|
| 17 |
+
Classifier: Programming Language :: Python :: 3.5
|
| 18 |
+
Classifier: Programming Language :: Python :: 3.6
|
| 19 |
+
Classifier: Programming Language :: Python :: 3.7
|
| 20 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 21 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 22 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 23 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 24 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 25 |
+
Classifier: Topic :: Scientific/Engineering
|
| 26 |
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
| 27 |
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
| 28 |
+
Classifier: Topic :: Software Development
|
| 29 |
+
Classifier: Topic :: Software Development :: Libraries
|
| 30 |
+
Classifier: Operating System :: Microsoft :: Windows
|
| 31 |
+
Classifier: Operating System :: POSIX :: Linux
|
| 32 |
+
Requires-Python: >=3
|
| 33 |
+
License-File: License.txt
|
| 34 |
+
|
| 35 |
+
CUFFT native runtime libraries
|
evalkit_tf446/lib/python3.10/site-packages/nvidia_cufft_cu11-10.9.0.58.dist-info/RECORD
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
nvidia/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 2 |
+
nvidia/__pycache__/__init__.cpython-310.pyc,,
|
| 3 |
+
nvidia/cufft/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 4 |
+
nvidia/cufft/__pycache__/__init__.cpython-310.pyc,,
|
| 5 |
+
nvidia/cufft/include/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 6 |
+
nvidia/cufft/include/__pycache__/__init__.cpython-310.pyc,,
|
| 7 |
+
nvidia/cufft/include/cudalibxt.h,sha256=9GDuRiOzJuO61zRDhIpWpF7XHp8FXSOIlHJNoIMwOZQ,4105
|
| 8 |
+
nvidia/cufft/include/cufft.h,sha256=Ui7ajKuYZcP-2bm9mpH96YN1igLKeDLgrttyc4jMQJE,12570
|
| 9 |
+
nvidia/cufft/include/cufftXt.h,sha256=LfRdibvAlaNQ35vYqI4n8YcMpPYROrIjpZu2L0tISi4,11463
|
| 10 |
+
nvidia/cufft/include/cufftw.h,sha256=DBrJQf-dnCWD-OYgdhnEzn8OiAX0U3xdteEaNdhs7mU,19412
|
| 11 |
+
nvidia/cufft/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 12 |
+
nvidia/cufft/lib/__pycache__/__init__.cpython-310.pyc,,
|
| 13 |
+
nvidia/cufft/lib/libcufft.so.10,sha256=ylxvgdWEkGtNMrmErYcE3WW_db2rQzTtIs5-73UBqVo,279161544
|
| 14 |
+
nvidia/cufft/lib/libcufftw.so.10,sha256=GlkqWy81mpB3VQ7h_a3VjrLPnMC_q4_jl6N0-5SdoUM,1618440
|
| 15 |
+
nvidia_cufft_cu11-10.9.0.58.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 16 |
+
nvidia_cufft_cu11-10.9.0.58.dist-info/License.txt,sha256=rW9YU_ugyg0VnQ9Y1JrkmDDC-Mk_epJki5zpCttMbM0,59262
|
| 17 |
+
nvidia_cufft_cu11-10.9.0.58.dist-info/METADATA,sha256=8ZTc0J0I8IQvk3daH0k2WK62JYpm2a9XDaL3gUzZXA8,1506
|
| 18 |
+
nvidia_cufft_cu11-10.9.0.58.dist-info/RECORD,,
|
| 19 |
+
nvidia_cufft_cu11-10.9.0.58.dist-info/WHEEL,sha256=6NTOzyjaR-9aJxJquqd0X0mRtq4MUYsP0w_ppLcEVkQ,108
|
| 20 |
+
nvidia_cufft_cu11-10.9.0.58.dist-info/top_level.txt,sha256=fTkAtiFuL16nUrB9ytDDtpytz2t0B4NvYTnRzwAhO14,7
|
evalkit_tf446/lib/python3.10/site-packages/nvidia_cufft_cu11-10.9.0.58.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: setuptools (72.2.0)
|
| 3 |
+
Root-Is-Purelib: true
|
| 4 |
+
Tag: py3-none-manylinux2014_x86_64
|
| 5 |
+
|
evalkit_tf446/lib/python3.10/site-packages/nvidia_cufft_cu11-10.9.0.58.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
nvidia
|
evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/LICENCE.rst
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This software is under the MIT Licence
|
| 2 |
+
======================================
|
| 3 |
+
|
| 4 |
+
Copyright (c) 2010 openpyxl
|
| 5 |
+
|
| 6 |
+
Permission is hereby granted, free of charge, to any person obtaining a
|
| 7 |
+
copy of this software and associated documentation files (the
|
| 8 |
+
"Software"), to deal in the Software without restriction, including
|
| 9 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
| 10 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
| 11 |
+
permit persons to whom the Software is furnished to do so, subject to
|
| 12 |
+
the following conditions:
|
| 13 |
+
|
| 14 |
+
The above copyright notice and this permission notice shall be included
|
| 15 |
+
in all copies or substantial portions of the Software.
|
| 16 |
+
|
| 17 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
| 18 |
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 19 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
| 20 |
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
| 21 |
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
| 22 |
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
| 23 |
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/METADATA
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: openpyxl
|
| 3 |
+
Version: 3.1.5
|
| 4 |
+
Summary: A Python library to read/write Excel 2010 xlsx/xlsm files
|
| 5 |
+
Home-page: https://openpyxl.readthedocs.io
|
| 6 |
+
Author: See AUTHORS
|
| 7 |
+
Author-email: charlie.clark@clark-consulting.eu
|
| 8 |
+
License: MIT
|
| 9 |
+
Project-URL: Documentation, https://openpyxl.readthedocs.io/en/stable/
|
| 10 |
+
Project-URL: Source, https://foss.heptapod.net/openpyxl/openpyxl
|
| 11 |
+
Project-URL: Tracker, https://foss.heptapod.net/openpyxl/openpyxl/-/issues
|
| 12 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 13 |
+
Classifier: Operating System :: MacOS :: MacOS X
|
| 14 |
+
Classifier: Operating System :: Microsoft :: Windows
|
| 15 |
+
Classifier: Operating System :: POSIX
|
| 16 |
+
Classifier: License :: OSI Approved :: MIT License
|
| 17 |
+
Classifier: Programming Language :: Python
|
| 18 |
+
Classifier: Programming Language :: Python :: 3.6
|
| 19 |
+
Classifier: Programming Language :: Python :: 3.7
|
| 20 |
+
Classifier: Programming Language :: Python :: 3.8
|
| 21 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 22 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 23 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 24 |
+
Requires-Python: >=3.8
|
| 25 |
+
License-File: LICENCE.rst
|
| 26 |
+
Requires-Dist: et-xmlfile
|
| 27 |
+
|
| 28 |
+
.. image:: https://coveralls.io/repos/bitbucket/openpyxl/openpyxl/badge.svg?branch=default
|
| 29 |
+
:target: https://coveralls.io/bitbucket/openpyxl/openpyxl?branch=default
|
| 30 |
+
:alt: coverage status
|
| 31 |
+
|
| 32 |
+
Introduction
|
| 33 |
+
------------
|
| 34 |
+
|
| 35 |
+
openpyxl is a Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files.
|
| 36 |
+
|
| 37 |
+
It was born from lack of existing library to read/write natively from Python
|
| 38 |
+
the Office Open XML format.
|
| 39 |
+
|
| 40 |
+
All kudos to the PHPExcel team as openpyxl was initially based on PHPExcel.
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
Security
|
| 44 |
+
--------
|
| 45 |
+
|
| 46 |
+
By default openpyxl does not guard against quadratic blowup or billion laughs
|
| 47 |
+
xml attacks. To guard against these attacks install defusedxml.
|
| 48 |
+
|
| 49 |
+
Mailing List
|
| 50 |
+
------------
|
| 51 |
+
|
| 52 |
+
The user list can be found on http://groups.google.com/group/openpyxl-users
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
Sample code::
|
| 56 |
+
|
| 57 |
+
from openpyxl import Workbook
|
| 58 |
+
wb = Workbook()
|
| 59 |
+
|
| 60 |
+
# grab the active worksheet
|
| 61 |
+
ws = wb.active
|
| 62 |
+
|
| 63 |
+
# Data can be assigned directly to cells
|
| 64 |
+
ws['A1'] = 42
|
| 65 |
+
|
| 66 |
+
# Rows can also be appended
|
| 67 |
+
ws.append([1, 2, 3])
|
| 68 |
+
|
| 69 |
+
# Python types will automatically be converted
|
| 70 |
+
import datetime
|
| 71 |
+
ws['A2'] = datetime.datetime.now()
|
| 72 |
+
|
| 73 |
+
# Save the file
|
| 74 |
+
wb.save("sample.xlsx")
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
Documentation
|
| 78 |
+
-------------
|
| 79 |
+
|
| 80 |
+
The documentation is at: https://openpyxl.readthedocs.io
|
| 81 |
+
|
| 82 |
+
* installation methods
|
| 83 |
+
* code examples
|
| 84 |
+
* instructions for contributing
|
| 85 |
+
|
| 86 |
+
Release notes: https://openpyxl.readthedocs.io/en/stable/changes.html
|
evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/RECORD
ADDED
|
@@ -0,0 +1,387 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 6 |
+
openpyxl-3.1.5.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
| 7 |
+
openpyxl-3.1.5.dist-info/top_level.txt,sha256=mKJO5QFAsUEDtJ_c97F-IbmVtHYEDymqD7d5X0ULkVs,9
|
| 8 |
+
openpyxl/__init__.py,sha256=s2sXcp8ThXXHswNSh-UuQi5BHsoasuczUyjNNz0Vupc,603
|
| 9 |
+
openpyxl/__pycache__/__init__.cpython-310.pyc,,
|
| 10 |
+
openpyxl/__pycache__/_constants.cpython-310.pyc,,
|
| 11 |
+
openpyxl/_constants.py,sha256=rhOeQ6wNH6jw73G4I242VtbmyM8fvdNVwOsOjJlJ6TU,306
|
| 12 |
+
openpyxl/cell/__init__.py,sha256=OXNzFFR9dlxUXiuWXyKSVQRJiQhZFel-_RQS3mHNnrQ,122
|
| 13 |
+
openpyxl/cell/__pycache__/__init__.cpython-310.pyc,,
|
| 14 |
+
openpyxl/cell/__pycache__/_writer.cpython-310.pyc,,
|
| 15 |
+
openpyxl/cell/__pycache__/cell.cpython-310.pyc,,
|
| 16 |
+
openpyxl/cell/__pycache__/read_only.cpython-310.pyc,,
|
| 17 |
+
openpyxl/cell/__pycache__/rich_text.cpython-310.pyc,,
|
| 18 |
+
openpyxl/cell/__pycache__/text.cpython-310.pyc,,
|
| 19 |
+
openpyxl/cell/_writer.py,sha256=3I6WLKEJGuFe8rOjxdAVuDT4sZYjcYo57-6velGepdQ,4015
|
| 20 |
+
openpyxl/cell/cell.py,sha256=hVJsMC9kJAxxb_CspJlBrwDt2qzfccO6YDfPHK3BBCQ,8922
|
| 21 |
+
openpyxl/cell/read_only.py,sha256=ApXkofmUK5QISsuTgZvmZKsU8PufSQtqe2xmYWTgLnc,3097
|
| 22 |
+
openpyxl/cell/rich_text.py,sha256=uAZmGB7bYDUnanHI0vJmKbfSF8riuIYS5CwlVU_3_fM,5628
|
| 23 |
+
openpyxl/cell/text.py,sha256=acU6BZQNSmVx4bBXPgFavoxmfoPbVYrm_ztp1bGeOmc,4367
|
| 24 |
+
openpyxl/chart/_3d.py,sha256=Sdm0TNpXHXNoOLUwiOSccv7yFwrel_-rjQhkrDqAAF4,3104
|
| 25 |
+
openpyxl/chart/__init__.py,sha256=ag4YCN1B3JH0lkS7tiiZCohVAA51x_pejGdAMuxaI1Y,564
|
| 26 |
+
openpyxl/chart/__pycache__/_3d.cpython-310.pyc,,
|
| 27 |
+
openpyxl/chart/__pycache__/__init__.cpython-310.pyc,,
|
| 28 |
+
openpyxl/chart/__pycache__/_chart.cpython-310.pyc,,
|
| 29 |
+
openpyxl/chart/__pycache__/area_chart.cpython-310.pyc,,
|
| 30 |
+
openpyxl/chart/__pycache__/axis.cpython-310.pyc,,
|
| 31 |
+
openpyxl/chart/__pycache__/bar_chart.cpython-310.pyc,,
|
| 32 |
+
openpyxl/chart/__pycache__/bubble_chart.cpython-310.pyc,,
|
| 33 |
+
openpyxl/chart/__pycache__/chartspace.cpython-310.pyc,,
|
| 34 |
+
openpyxl/chart/__pycache__/data_source.cpython-310.pyc,,
|
| 35 |
+
openpyxl/chart/__pycache__/descriptors.cpython-310.pyc,,
|
| 36 |
+
openpyxl/chart/__pycache__/error_bar.cpython-310.pyc,,
|
| 37 |
+
openpyxl/chart/__pycache__/label.cpython-310.pyc,,
|
| 38 |
+
openpyxl/chart/__pycache__/layout.cpython-310.pyc,,
|
| 39 |
+
openpyxl/chart/__pycache__/legend.cpython-310.pyc,,
|
| 40 |
+
openpyxl/chart/__pycache__/line_chart.cpython-310.pyc,,
|
| 41 |
+
openpyxl/chart/__pycache__/marker.cpython-310.pyc,,
|
| 42 |
+
openpyxl/chart/__pycache__/picture.cpython-310.pyc,,
|
| 43 |
+
openpyxl/chart/__pycache__/pie_chart.cpython-310.pyc,,
|
| 44 |
+
openpyxl/chart/__pycache__/pivot.cpython-310.pyc,,
|
| 45 |
+
openpyxl/chart/__pycache__/plotarea.cpython-310.pyc,,
|
| 46 |
+
openpyxl/chart/__pycache__/print_settings.cpython-310.pyc,,
|
| 47 |
+
openpyxl/chart/__pycache__/radar_chart.cpython-310.pyc,,
|
| 48 |
+
openpyxl/chart/__pycache__/reader.cpython-310.pyc,,
|
| 49 |
+
openpyxl/chart/__pycache__/reference.cpython-310.pyc,,
|
| 50 |
+
openpyxl/chart/__pycache__/scatter_chart.cpython-310.pyc,,
|
| 51 |
+
openpyxl/chart/__pycache__/series.cpython-310.pyc,,
|
| 52 |
+
openpyxl/chart/__pycache__/series_factory.cpython-310.pyc,,
|
| 53 |
+
openpyxl/chart/__pycache__/shapes.cpython-310.pyc,,
|
| 54 |
+
openpyxl/chart/__pycache__/stock_chart.cpython-310.pyc,,
|
| 55 |
+
openpyxl/chart/__pycache__/surface_chart.cpython-310.pyc,,
|
| 56 |
+
openpyxl/chart/__pycache__/text.cpython-310.pyc,,
|
| 57 |
+
openpyxl/chart/__pycache__/title.cpython-310.pyc,,
|
| 58 |
+
openpyxl/chart/__pycache__/trendline.cpython-310.pyc,,
|
| 59 |
+
openpyxl/chart/__pycache__/updown_bars.cpython-310.pyc,,
|
| 60 |
+
openpyxl/chart/_chart.py,sha256=j5xn6mQYmZ4E7y2V1Xvx1jwhX2_O68Mp-8zeXRteS7E,5746
|
| 61 |
+
openpyxl/chart/area_chart.py,sha256=uROD3fdus6yD1TGu87j4z7KtOEH7tI-3Z5NFK73wwgw,2890
|
| 62 |
+
openpyxl/chart/axis.py,sha256=yommy5q2mQWKmmLRouWBpimiBZDBM1K-UKAIwCwKDNc,12580
|
| 63 |
+
openpyxl/chart/bar_chart.py,sha256=_TQHleMT3gSa6B1BkKD_FkLFcv8LRaoiHbpy2yflLO4,4142
|
| 64 |
+
openpyxl/chart/bubble_chart.py,sha256=KL7VZYFyLDpA8MC-IFtRAUIN262xK6MzjU41DrSVgpY,2004
|
| 65 |
+
openpyxl/chart/chartspace.py,sha256=PuPGBsVbpK5JagbB7SWgp4JwdQtTrZzIm8mf3kfGAuY,6069
|
| 66 |
+
openpyxl/chart/data_source.py,sha256=GAuWoCOJ4k7RZNJZkZck0zt_-D5UfDEwqwQ3ND4-s34,5782
|
| 67 |
+
openpyxl/chart/descriptors.py,sha256=uj-qptwKOBeg7U5xBN4QJQ2OwQvFQ7o4n5eMXXIWS7M,736
|
| 68 |
+
openpyxl/chart/error_bar.py,sha256=GS_L7PiyKNnJVHvQqG2hLxEW237igLLCatCNC-xGMxk,1832
|
| 69 |
+
openpyxl/chart/label.py,sha256=IjvI-CZjTY8ydoUzUOihcbxoRWiSpFb_ipD6C2I8Pu4,4133
|
| 70 |
+
openpyxl/chart/layout.py,sha256=QHakp_CIcoNuvjyZMsQ2p_qP44DIQs4aquy7yln94JM,2040
|
| 71 |
+
openpyxl/chart/legend.py,sha256=iPMycOhYDAVYd05OU_QDB-GSavdw_1L9CMuJIETOoGI,2040
|
| 72 |
+
openpyxl/chart/line_chart.py,sha256=6tAyDCzFiuiBFuUDTWhQepH8xVCx2s57lH951cEcwn0,3951
|
| 73 |
+
openpyxl/chart/marker.py,sha256=kfybMkshK3qefOUW7OX-Os0vfl5OCXfg8MytwHC2i-w,2600
|
| 74 |
+
openpyxl/chart/picture.py,sha256=Q4eBNQMKQDHR91RnPc7tM-YZVdcnWncedUlfagj67gk,1156
|
| 75 |
+
openpyxl/chart/pie_chart.py,sha256=UOvkjrBpNd_rT-rvKcpPeVd9dK-ELdMIaHjAUEr6oN8,4793
|
| 76 |
+
openpyxl/chart/pivot.py,sha256=9kVDmnxnR0uQRQ-Wbl6qw8eew9LGhqomaDBaXqQGZY4,1741
|
| 77 |
+
openpyxl/chart/plotarea.py,sha256=em7yorXFz9SmJruqOR4Pn-2oEj0Su4rnzyNc5e0IZ_U,5805
|
| 78 |
+
openpyxl/chart/print_settings.py,sha256=UwB6Kn6xkLRBejXScl-utF8dkNhV7Lm3Lfk7ACpbRgs,1454
|
| 79 |
+
openpyxl/chart/radar_chart.py,sha256=93I1Y1dmXZ6Y0F1VKXz9I3x1ufgwygBOdbPZumR5n3s,1521
|
| 80 |
+
openpyxl/chart/reader.py,sha256=oQD-29oxSLW2yzXdyXNhzQYNXgM64Y3kVSOIkrPZCuU,802
|
| 81 |
+
openpyxl/chart/reference.py,sha256=N3T4qYMH9BVrtbDRiKIZz-qGvPAdfquWTGL0XKxD9G8,3098
|
| 82 |
+
openpyxl/chart/scatter_chart.py,sha256=JMU32jjxTj7txPJ2TebBHPS5UcMsRHVqLz_psnN2YZs,1563
|
| 83 |
+
openpyxl/chart/series.py,sha256=k8eR8cviH9EPllRjjr_2a-lH5S3_HWBTLyE7XKghzWc,5896
|
| 84 |
+
openpyxl/chart/series_factory.py,sha256=ey1zgNwM1g4bQwB9lLhM6E-ctLIM2kLWM3X7CPw8SDs,1368
|
| 85 |
+
openpyxl/chart/shapes.py,sha256=JkgMy3DUWDKLV6JZHKb_pUBvWpzTAQ3biUMr-1fJWZU,2815
|
| 86 |
+
openpyxl/chart/stock_chart.py,sha256=YJ7eElBX5omHziKo41ygTA7F_NEkyIlFUfdDJXZuKhM,1604
|
| 87 |
+
openpyxl/chart/surface_chart.py,sha256=_-yGEX-Ou2NJVmJCA_K_bSLyzk-RvbPupyQLmjfCWj0,2914
|
| 88 |
+
openpyxl/chart/text.py,sha256=voJCf4PK5olmX0g_5u9aQo8B5LpCUlOeq4j4pnOy_A0,1847
|
| 89 |
+
openpyxl/chart/title.py,sha256=L-7KxwcpMb2aZk4ikgMsIgFPVtBafIppx9ykd5FPJ4w,1952
|
| 90 |
+
openpyxl/chart/trendline.py,sha256=9pWSJa9Adwtd6v_i7dPT7qNKzhOrSMWZ4QuAOntZWVg,3045
|
| 91 |
+
openpyxl/chart/updown_bars.py,sha256=QA4lyEMtMVvZCrYUpHZYMVS1xsnaN4_T5UBi6E7ilQ0,897
|
| 92 |
+
openpyxl/chartsheet/__init__.py,sha256=3Ony1WNbxxWuddTW-peuUPvO3xqIWFWe3Da2OUzsVnI,71
|
| 93 |
+
openpyxl/chartsheet/__pycache__/__init__.cpython-310.pyc,,
|
| 94 |
+
openpyxl/chartsheet/__pycache__/chartsheet.cpython-310.pyc,,
|
| 95 |
+
openpyxl/chartsheet/__pycache__/custom.cpython-310.pyc,,
|
| 96 |
+
openpyxl/chartsheet/__pycache__/properties.cpython-310.pyc,,
|
| 97 |
+
openpyxl/chartsheet/__pycache__/protection.cpython-310.pyc,,
|
| 98 |
+
openpyxl/chartsheet/__pycache__/publish.cpython-310.pyc,,
|
| 99 |
+
openpyxl/chartsheet/__pycache__/relation.cpython-310.pyc,,
|
| 100 |
+
openpyxl/chartsheet/__pycache__/views.cpython-310.pyc,,
|
| 101 |
+
openpyxl/chartsheet/chartsheet.py,sha256=GTXNfQPYBaS4B7XB4f7gDkAo2kCjtZqidl6iDxp-JQ8,3911
|
| 102 |
+
openpyxl/chartsheet/custom.py,sha256=qVgeCzT7t1tN_pDwaLqtR3ubuPDLeTR5KKlcxwnTWa8,1691
|
| 103 |
+
openpyxl/chartsheet/properties.py,sha256=dR1nrp22FsPkyDrwQaZV7t-p-Z2Jc88Y2IhIGbBvFhk,679
|
| 104 |
+
openpyxl/chartsheet/protection.py,sha256=eJixEBmdoTDO2_0h6g51sdSdfSdCaP8UUNsbEqHds6U,1265
|
| 105 |
+
openpyxl/chartsheet/publish.py,sha256=PrwqsUKn2SK67ZM3NEGT9FH4nOKC1cOxxm3322hHawQ,1587
|
| 106 |
+
openpyxl/chartsheet/relation.py,sha256=ZAAfEZb639ve0k6ByRwmHdjBrjqVC0bHOLgIcBwRx6o,2731
|
| 107 |
+
openpyxl/chartsheet/views.py,sha256=My3Au-DEAcC4lwBARhrCcwsN7Lp9H6cFQT-SiAcJlko,1341
|
| 108 |
+
openpyxl/comments/__init__.py,sha256=k_QJ-OPRme8HgAYQlyxbbRhmS1n2FyowqIeekBW-7vw,67
|
| 109 |
+
openpyxl/comments/__pycache__/__init__.cpython-310.pyc,,
|
| 110 |
+
openpyxl/comments/__pycache__/author.cpython-310.pyc,,
|
| 111 |
+
openpyxl/comments/__pycache__/comment_sheet.cpython-310.pyc,,
|
| 112 |
+
openpyxl/comments/__pycache__/comments.cpython-310.pyc,,
|
| 113 |
+
openpyxl/comments/__pycache__/shape_writer.cpython-310.pyc,,
|
| 114 |
+
openpyxl/comments/author.py,sha256=PZB_fjQqiEm8BdHDblbfzB0gzkFvECWq5i1jSHeJZco,388
|
| 115 |
+
openpyxl/comments/comment_sheet.py,sha256=Uv2RPpIxrikDPHBr5Yj1dDkusZB97yVE-NQTM0-EnBk,5753
|
| 116 |
+
openpyxl/comments/comments.py,sha256=CxurAWM7WbCdbeya-DQklbiWSFaxhtrUNBZEzulTyxc,1466
|
| 117 |
+
openpyxl/comments/shape_writer.py,sha256=Ls1d0SscfxGM9H2spjxMNHeJSaZJuLawlXs4t4qH7v4,3809
|
| 118 |
+
openpyxl/compat/__init__.py,sha256=fltF__CdGK97l2V3MtIDxbwgV_p1AZvLdyqcEtXKsqs,1592
|
| 119 |
+
openpyxl/compat/__pycache__/__init__.cpython-310.pyc,,
|
| 120 |
+
openpyxl/compat/__pycache__/abc.cpython-310.pyc,,
|
| 121 |
+
openpyxl/compat/__pycache__/numbers.cpython-310.pyc,,
|
| 122 |
+
openpyxl/compat/__pycache__/product.cpython-310.pyc,,
|
| 123 |
+
openpyxl/compat/__pycache__/singleton.cpython-310.pyc,,
|
| 124 |
+
openpyxl/compat/__pycache__/strings.cpython-310.pyc,,
|
| 125 |
+
openpyxl/compat/abc.py,sha256=Y-L6pozzgjr81OfXsjDkGDeKEq6BOfMr6nvrFps_o6Q,155
|
| 126 |
+
openpyxl/compat/numbers.py,sha256=2dckE0PHT7eB89Sc2BdlWOH4ZLXWt3_eo73-CzRujUY,1617
|
| 127 |
+
openpyxl/compat/product.py,sha256=-bDgNMHGDgbahgw0jqale8TeIARLw7HO0soQAL9b_4k,264
|
| 128 |
+
openpyxl/compat/singleton.py,sha256=R1HiH7XpjaW4kr3GILWMc4hRGZkXyc0yK7T1jcg_QWg,1023
|
| 129 |
+
openpyxl/compat/strings.py,sha256=D_TWf8QnMH6WMx6xuCDfXl0boc1k9q7j8hGalVQ2RUk,604
|
| 130 |
+
openpyxl/descriptors/__init__.py,sha256=eISTR0Sa1ZKKNQPxMZtqlE39JugYzkjxiZf7u9fttiw,1952
|
| 131 |
+
openpyxl/descriptors/__pycache__/__init__.cpython-310.pyc,,
|
| 132 |
+
openpyxl/descriptors/__pycache__/base.cpython-310.pyc,,
|
| 133 |
+
openpyxl/descriptors/__pycache__/container.cpython-310.pyc,,
|
| 134 |
+
openpyxl/descriptors/__pycache__/excel.cpython-310.pyc,,
|
| 135 |
+
openpyxl/descriptors/__pycache__/namespace.cpython-310.pyc,,
|
| 136 |
+
openpyxl/descriptors/__pycache__/nested.cpython-310.pyc,,
|
| 137 |
+
openpyxl/descriptors/__pycache__/sequence.cpython-310.pyc,,
|
| 138 |
+
openpyxl/descriptors/__pycache__/serialisable.cpython-310.pyc,,
|
| 139 |
+
openpyxl/descriptors/__pycache__/slots.cpython-310.pyc,,
|
| 140 |
+
openpyxl/descriptors/base.py,sha256=-CuNfswEGazgOoX3GuM2Bs2zkBImT992TvR2R1xsnXM,7135
|
| 141 |
+
openpyxl/descriptors/container.py,sha256=IcO91M02hR0vXZtWGurz0IH1Vi2PoEECP1PEbz62FJQ,889
|
| 142 |
+
openpyxl/descriptors/excel.py,sha256=d6a6mtoZ-33jwMGlgvNTL54cqLANKyhMihG6887j8r0,2412
|
| 143 |
+
openpyxl/descriptors/namespace.py,sha256=LjI4e9R09NSbClr_ewv0YmHgWY8RO5xq1s-SpAvz2wo,313
|
| 144 |
+
openpyxl/descriptors/nested.py,sha256=5LSsf2uvTKsrGEEQF1KVXMLHZFoRgmLfL_lzW0lWQjI,2603
|
| 145 |
+
openpyxl/descriptors/sequence.py,sha256=OqF34K_nUC46XD5B_6xzGHeEICz_82hkFkNFXpBkSSE,3490
|
| 146 |
+
openpyxl/descriptors/serialisable.py,sha256=U_7wMEGQRIOiimUUL4AbdOiWMc_aLyKeaRnj_Z7dVO8,7361
|
| 147 |
+
openpyxl/descriptors/slots.py,sha256=xNj5vLWWoounpYqbP2JDnnhlTiTLRn-uTfQxncpFfn0,824
|
| 148 |
+
openpyxl/drawing/__init__.py,sha256=xlXVaT3Fs9ltvbbRIGTSRow9kw9nhLY3Zj1Mm6vXRHE,66
|
| 149 |
+
openpyxl/drawing/__pycache__/__init__.cpython-310.pyc,,
|
| 150 |
+
openpyxl/drawing/__pycache__/colors.cpython-310.pyc,,
|
| 151 |
+
openpyxl/drawing/__pycache__/connector.cpython-310.pyc,,
|
| 152 |
+
openpyxl/drawing/__pycache__/drawing.cpython-310.pyc,,
|
| 153 |
+
openpyxl/drawing/__pycache__/effect.cpython-310.pyc,,
|
| 154 |
+
openpyxl/drawing/__pycache__/fill.cpython-310.pyc,,
|
| 155 |
+
openpyxl/drawing/__pycache__/geometry.cpython-310.pyc,,
|
| 156 |
+
openpyxl/drawing/__pycache__/graphic.cpython-310.pyc,,
|
| 157 |
+
openpyxl/drawing/__pycache__/image.cpython-310.pyc,,
|
| 158 |
+
openpyxl/drawing/__pycache__/line.cpython-310.pyc,,
|
| 159 |
+
openpyxl/drawing/__pycache__/picture.cpython-310.pyc,,
|
| 160 |
+
openpyxl/drawing/__pycache__/properties.cpython-310.pyc,,
|
| 161 |
+
openpyxl/drawing/__pycache__/relation.cpython-310.pyc,,
|
| 162 |
+
openpyxl/drawing/__pycache__/spreadsheet_drawing.cpython-310.pyc,,
|
| 163 |
+
openpyxl/drawing/__pycache__/text.cpython-310.pyc,,
|
| 164 |
+
openpyxl/drawing/__pycache__/xdr.cpython-310.pyc,,
|
| 165 |
+
openpyxl/drawing/colors.py,sha256=d92d6LQv2xi4xVt0F6bEJz-kpe4ahghNsOIY0_cxgQI,15251
|
| 166 |
+
openpyxl/drawing/connector.py,sha256=4be6kFwDmixqYX6ko22JE3cqJ9xUM7lRonSer1BDVgY,3863
|
| 167 |
+
openpyxl/drawing/drawing.py,sha256=Wbv24TZbNaPngDR3adOj6jUBg-iyMYyfvgEPg-5IPu8,2339
|
| 168 |
+
openpyxl/drawing/effect.py,sha256=vZ5r9k3JfyaAoBggFzN9wyvsEDnMnAmkQZsdVQN1-wo,9435
|
| 169 |
+
openpyxl/drawing/fill.py,sha256=Z_kAY5bncgu1WkZNvgjiX5ucrYI6GLXyUi6H3_mne2k,13092
|
| 170 |
+
openpyxl/drawing/geometry.py,sha256=0UM5hMHYy_R3C-lHt5x3NECDn7O1tfbKu5BweLwdLlg,17523
|
| 171 |
+
openpyxl/drawing/graphic.py,sha256=013KhmTqp1PFKht9lRRA6SHjznxq9EL4u_ybA88OuCk,4811
|
| 172 |
+
openpyxl/drawing/image.py,sha256=ROO0YJjzH9eqjPUKU5bMtt4bXnHFK9uofDa2__R3G2k,1455
|
| 173 |
+
openpyxl/drawing/line.py,sha256=CRxV0NUpce4RfXPDllodcneoHk8vr2Ind8HaWnUv2HE,3904
|
| 174 |
+
openpyxl/drawing/picture.py,sha256=tDYob2x4encQ9rUWOe29PqtiRSDEj746j-SvQ7rVV10,4205
|
| 175 |
+
openpyxl/drawing/properties.py,sha256=TyLOF3ehp38XJvuupNZdsOqZ0HNXkVPBDYwU5O1GhBM,4948
|
| 176 |
+
openpyxl/drawing/relation.py,sha256=InbM75ymWUjICXhjyCcYqp1FWcfCFp9q9vecYLptzk4,344
|
| 177 |
+
openpyxl/drawing/spreadsheet_drawing.py,sha256=CUWSpIYWOHUEp-USOAGVNlLfXBQObcGdg_RZ_bggPYM,10721
|
| 178 |
+
openpyxl/drawing/text.py,sha256=6_ShIu9FLG7MJvMLs_G_tTatTaBqxpaX5KMKxSfTY7Y,22421
|
| 179 |
+
openpyxl/drawing/xdr.py,sha256=XE2yRzlCqoJBWg3TPRxelzZ4GmBV9dDFTtiJgJZku-U,626
|
| 180 |
+
openpyxl/formatting/__init__.py,sha256=vpkL3EimMa-moJjcWk4l3bIWdJ3c7a8pKOfGlnPte9c,59
|
| 181 |
+
openpyxl/formatting/__pycache__/__init__.cpython-310.pyc,,
|
| 182 |
+
openpyxl/formatting/__pycache__/formatting.cpython-310.pyc,,
|
| 183 |
+
openpyxl/formatting/__pycache__/rule.cpython-310.pyc,,
|
| 184 |
+
openpyxl/formatting/formatting.py,sha256=AdXlrhic4CPvyJ300oFJPJUH-2vS0VNOLiNudt3U26c,2701
|
| 185 |
+
openpyxl/formatting/rule.py,sha256=96Fc5-hSByCrvkC1O0agEoZyL9G_AdeulrjRXnf_rZ8,9288
|
| 186 |
+
openpyxl/formula/__init__.py,sha256=AgvEdunVryhzwecuFVO2EezdJT3h5gCXpw2j3f5VUWA,69
|
| 187 |
+
openpyxl/formula/__pycache__/__init__.cpython-310.pyc,,
|
| 188 |
+
openpyxl/formula/__pycache__/tokenizer.cpython-310.pyc,,
|
| 189 |
+
openpyxl/formula/__pycache__/translate.cpython-310.pyc,,
|
| 190 |
+
openpyxl/formula/tokenizer.py,sha256=o1jDAOl79YiCWr-2LmSICyAbhm2hdb-37jriasmv4dc,15088
|
| 191 |
+
openpyxl/formula/translate.py,sha256=Zs9adqfZTAuo8J_QNbqK3vjQDlSFhWc0vWc6TCMDYrI,6653
|
| 192 |
+
openpyxl/packaging/__init__.py,sha256=KcNtO2zoYizOgG-iZzayZffSL1WeZR98i1Q8QYTRhfI,90
|
| 193 |
+
openpyxl/packaging/__pycache__/__init__.cpython-310.pyc,,
|
| 194 |
+
openpyxl/packaging/__pycache__/core.cpython-310.pyc,,
|
| 195 |
+
openpyxl/packaging/__pycache__/custom.cpython-310.pyc,,
|
| 196 |
+
openpyxl/packaging/__pycache__/extended.cpython-310.pyc,,
|
| 197 |
+
openpyxl/packaging/__pycache__/interface.cpython-310.pyc,,
|
| 198 |
+
openpyxl/packaging/__pycache__/manifest.cpython-310.pyc,,
|
| 199 |
+
openpyxl/packaging/__pycache__/relationship.cpython-310.pyc,,
|
| 200 |
+
openpyxl/packaging/__pycache__/workbook.cpython-310.pyc,,
|
| 201 |
+
openpyxl/packaging/core.py,sha256=OSbSFGZrKYcZszcHe3LhQEyiAf2Wylwxm4_6N8WO-Yo,4061
|
| 202 |
+
openpyxl/packaging/custom.py,sha256=uCEl7IwITFX2pOxiAITnvNbfsav80uHB0wXUFvjIRUQ,6738
|
| 203 |
+
openpyxl/packaging/extended.py,sha256=JFksxDd67rA57n-vxg48tbeZh2g2LEOb0fgJLeqbTWM,4810
|
| 204 |
+
openpyxl/packaging/interface.py,sha256=vlGVt4YvyUR4UX9Tr9xmkn1G8s_ynYVtAx4okJ6-g_8,920
|
| 205 |
+
openpyxl/packaging/manifest.py,sha256=y5zoDQnhJ1aW_HPLItY_WE94fSLS4jxvfIqn_J2zJ6Q,5366
|
| 206 |
+
openpyxl/packaging/relationship.py,sha256=jLhvFvDVZBRTZTXokRrrsEiLI9CmFlulhGzA_OYKM0Q,3974
|
| 207 |
+
openpyxl/packaging/workbook.py,sha256=s4jl4gqqMkaUHmMAR52dc9ZoNTieuXcq1OG3cgNDYjw,6495
|
| 208 |
+
openpyxl/pivot/__init__.py,sha256=c12-9kMPWlUdjwSoZPsFpmeW8KVXH0HCGpO3dlCTVqI,35
|
| 209 |
+
openpyxl/pivot/__pycache__/__init__.cpython-310.pyc,,
|
| 210 |
+
openpyxl/pivot/__pycache__/cache.cpython-310.pyc,,
|
| 211 |
+
openpyxl/pivot/__pycache__/fields.cpython-310.pyc,,
|
| 212 |
+
openpyxl/pivot/__pycache__/record.cpython-310.pyc,,
|
| 213 |
+
openpyxl/pivot/__pycache__/table.cpython-310.pyc,,
|
| 214 |
+
openpyxl/pivot/cache.py,sha256=kKQMEcoYb9scl_CNNWfmNOTewD5S3hpBGwViMtDCyx0,27840
|
| 215 |
+
openpyxl/pivot/fields.py,sha256=0CQLdTOBhYAa9gfEZb_bvkgCx8feASYp64dqFskDkqU,7057
|
| 216 |
+
openpyxl/pivot/record.py,sha256=c45ft1YsPAVRneMVh_WvUQ1nZt9RJQ_josRuolKx3qE,2671
|
| 217 |
+
openpyxl/pivot/table.py,sha256=riKBeb1aICXWipnhpSaSx9iqP-AkfcyOSm3Dfl407dA,40756
|
| 218 |
+
openpyxl/reader/__init__.py,sha256=c12-9kMPWlUdjwSoZPsFpmeW8KVXH0HCGpO3dlCTVqI,35
|
| 219 |
+
openpyxl/reader/__pycache__/__init__.cpython-310.pyc,,
|
| 220 |
+
openpyxl/reader/__pycache__/drawings.cpython-310.pyc,,
|
| 221 |
+
openpyxl/reader/__pycache__/excel.cpython-310.pyc,,
|
| 222 |
+
openpyxl/reader/__pycache__/strings.cpython-310.pyc,,
|
| 223 |
+
openpyxl/reader/__pycache__/workbook.cpython-310.pyc,,
|
| 224 |
+
openpyxl/reader/drawings.py,sha256=iZPok8Dc_mZMyRPk_EfDXDQvZdwfHwbYjvxfK2cXtag,2209
|
| 225 |
+
openpyxl/reader/excel.py,sha256=kgStQtO1j0vV56GWaXxo3GA2EXuouGtnFrRVMocq8EY,12357
|
| 226 |
+
openpyxl/reader/strings.py,sha256=oG2Mq6eBD0-ElFOxPdHTBUmshUxTNrK1sns1UJRaVis,1113
|
| 227 |
+
openpyxl/reader/workbook.py,sha256=4w0LRV7qNNGHDnYd19zUgWnJOEX8tHjm3vlkxwllzv4,4352
|
| 228 |
+
openpyxl/styles/__init__.py,sha256=2QNNdlz4CjhnkBQVNhZ-12Yz73_uHIinqRKWo_TjNwg,363
|
| 229 |
+
openpyxl/styles/__pycache__/__init__.cpython-310.pyc,,
|
| 230 |
+
openpyxl/styles/__pycache__/alignment.cpython-310.pyc,,
|
| 231 |
+
openpyxl/styles/__pycache__/borders.cpython-310.pyc,,
|
| 232 |
+
openpyxl/styles/__pycache__/builtins.cpython-310.pyc,,
|
| 233 |
+
openpyxl/styles/__pycache__/cell_style.cpython-310.pyc,,
|
| 234 |
+
openpyxl/styles/__pycache__/colors.cpython-310.pyc,,
|
| 235 |
+
openpyxl/styles/__pycache__/differential.cpython-310.pyc,,
|
| 236 |
+
openpyxl/styles/__pycache__/fills.cpython-310.pyc,,
|
| 237 |
+
openpyxl/styles/__pycache__/fonts.cpython-310.pyc,,
|
| 238 |
+
openpyxl/styles/__pycache__/named_styles.cpython-310.pyc,,
|
| 239 |
+
openpyxl/styles/__pycache__/numbers.cpython-310.pyc,,
|
| 240 |
+
openpyxl/styles/__pycache__/protection.cpython-310.pyc,,
|
| 241 |
+
openpyxl/styles/__pycache__/proxy.cpython-310.pyc,,
|
| 242 |
+
openpyxl/styles/__pycache__/styleable.cpython-310.pyc,,
|
| 243 |
+
openpyxl/styles/__pycache__/stylesheet.cpython-310.pyc,,
|
| 244 |
+
openpyxl/styles/__pycache__/table.cpython-310.pyc,,
|
| 245 |
+
openpyxl/styles/alignment.py,sha256=wQOEtmYhPJFtnuBq0juMe5EsCp9DNSVS1ieBhlAnwWE,2198
|
| 246 |
+
openpyxl/styles/borders.py,sha256=BLUTOyBbxWQzv8Kuh1u4sWfJiIPJc8QExb7nGwdSmXc,3302
|
| 247 |
+
openpyxl/styles/builtins.py,sha256=cMtJverVSjdIdCckP6L-AlI0OLMRPgbQwaJWUkldA0U,31182
|
| 248 |
+
openpyxl/styles/cell_style.py,sha256=8Ol5F6ktKeSqhDVF-10w5eIh7W-jkzijpPPHqqv1qDs,5414
|
| 249 |
+
openpyxl/styles/colors.py,sha256=Ss3QqNS5YISVkJxlNfd4q_YSrFKdKjATWLDSu2rPMBc,4612
|
| 250 |
+
openpyxl/styles/differential.py,sha256=dqEGny_ou1jC3tegBal1w_UbONyQEJXvGPURs8xWwfU,2267
|
| 251 |
+
openpyxl/styles/fills.py,sha256=LmR4H00GzKDWyYjzDEayzKZN28S_muD65DvAFWlbaCI,6380
|
| 252 |
+
openpyxl/styles/fonts.py,sha256=nkeiJUgKYnWaETvn51sOo9zQXJiOEJKHDTqvxt0JiBc,3516
|
| 253 |
+
openpyxl/styles/named_styles.py,sha256=nfL1KPpd6b0Y0qBrGJQ15EUOebfeO1eZBQhPVpcZW-o,7254
|
| 254 |
+
openpyxl/styles/numbers.py,sha256=6kK7mdBD-0xs7bjYDFNGsUAvoFvRu5wSMjOF9J5j-Go,5097
|
| 255 |
+
openpyxl/styles/protection.py,sha256=BUHgARq7SjOVfW_ST53hKCUofVBEWXn3Lnn_c5n4i_I,394
|
| 256 |
+
openpyxl/styles/proxy.py,sha256=ajsvzRp_MOeV_rZSEfVoti6-3tW8aowo5_Hjwp2AlfA,1432
|
| 257 |
+
openpyxl/styles/styleable.py,sha256=Yl_-oPljEuFzg9tXKSSCuvWRL4L0HC5bHMFJVhex6Oc,4499
|
| 258 |
+
openpyxl/styles/stylesheet.py,sha256=7kZpzyavLrOJcdZqZzl3WZTyM60CqWP8i_OQ0J_1xy0,8790
|
| 259 |
+
openpyxl/styles/table.py,sha256=VexRqPPQmjRzWe1rVTOgyOQgvlCBuEYTif5MEV_0qsk,2801
|
| 260 |
+
openpyxl/utils/__init__.py,sha256=wCMNXgIoA4aF4tpSuSzxm1k3SmJJGOEjtdbqdJZZG7I,324
|
| 261 |
+
openpyxl/utils/__pycache__/__init__.cpython-310.pyc,,
|
| 262 |
+
openpyxl/utils/__pycache__/bound_dictionary.cpython-310.pyc,,
|
| 263 |
+
openpyxl/utils/__pycache__/cell.cpython-310.pyc,,
|
| 264 |
+
openpyxl/utils/__pycache__/dataframe.cpython-310.pyc,,
|
| 265 |
+
openpyxl/utils/__pycache__/datetime.cpython-310.pyc,,
|
| 266 |
+
openpyxl/utils/__pycache__/escape.cpython-310.pyc,,
|
| 267 |
+
openpyxl/utils/__pycache__/exceptions.cpython-310.pyc,,
|
| 268 |
+
openpyxl/utils/__pycache__/formulas.cpython-310.pyc,,
|
| 269 |
+
openpyxl/utils/__pycache__/indexed_list.cpython-310.pyc,,
|
| 270 |
+
openpyxl/utils/__pycache__/inference.cpython-310.pyc,,
|
| 271 |
+
openpyxl/utils/__pycache__/protection.cpython-310.pyc,,
|
| 272 |
+
openpyxl/utils/__pycache__/units.cpython-310.pyc,,
|
| 273 |
+
openpyxl/utils/bound_dictionary.py,sha256=zfzflQom1FqfEw8uexBqI8eExCeAWELzSk4TqqpD-w8,717
|
| 274 |
+
openpyxl/utils/cell.py,sha256=P7og4c4JcSN__amIsubIMgSMlQ4SrAA5eZ0cjkoXlaQ,6967
|
| 275 |
+
openpyxl/utils/dataframe.py,sha256=d3SPeb4p9YKFwlFTUWhdVUYYyMLNrd9atC6iSf2QB6w,2957
|
| 276 |
+
openpyxl/utils/datetime.py,sha256=xQ8zHJFb-n4nlN6fA_fFZKHlHeNOB7El48p9-YOPvGE,4529
|
| 277 |
+
openpyxl/utils/escape.py,sha256=4dgcSlSdPNk0vkJNHRUK9poEe8pn4sBIQ5Rjz-7H1Uk,790
|
| 278 |
+
openpyxl/utils/exceptions.py,sha256=WT40gTyd9YUhg1MeqZNzHp9qJnL5eXzbCEb_VtHp3Kk,889
|
| 279 |
+
openpyxl/utils/formulas.py,sha256=-I0zyvicBZMaAH1XzsmmEEzE4GB-NA605aArWVt9ik4,4248
|
| 280 |
+
openpyxl/utils/indexed_list.py,sha256=hBsQP9gunTit7iKdMGw_tM3y5uIpXDjUx7jswbQF6Dc,1257
|
| 281 |
+
openpyxl/utils/inference.py,sha256=dM1FBW_Rx_xE7P8vGo6WNhbBe-2eqpGuJj4eqdS7UjE,1583
|
| 282 |
+
openpyxl/utils/protection.py,sha256=opm7GVM2ePQvpNzKT-W56u-0yP8liS9WJkxpzpG_tE0,830
|
| 283 |
+
openpyxl/utils/units.py,sha256=eGpGrdzyoKlqLs99eALNC5c1gSLXRo4GdUNAqdB4wzg,2642
|
| 284 |
+
openpyxl/workbook/__init__.py,sha256=yKMikN8VqoVZJcoZSVW3p9Smt88ibeqNq9NHhGBJqEM,68
|
| 285 |
+
openpyxl/workbook/__pycache__/__init__.cpython-310.pyc,,
|
| 286 |
+
openpyxl/workbook/__pycache__/_writer.cpython-310.pyc,,
|
| 287 |
+
openpyxl/workbook/__pycache__/child.cpython-310.pyc,,
|
| 288 |
+
openpyxl/workbook/__pycache__/defined_name.cpython-310.pyc,,
|
| 289 |
+
openpyxl/workbook/__pycache__/external_reference.cpython-310.pyc,,
|
| 290 |
+
openpyxl/workbook/__pycache__/function_group.cpython-310.pyc,,
|
| 291 |
+
openpyxl/workbook/__pycache__/properties.cpython-310.pyc,,
|
| 292 |
+
openpyxl/workbook/__pycache__/protection.cpython-310.pyc,,
|
| 293 |
+
openpyxl/workbook/__pycache__/smart_tags.cpython-310.pyc,,
|
| 294 |
+
openpyxl/workbook/__pycache__/views.cpython-310.pyc,,
|
| 295 |
+
openpyxl/workbook/__pycache__/web.cpython-310.pyc,,
|
| 296 |
+
openpyxl/workbook/__pycache__/workbook.cpython-310.pyc,,
|
| 297 |
+
openpyxl/workbook/_writer.py,sha256=pB4s05erNEBJFT_w5LT-2DlxqXkZLOutXWVgewRLVds,6506
|
| 298 |
+
openpyxl/workbook/child.py,sha256=r_5V9DNkGSYZhzi62P10ZnsO5iT518YopcTdmSvtAUc,4052
|
| 299 |
+
openpyxl/workbook/defined_name.py,sha256=EAF1WvGYU4WG7dusDi29yBAr15BhkYtkF_GrFym1DDY,5394
|
| 300 |
+
openpyxl/workbook/external_link/__init__.py,sha256=YOkLI226nyopB6moShzGIfBRckdQgPiFXjVZwXW-DpE,71
|
| 301 |
+
openpyxl/workbook/external_link/__pycache__/__init__.cpython-310.pyc,,
|
| 302 |
+
openpyxl/workbook/external_link/__pycache__/external.cpython-310.pyc,,
|
| 303 |
+
openpyxl/workbook/external_link/external.py,sha256=LXXuej0-d0iRnwlJ-13S81kbuDxvhAWo3qfnxpsClvM,4509
|
| 304 |
+
openpyxl/workbook/external_reference.py,sha256=9bKX9_QgNJxv7fEUd0G-ocXyZajMAsDzG11d0miguxY,348
|
| 305 |
+
openpyxl/workbook/function_group.py,sha256=x5QfUpFdsjtbFbAJzZof7SrZ376nufNY92mpCcaSPiQ,803
|
| 306 |
+
openpyxl/workbook/properties.py,sha256=vMUriu67iQU11xIos37ayv73gjq1kdHgI27ncJ3Vk24,5261
|
| 307 |
+
openpyxl/workbook/protection.py,sha256=LhiyuoOchdrun9xMwq_pxGzbkysziThfKivk0dHHOLw,6008
|
| 308 |
+
openpyxl/workbook/smart_tags.py,sha256=xHHXCrUPnHeRoM_eakrCOz-eCpct3Y7xKHShr9wGv7s,1181
|
| 309 |
+
openpyxl/workbook/views.py,sha256=uwQqZCrRavAoBDLZIBtgz7riOEhEaHplybV4cX_TMgY,5214
|
| 310 |
+
openpyxl/workbook/web.py,sha256=87B5mEZ6vfHTwywcGtcYL6u7D3RyJVDCJxV0nHZeS-w,2642
|
| 311 |
+
openpyxl/workbook/workbook.py,sha256=oaErvSH1qUphUAPOZTCHj2UHyKeDqsj2DycKCDcgo7M,13232
|
| 312 |
+
openpyxl/worksheet/__init__.py,sha256=c12-9kMPWlUdjwSoZPsFpmeW8KVXH0HCGpO3dlCTVqI,35
|
| 313 |
+
openpyxl/worksheet/__pycache__/__init__.cpython-310.pyc,,
|
| 314 |
+
openpyxl/worksheet/__pycache__/_read_only.cpython-310.pyc,,
|
| 315 |
+
openpyxl/worksheet/__pycache__/_reader.cpython-310.pyc,,
|
| 316 |
+
openpyxl/worksheet/__pycache__/_write_only.cpython-310.pyc,,
|
| 317 |
+
openpyxl/worksheet/__pycache__/_writer.cpython-310.pyc,,
|
| 318 |
+
openpyxl/worksheet/__pycache__/cell_range.cpython-310.pyc,,
|
| 319 |
+
openpyxl/worksheet/__pycache__/cell_watch.cpython-310.pyc,,
|
| 320 |
+
openpyxl/worksheet/__pycache__/controls.cpython-310.pyc,,
|
| 321 |
+
openpyxl/worksheet/__pycache__/copier.cpython-310.pyc,,
|
| 322 |
+
openpyxl/worksheet/__pycache__/custom.cpython-310.pyc,,
|
| 323 |
+
openpyxl/worksheet/__pycache__/datavalidation.cpython-310.pyc,,
|
| 324 |
+
openpyxl/worksheet/__pycache__/dimensions.cpython-310.pyc,,
|
| 325 |
+
openpyxl/worksheet/__pycache__/drawing.cpython-310.pyc,,
|
| 326 |
+
openpyxl/worksheet/__pycache__/errors.cpython-310.pyc,,
|
| 327 |
+
openpyxl/worksheet/__pycache__/filters.cpython-310.pyc,,
|
| 328 |
+
openpyxl/worksheet/__pycache__/formula.cpython-310.pyc,,
|
| 329 |
+
openpyxl/worksheet/__pycache__/header_footer.cpython-310.pyc,,
|
| 330 |
+
openpyxl/worksheet/__pycache__/hyperlink.cpython-310.pyc,,
|
| 331 |
+
openpyxl/worksheet/__pycache__/merge.cpython-310.pyc,,
|
| 332 |
+
openpyxl/worksheet/__pycache__/ole.cpython-310.pyc,,
|
| 333 |
+
openpyxl/worksheet/__pycache__/page.cpython-310.pyc,,
|
| 334 |
+
openpyxl/worksheet/__pycache__/pagebreak.cpython-310.pyc,,
|
| 335 |
+
openpyxl/worksheet/__pycache__/picture.cpython-310.pyc,,
|
| 336 |
+
openpyxl/worksheet/__pycache__/print_settings.cpython-310.pyc,,
|
| 337 |
+
openpyxl/worksheet/__pycache__/properties.cpython-310.pyc,,
|
| 338 |
+
openpyxl/worksheet/__pycache__/protection.cpython-310.pyc,,
|
| 339 |
+
openpyxl/worksheet/__pycache__/related.cpython-310.pyc,,
|
| 340 |
+
openpyxl/worksheet/__pycache__/scenario.cpython-310.pyc,,
|
| 341 |
+
openpyxl/worksheet/__pycache__/smart_tag.cpython-310.pyc,,
|
| 342 |
+
openpyxl/worksheet/__pycache__/table.cpython-310.pyc,,
|
| 343 |
+
openpyxl/worksheet/__pycache__/views.cpython-310.pyc,,
|
| 344 |
+
openpyxl/worksheet/__pycache__/worksheet.cpython-310.pyc,,
|
| 345 |
+
openpyxl/worksheet/_read_only.py,sha256=6Kd4Q-73UoJDY66skRJy_ks-wCHNttlGhsDxvB99PuY,5709
|
| 346 |
+
openpyxl/worksheet/_reader.py,sha256=vp_D7w4DiADMdyNrYpQglrCVvVLT9_DsSZikOd--n2c,16375
|
| 347 |
+
openpyxl/worksheet/_write_only.py,sha256=yqW-DtBDDYTwGCBHRVIwkheSB7SSLO3xlw-RsXtPorE,4232
|
| 348 |
+
openpyxl/worksheet/_writer.py,sha256=bDtw6BV5tdztARQEkQPprExRr8hZVFkj0DyolqxVu2k,10283
|
| 349 |
+
openpyxl/worksheet/cell_range.py,sha256=YP8AUnqUFP5wOV_avMDFRSZ0Qi2p78RWFuwyyCua7m8,15013
|
| 350 |
+
openpyxl/worksheet/cell_watch.py,sha256=LdxGcTmXbZ4sxm6inasFgZPld1ijdL5_ODSUvvz13DU,608
|
| 351 |
+
openpyxl/worksheet/controls.py,sha256=FPLg4N94T-IL27NLg8Le_U4WYDT_6Aa25LDG_kiEDVA,2735
|
| 352 |
+
openpyxl/worksheet/copier.py,sha256=0Di1qSks0g7Jtgmpc_M20O-KPCW81Yr2myC5j458nyU,2319
|
| 353 |
+
openpyxl/worksheet/custom.py,sha256=CRlQ98GwqqKmEDkv8gPUCa0ApNM2Vz-BLs_-RMu3jLA,639
|
| 354 |
+
openpyxl/worksheet/datavalidation.py,sha256=m-O7NOoTDr_bAfxB9xEeY5QttFiuPtzs-IFAlF0j4FE,6131
|
| 355 |
+
openpyxl/worksheet/dimensions.py,sha256=HzM77FrYixiQDCugRT-C9ZpKq7GNFaGchxT73U4cisY,9102
|
| 356 |
+
openpyxl/worksheet/drawing.py,sha256=2nfrLyTX0kAizPIINF12KwDW9mRnaq8hs-NrSBcWpmE,275
|
| 357 |
+
openpyxl/worksheet/errors.py,sha256=KkFC4bnckvCp74XsVXA7JUCi4MIimEFu3uAddcQpjo0,2435
|
| 358 |
+
openpyxl/worksheet/filters.py,sha256=8eUj2LuP8Qbz1R1gkK1c6W_UKS8-__6XlFMVkunIua0,13854
|
| 359 |
+
openpyxl/worksheet/formula.py,sha256=5yuul6s1l-K_78KXHC6HrF_pLhxypoldh5jMg7zmlyY,1045
|
| 360 |
+
openpyxl/worksheet/header_footer.py,sha256=91F6NUDUEwrhgeWrxG9XtDPyPD03XAtGU_ONBpkAfUc,7886
|
| 361 |
+
openpyxl/worksheet/hyperlink.py,sha256=sXzPkkjl9BWNzCxwwEEaSS53J37jIXPmnnED-j8MIBo,1103
|
| 362 |
+
openpyxl/worksheet/merge.py,sha256=gNOIH6EJ8wVcJpibAv4CMc7UpD7_DrGvgaCSvG2im5A,4125
|
| 363 |
+
openpyxl/worksheet/ole.py,sha256=khVvqMt4GPc9Yr6whLDfkUo51euyLXfJe1p4zFee4no,3530
|
| 364 |
+
openpyxl/worksheet/page.py,sha256=4jeSRcDE0S2RPzIAmA3Bh-uXRyq0hnbO5h5pJdGHbbQ,4901
|
| 365 |
+
openpyxl/worksheet/pagebreak.py,sha256=XXFIMOY4VdPQCd86nGPghA6hOfLGK5G_KFuvjBNPRsw,1811
|
| 366 |
+
openpyxl/worksheet/picture.py,sha256=72TctCxzk2JU8uFfjiEbTBufEe5eQxIieSPBRhU6m1Q,185
|
| 367 |
+
openpyxl/worksheet/print_settings.py,sha256=k_g4fkrs9bfz-S-RIKIBGqzVgubufMdryWQ3ejXQoRI,5215
|
| 368 |
+
openpyxl/worksheet/properties.py,sha256=9iXTOVC8B9C-2pp_iU5l0r5Fjf3Uzv0SIOUKRrZ2hw4,3087
|
| 369 |
+
openpyxl/worksheet/protection.py,sha256=vj5M6WWC5xKiHeWS_tJqXxrlOJHJ7GpW2JdPw7r9jjE,3758
|
| 370 |
+
openpyxl/worksheet/related.py,sha256=ZLDpgcrW6DWl8vvh2sSVB_r1JyG8bC8EicCBKjfssTs,335
|
| 371 |
+
openpyxl/worksheet/scenario.py,sha256=VlJW4pi1OTy1cJ9m7ZxazIy8PSlo17BGpnUYixmNotQ,2401
|
| 372 |
+
openpyxl/worksheet/smart_tag.py,sha256=nLbt04IqeJllk7TmNS1eTNdb7On5jMf3llfyy3otDSk,1608
|
| 373 |
+
openpyxl/worksheet/table.py,sha256=gjt-jNP8dhVy8w5g-gMJpfHO-eV1EoxJy91yi-5HG64,11671
|
| 374 |
+
openpyxl/worksheet/views.py,sha256=DkZcptwpbpklHILSlvK-a2LmJ7BWb1wbDcz2JVl7404,4974
|
| 375 |
+
openpyxl/worksheet/worksheet.py,sha256=4JM5qjoJumtcqftHFkimtFEQrz7E2DBmXnkVo7R3WX8,27572
|
| 376 |
+
openpyxl/writer/__init__.py,sha256=c12-9kMPWlUdjwSoZPsFpmeW8KVXH0HCGpO3dlCTVqI,35
|
| 377 |
+
openpyxl/writer/__pycache__/__init__.cpython-310.pyc,,
|
| 378 |
+
openpyxl/writer/__pycache__/excel.cpython-310.pyc,,
|
| 379 |
+
openpyxl/writer/__pycache__/theme.cpython-310.pyc,,
|
| 380 |
+
openpyxl/writer/excel.py,sha256=6ioXn3hSHHIUnkW2wCyBgPA4CncO6FXL5yGSAzsqp6Y,9572
|
| 381 |
+
openpyxl/writer/theme.py,sha256=5Hhq-0uP55sf_Zhw7i3M9azCfCjALQxoo7CV_9QPmTA,10320
|
| 382 |
+
openpyxl/xml/__init__.py,sha256=A5Kj0GWk5XI-zJxbAL5vIppV_AgEHLRveGu8RK5c7U0,1016
|
| 383 |
+
openpyxl/xml/__pycache__/__init__.cpython-310.pyc,,
|
| 384 |
+
openpyxl/xml/__pycache__/constants.cpython-310.pyc,,
|
| 385 |
+
openpyxl/xml/__pycache__/functions.cpython-310.pyc,,
|
| 386 |
+
openpyxl/xml/constants.py,sha256=HDNnhcj-WO9ayO4Mqwca3Au0ZTNfsDqWDtleREs_Wto,4833
|
| 387 |
+
openpyxl/xml/functions.py,sha256=jBtfa8__w4gBlEPGHLGCAtJiaNKPyihTLsfmigyq2_Q,2025
|
evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/REQUESTED
ADDED
|
File without changes
|
evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: bdist_wheel (0.43.0)
|
| 3 |
+
Root-Is-Purelib: true
|
| 4 |
+
Tag: py2-none-any
|
| 5 |
+
Tag: py3-none-any
|
| 6 |
+
|
evalkit_tf446/lib/python3.10/site-packages/openpyxl-3.1.5.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
openpyxl
|
evalkit_tf446/lib/python3.10/site-packages/pip-25.0.1.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
evalkit_tf446/lib/python3.10/site-packages/proto/__init__.py
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2018 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# https://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
from .enums import Enum
|
| 16 |
+
from .fields import Field
|
| 17 |
+
from .fields import MapField
|
| 18 |
+
from .fields import RepeatedField
|
| 19 |
+
from .marshal import Marshal
|
| 20 |
+
from .message import Message
|
| 21 |
+
from .modules import define_module as module
|
| 22 |
+
from .primitives import ProtoType
|
| 23 |
+
from .version import __version__
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
DOUBLE = ProtoType.DOUBLE
|
| 27 |
+
FLOAT = ProtoType.FLOAT
|
| 28 |
+
INT64 = ProtoType.INT64
|
| 29 |
+
UINT64 = ProtoType.UINT64
|
| 30 |
+
INT32 = ProtoType.INT32
|
| 31 |
+
FIXED64 = ProtoType.FIXED64
|
| 32 |
+
FIXED32 = ProtoType.FIXED32
|
| 33 |
+
BOOL = ProtoType.BOOL
|
| 34 |
+
STRING = ProtoType.STRING
|
| 35 |
+
MESSAGE = ProtoType.MESSAGE
|
| 36 |
+
BYTES = ProtoType.BYTES
|
| 37 |
+
UINT32 = ProtoType.UINT32
|
| 38 |
+
ENUM = ProtoType.ENUM
|
| 39 |
+
SFIXED32 = ProtoType.SFIXED32
|
| 40 |
+
SFIXED64 = ProtoType.SFIXED64
|
| 41 |
+
SINT32 = ProtoType.SINT32
|
| 42 |
+
SINT64 = ProtoType.SINT64
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
__all__ = (
|
| 46 |
+
"__version__",
|
| 47 |
+
"Enum",
|
| 48 |
+
"Field",
|
| 49 |
+
"MapField",
|
| 50 |
+
"RepeatedField",
|
| 51 |
+
"Marshal",
|
| 52 |
+
"Message",
|
| 53 |
+
"module",
|
| 54 |
+
# Expose the types directly.
|
| 55 |
+
"DOUBLE",
|
| 56 |
+
"FLOAT",
|
| 57 |
+
"INT64",
|
| 58 |
+
"UINT64",
|
| 59 |
+
"INT32",
|
| 60 |
+
"FIXED64",
|
| 61 |
+
"FIXED32",
|
| 62 |
+
"BOOL",
|
| 63 |
+
"STRING",
|
| 64 |
+
"MESSAGE",
|
| 65 |
+
"BYTES",
|
| 66 |
+
"UINT32",
|
| 67 |
+
"ENUM",
|
| 68 |
+
"SFIXED32",
|
| 69 |
+
"SFIXED64",
|
| 70 |
+
"SINT32",
|
| 71 |
+
"SINT64",
|
| 72 |
+
)
|
evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (932 Bytes). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/_file_info.cpython-310.pyc
ADDED
|
Binary file (5 kB). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/_package_info.cpython-310.pyc
ADDED
|
Binary file (1.01 kB). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/datetime_helpers.cpython-310.pyc
ADDED
|
Binary file (6.1 kB). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/enums.cpython-310.pyc
ADDED
|
Binary file (3.88 kB). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/fields.cpython-310.pyc
ADDED
|
Binary file (3.26 kB). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/message.cpython-310.pyc
ADDED
|
Binary file (26 kB). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/modules.cpython-310.pyc
ADDED
|
Binary file (1.14 kB). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/primitives.cpython-310.pyc
ADDED
|
Binary file (733 Bytes). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/utils.cpython-310.pyc
ADDED
|
Binary file (1.07 kB). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/__pycache__/version.cpython-310.pyc
ADDED
|
Binary file (185 Bytes). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/_file_info.py
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2018 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# https://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
import collections
|
| 16 |
+
import inspect
|
| 17 |
+
import logging
|
| 18 |
+
|
| 19 |
+
from google.protobuf import descriptor_pb2
|
| 20 |
+
from google.protobuf import descriptor_pool
|
| 21 |
+
from google.protobuf import message
|
| 22 |
+
from google.protobuf import reflection
|
| 23 |
+
|
| 24 |
+
from proto.marshal.rules.message import MessageRule
|
| 25 |
+
|
| 26 |
+
log = logging.getLogger("_FileInfo")
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
class _FileInfo(
|
| 30 |
+
collections.namedtuple(
|
| 31 |
+
"_FileInfo",
|
| 32 |
+
["descriptor", "messages", "enums", "name", "nested", "nested_enum"],
|
| 33 |
+
)
|
| 34 |
+
):
|
| 35 |
+
registry = {} # Mapping[str, '_FileInfo']
|
| 36 |
+
|
| 37 |
+
@classmethod
|
| 38 |
+
def maybe_add_descriptor(cls, filename, package):
|
| 39 |
+
descriptor = cls.registry.get(filename)
|
| 40 |
+
if not descriptor:
|
| 41 |
+
descriptor = cls.registry[filename] = cls(
|
| 42 |
+
descriptor=descriptor_pb2.FileDescriptorProto(
|
| 43 |
+
name=filename,
|
| 44 |
+
package=package,
|
| 45 |
+
syntax="proto3",
|
| 46 |
+
),
|
| 47 |
+
enums=collections.OrderedDict(),
|
| 48 |
+
messages=collections.OrderedDict(),
|
| 49 |
+
name=filename,
|
| 50 |
+
nested={},
|
| 51 |
+
nested_enum={},
|
| 52 |
+
)
|
| 53 |
+
|
| 54 |
+
return descriptor
|
| 55 |
+
|
| 56 |
+
@staticmethod
|
| 57 |
+
def proto_file_name(name):
|
| 58 |
+
return "{0}.proto".format(name.replace(".", "/"))
|
| 59 |
+
|
| 60 |
+
def _get_manifest(self, new_class):
|
| 61 |
+
module = inspect.getmodule(new_class)
|
| 62 |
+
if hasattr(module, "__protobuf__"):
|
| 63 |
+
return frozenset(module.__protobuf__.manifest)
|
| 64 |
+
|
| 65 |
+
return frozenset()
|
| 66 |
+
|
| 67 |
+
def _get_remaining_manifest(self, new_class):
|
| 68 |
+
return self._get_manifest(new_class) - {new_class.__name__}
|
| 69 |
+
|
| 70 |
+
def _calculate_salt(self, new_class, fallback):
|
| 71 |
+
manifest = self._get_manifest(new_class)
|
| 72 |
+
if manifest and new_class.__name__ not in manifest:
|
| 73 |
+
log.warning(
|
| 74 |
+
"proto-plus module {module} has a declared manifest but {class_name} is not in it".format(
|
| 75 |
+
module=inspect.getmodule(new_class).__name__,
|
| 76 |
+
class_name=new_class.__name__,
|
| 77 |
+
)
|
| 78 |
+
)
|
| 79 |
+
|
| 80 |
+
return "" if new_class.__name__ in manifest else (fallback or "").lower()
|
| 81 |
+
|
| 82 |
+
def generate_file_pb(self, new_class, fallback_salt=""):
|
| 83 |
+
"""Generate the descriptors for all protos in the file.
|
| 84 |
+
|
| 85 |
+
This method takes the file descriptor attached to the parent
|
| 86 |
+
message and generates the immutable descriptors for all of the
|
| 87 |
+
messages in the file descriptor. (This must be done in one fell
|
| 88 |
+
swoop for immutability and to resolve proto cross-referencing.)
|
| 89 |
+
|
| 90 |
+
This is run automatically when the last proto in the file is
|
| 91 |
+
generated, as determined by the module's __all__ tuple.
|
| 92 |
+
"""
|
| 93 |
+
pool = descriptor_pool.Default()
|
| 94 |
+
|
| 95 |
+
# Salt the filename in the descriptor.
|
| 96 |
+
# This allows re-use of the filename by other proto messages if
|
| 97 |
+
# needed (e.g. if __all__ is not used).
|
| 98 |
+
salt = self._calculate_salt(new_class, fallback_salt)
|
| 99 |
+
self.descriptor.name = "{name}.proto".format(
|
| 100 |
+
name="_".join([self.descriptor.name[:-6], salt]).rstrip("_"),
|
| 101 |
+
)
|
| 102 |
+
|
| 103 |
+
# Add the file descriptor.
|
| 104 |
+
pool.Add(self.descriptor)
|
| 105 |
+
|
| 106 |
+
# Adding the file descriptor to the pool created a descriptor for
|
| 107 |
+
# each message; go back through our wrapper messages and associate
|
| 108 |
+
# them with the internal protobuf version.
|
| 109 |
+
for full_name, proto_plus_message in self.messages.items():
|
| 110 |
+
# Get the descriptor from the pool, and create the protobuf
|
| 111 |
+
# message based on it.
|
| 112 |
+
descriptor = pool.FindMessageTypeByName(full_name)
|
| 113 |
+
pb_message = reflection.GeneratedProtocolMessageType(
|
| 114 |
+
descriptor.name,
|
| 115 |
+
(message.Message,),
|
| 116 |
+
{"DESCRIPTOR": descriptor, "__module__": None},
|
| 117 |
+
)
|
| 118 |
+
|
| 119 |
+
# Register the message with the marshal so it is wrapped
|
| 120 |
+
# appropriately.
|
| 121 |
+
#
|
| 122 |
+
# We do this here (rather than at class creation) because it
|
| 123 |
+
# is not until this point that we have an actual protobuf
|
| 124 |
+
# message subclass, which is what we need to use.
|
| 125 |
+
proto_plus_message._meta._pb = pb_message
|
| 126 |
+
proto_plus_message._meta.marshal.register(
|
| 127 |
+
pb_message, MessageRule(pb_message, proto_plus_message)
|
| 128 |
+
)
|
| 129 |
+
|
| 130 |
+
# Iterate over any fields on the message and, if their type
|
| 131 |
+
# is a message still referenced as a string, resolve the reference.
|
| 132 |
+
for field in proto_plus_message._meta.fields.values():
|
| 133 |
+
if field.message and isinstance(field.message, str):
|
| 134 |
+
field.message = self.messages[field.message]
|
| 135 |
+
elif field.enum and isinstance(field.enum, str):
|
| 136 |
+
field.enum = self.enums[field.enum]
|
| 137 |
+
|
| 138 |
+
# Same thing for enums
|
| 139 |
+
for full_name, proto_plus_enum in self.enums.items():
|
| 140 |
+
descriptor = pool.FindEnumTypeByName(full_name)
|
| 141 |
+
proto_plus_enum._meta.pb = descriptor
|
| 142 |
+
|
| 143 |
+
# We no longer need to track this file's info; remove it from
|
| 144 |
+
# the module's registry and from this object.
|
| 145 |
+
self.registry.pop(self.name)
|
| 146 |
+
|
| 147 |
+
def ready(self, new_class):
|
| 148 |
+
"""Return True if a file descriptor may added, False otherwise.
|
| 149 |
+
|
| 150 |
+
This determine if all the messages that we plan to create have been
|
| 151 |
+
created, as best as we are able.
|
| 152 |
+
|
| 153 |
+
Since messages depend on one another, we create descriptor protos
|
| 154 |
+
(which reference each other using strings) and wait until we have
|
| 155 |
+
built everything that is going to be in the module, and then
|
| 156 |
+
use the descriptor protos to instantiate the actual descriptors in
|
| 157 |
+
one fell swoop.
|
| 158 |
+
|
| 159 |
+
Args:
|
| 160 |
+
new_class (~.MessageMeta): The new class currently undergoing
|
| 161 |
+
creation.
|
| 162 |
+
"""
|
| 163 |
+
# If there are any nested descriptors that have not been assigned to
|
| 164 |
+
# the descriptors that should contain them, then we are not ready.
|
| 165 |
+
if len(self.nested) or len(self.nested_enum):
|
| 166 |
+
return False
|
| 167 |
+
|
| 168 |
+
# If there are any unresolved fields (fields with a composite message
|
| 169 |
+
# declared as a string), ensure that the corresponding message is
|
| 170 |
+
# declared.
|
| 171 |
+
for field in self.unresolved_fields:
|
| 172 |
+
if (field.message and field.message not in self.messages) or (
|
| 173 |
+
field.enum and field.enum not in self.enums
|
| 174 |
+
):
|
| 175 |
+
return False
|
| 176 |
+
|
| 177 |
+
# If the module in which this class is defined provides a
|
| 178 |
+
# __protobuf__ property, it may have a manifest.
|
| 179 |
+
#
|
| 180 |
+
# Do not generate the file descriptor until every member of the
|
| 181 |
+
# manifest has been populated.
|
| 182 |
+
module = inspect.getmodule(new_class)
|
| 183 |
+
manifest = self._get_remaining_manifest(new_class)
|
| 184 |
+
|
| 185 |
+
# We are ready if all members have been populated.
|
| 186 |
+
return all(hasattr(module, i) for i in manifest)
|
| 187 |
+
|
| 188 |
+
@property
|
| 189 |
+
def unresolved_fields(self):
|
| 190 |
+
"""Return fields with referencing message types as strings."""
|
| 191 |
+
for proto_plus_message in self.messages.values():
|
| 192 |
+
for field in proto_plus_message._meta.fields.values():
|
| 193 |
+
if (field.message and isinstance(field.message, str)) or (
|
| 194 |
+
field.enum and isinstance(field.enum, str)
|
| 195 |
+
):
|
| 196 |
+
yield field
|
evalkit_tf446/lib/python3.10/site-packages/proto/_package_info.py
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2018 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# https://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
import sys
|
| 16 |
+
|
| 17 |
+
from proto.marshal import Marshal
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
def compile(name, attrs):
|
| 21 |
+
"""Return the package and marshal to use.
|
| 22 |
+
|
| 23 |
+
Args:
|
| 24 |
+
name (str): The name of the new class, as sent to ``type.__new__``.
|
| 25 |
+
attrs (Mapping[str, Any]): The attrs for a new class, as sent
|
| 26 |
+
to ``type.__new__``
|
| 27 |
+
|
| 28 |
+
Returns:
|
| 29 |
+
Tuple[str, ~.Marshal]:
|
| 30 |
+
- The proto package, if any (empty string otherwise).
|
| 31 |
+
- The marshal object to use.
|
| 32 |
+
"""
|
| 33 |
+
# Pull a reference to the module where this class is being
|
| 34 |
+
# declared.
|
| 35 |
+
module = sys.modules.get(attrs.get("__module__"))
|
| 36 |
+
module_name = module.__name__ if hasattr(module, __name__) else ""
|
| 37 |
+
proto_module = getattr(module, "__protobuf__", object())
|
| 38 |
+
|
| 39 |
+
# A package should be present; get the marshal from there.
|
| 40 |
+
# TODO: Revert to empty string as a package value after protobuf fix.
|
| 41 |
+
# When package is empty, upb based protobuf fails with an
|
| 42 |
+
# "TypeError: Couldn't build proto file into descriptor pool: invalid name: empty part ()' means"
|
| 43 |
+
# during an attempt to add to descriptor pool.
|
| 44 |
+
package = getattr(
|
| 45 |
+
proto_module, "package", module_name if module_name else "_default_package"
|
| 46 |
+
)
|
| 47 |
+
marshal = Marshal(name=getattr(proto_module, "marshal", package))
|
| 48 |
+
|
| 49 |
+
# Done; return the data.
|
| 50 |
+
return (package, marshal)
|
evalkit_tf446/lib/python3.10/site-packages/proto/datetime_helpers.py
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2017 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
"""Helpers for :mod:`datetime`."""
|
| 16 |
+
|
| 17 |
+
import calendar
|
| 18 |
+
import datetime
|
| 19 |
+
import re
|
| 20 |
+
|
| 21 |
+
from google.protobuf import timestamp_pb2
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
_UTC_EPOCH = datetime.datetime.fromtimestamp(0, datetime.timezone.utc)
|
| 25 |
+
|
| 26 |
+
_RFC3339_MICROS = "%Y-%m-%dT%H:%M:%S.%fZ"
|
| 27 |
+
_RFC3339_NO_FRACTION = "%Y-%m-%dT%H:%M:%S"
|
| 28 |
+
# datetime.strptime cannot handle nanosecond precision: parse w/ regex
|
| 29 |
+
_RFC3339_NANOS = re.compile(
|
| 30 |
+
r"""
|
| 31 |
+
(?P<no_fraction>
|
| 32 |
+
\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2} # YYYY-MM-DDTHH:MM:SS
|
| 33 |
+
)
|
| 34 |
+
( # Optional decimal part
|
| 35 |
+
\. # decimal point
|
| 36 |
+
(?P<nanos>\d{1,9}) # nanoseconds, maybe truncated
|
| 37 |
+
)?
|
| 38 |
+
Z # Zulu
|
| 39 |
+
""",
|
| 40 |
+
re.VERBOSE,
|
| 41 |
+
)
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
def _from_microseconds(value):
|
| 45 |
+
"""Convert timestamp in microseconds since the unix epoch to datetime.
|
| 46 |
+
|
| 47 |
+
Args:
|
| 48 |
+
value (float): The timestamp to convert, in microseconds.
|
| 49 |
+
|
| 50 |
+
Returns:
|
| 51 |
+
datetime.datetime: The datetime object equivalent to the timestamp in
|
| 52 |
+
UTC.
|
| 53 |
+
"""
|
| 54 |
+
return _UTC_EPOCH + datetime.timedelta(microseconds=value)
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
def _to_rfc3339(value, ignore_zone=True):
|
| 58 |
+
"""Convert a datetime to an RFC3339 timestamp string.
|
| 59 |
+
|
| 60 |
+
Args:
|
| 61 |
+
value (datetime.datetime):
|
| 62 |
+
The datetime object to be converted to a string.
|
| 63 |
+
ignore_zone (bool): If True, then the timezone (if any) of the
|
| 64 |
+
datetime object is ignored and the datetime is treated as UTC.
|
| 65 |
+
|
| 66 |
+
Returns:
|
| 67 |
+
str: The RFC3339 formatted string representing the datetime.
|
| 68 |
+
"""
|
| 69 |
+
if not ignore_zone and value.tzinfo is not None:
|
| 70 |
+
# Convert to UTC and remove the time zone info.
|
| 71 |
+
value = value.replace(tzinfo=None) - value.utcoffset()
|
| 72 |
+
|
| 73 |
+
return value.strftime(_RFC3339_MICROS)
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
class DatetimeWithNanoseconds(datetime.datetime):
|
| 77 |
+
"""Track nanosecond in addition to normal datetime attrs.
|
| 78 |
+
|
| 79 |
+
Nanosecond can be passed only as a keyword argument.
|
| 80 |
+
"""
|
| 81 |
+
|
| 82 |
+
__slots__ = ("_nanosecond",)
|
| 83 |
+
|
| 84 |
+
# pylint: disable=arguments-differ
|
| 85 |
+
def __new__(cls, *args, **kw):
|
| 86 |
+
nanos = kw.pop("nanosecond", 0)
|
| 87 |
+
if nanos > 0:
|
| 88 |
+
if "microsecond" in kw:
|
| 89 |
+
raise TypeError("Specify only one of 'microsecond' or 'nanosecond'")
|
| 90 |
+
kw["microsecond"] = nanos // 1000
|
| 91 |
+
inst = datetime.datetime.__new__(cls, *args, **kw)
|
| 92 |
+
inst._nanosecond = nanos or 0
|
| 93 |
+
return inst
|
| 94 |
+
|
| 95 |
+
# pylint: disable=arguments-differ
|
| 96 |
+
def replace(self, *args, **kw):
|
| 97 |
+
"""Return a date with the same value, except for those parameters given
|
| 98 |
+
new values by whichever keyword arguments are specified. For example,
|
| 99 |
+
if d == date(2002, 12, 31), then
|
| 100 |
+
d.replace(day=26) == date(2002, 12, 26).
|
| 101 |
+
NOTE: nanosecond and microsecond are mutually exclusive arguments.
|
| 102 |
+
"""
|
| 103 |
+
|
| 104 |
+
ms_provided = "microsecond" in kw
|
| 105 |
+
ns_provided = "nanosecond" in kw
|
| 106 |
+
provided_ns = kw.pop("nanosecond", 0)
|
| 107 |
+
|
| 108 |
+
prev_nanos = self.nanosecond
|
| 109 |
+
|
| 110 |
+
if ms_provided and ns_provided:
|
| 111 |
+
raise TypeError("Specify only one of 'microsecond' or 'nanosecond'")
|
| 112 |
+
|
| 113 |
+
if ns_provided:
|
| 114 |
+
# if nanos were provided, manipulate microsecond kw arg to super
|
| 115 |
+
kw["microsecond"] = provided_ns // 1000
|
| 116 |
+
inst = super().replace(*args, **kw)
|
| 117 |
+
|
| 118 |
+
if ms_provided:
|
| 119 |
+
# ms were provided, nanos are invalid, build from ms
|
| 120 |
+
inst._nanosecond = inst.microsecond * 1000
|
| 121 |
+
elif ns_provided:
|
| 122 |
+
# ns were provided, replace nanoseconds to match after calling super
|
| 123 |
+
inst._nanosecond = provided_ns
|
| 124 |
+
else:
|
| 125 |
+
# if neither ms or ns were provided, passthru previous nanos.
|
| 126 |
+
inst._nanosecond = prev_nanos
|
| 127 |
+
|
| 128 |
+
return inst
|
| 129 |
+
|
| 130 |
+
@property
|
| 131 |
+
def nanosecond(self):
|
| 132 |
+
"""Read-only: nanosecond precision."""
|
| 133 |
+
return self._nanosecond or self.microsecond * 1000
|
| 134 |
+
|
| 135 |
+
def rfc3339(self):
|
| 136 |
+
"""Return an RFC3339-compliant timestamp.
|
| 137 |
+
|
| 138 |
+
Returns:
|
| 139 |
+
(str): Timestamp string according to RFC3339 spec.
|
| 140 |
+
"""
|
| 141 |
+
if self._nanosecond == 0:
|
| 142 |
+
return _to_rfc3339(self)
|
| 143 |
+
nanos = str(self._nanosecond).rjust(9, "0").rstrip("0")
|
| 144 |
+
return "{}.{}Z".format(self.strftime(_RFC3339_NO_FRACTION), nanos)
|
| 145 |
+
|
| 146 |
+
@classmethod
|
| 147 |
+
def from_rfc3339(cls, stamp):
|
| 148 |
+
"""Parse RFC3339-compliant timestamp, preserving nanoseconds.
|
| 149 |
+
|
| 150 |
+
Args:
|
| 151 |
+
stamp (str): RFC3339 stamp, with up to nanosecond precision
|
| 152 |
+
|
| 153 |
+
Returns:
|
| 154 |
+
:class:`DatetimeWithNanoseconds`:
|
| 155 |
+
an instance matching the timestamp string
|
| 156 |
+
|
| 157 |
+
Raises:
|
| 158 |
+
ValueError: if `stamp` does not match the expected format
|
| 159 |
+
"""
|
| 160 |
+
with_nanos = _RFC3339_NANOS.match(stamp)
|
| 161 |
+
if with_nanos is None:
|
| 162 |
+
raise ValueError(
|
| 163 |
+
"Timestamp: {}, does not match pattern: {}".format(
|
| 164 |
+
stamp, _RFC3339_NANOS.pattern
|
| 165 |
+
)
|
| 166 |
+
)
|
| 167 |
+
bare = datetime.datetime.strptime(
|
| 168 |
+
with_nanos.group("no_fraction"), _RFC3339_NO_FRACTION
|
| 169 |
+
)
|
| 170 |
+
fraction = with_nanos.group("nanos")
|
| 171 |
+
if fraction is None:
|
| 172 |
+
nanos = 0
|
| 173 |
+
else:
|
| 174 |
+
scale = 9 - len(fraction)
|
| 175 |
+
nanos = int(fraction) * (10**scale)
|
| 176 |
+
return cls(
|
| 177 |
+
bare.year,
|
| 178 |
+
bare.month,
|
| 179 |
+
bare.day,
|
| 180 |
+
bare.hour,
|
| 181 |
+
bare.minute,
|
| 182 |
+
bare.second,
|
| 183 |
+
nanosecond=nanos,
|
| 184 |
+
tzinfo=datetime.timezone.utc,
|
| 185 |
+
)
|
| 186 |
+
|
| 187 |
+
def timestamp_pb(self):
|
| 188 |
+
"""Return a timestamp message.
|
| 189 |
+
|
| 190 |
+
Returns:
|
| 191 |
+
(:class:`~google.protobuf.timestamp_pb2.Timestamp`): Timestamp message
|
| 192 |
+
"""
|
| 193 |
+
inst = (
|
| 194 |
+
self
|
| 195 |
+
if self.tzinfo is not None
|
| 196 |
+
else self.replace(tzinfo=datetime.timezone.utc)
|
| 197 |
+
)
|
| 198 |
+
delta = inst - _UTC_EPOCH
|
| 199 |
+
seconds = int(delta.total_seconds())
|
| 200 |
+
nanos = self._nanosecond or self.microsecond * 1000
|
| 201 |
+
return timestamp_pb2.Timestamp(seconds=seconds, nanos=nanos)
|
| 202 |
+
|
| 203 |
+
@classmethod
|
| 204 |
+
def from_timestamp_pb(cls, stamp):
|
| 205 |
+
"""Parse RFC3339-compliant timestamp, preserving nanoseconds.
|
| 206 |
+
|
| 207 |
+
Args:
|
| 208 |
+
stamp (:class:`~google.protobuf.timestamp_pb2.Timestamp`): timestamp message
|
| 209 |
+
|
| 210 |
+
Returns:
|
| 211 |
+
:class:`DatetimeWithNanoseconds`:
|
| 212 |
+
an instance matching the timestamp message
|
| 213 |
+
"""
|
| 214 |
+
microseconds = int(stamp.seconds * 1e6)
|
| 215 |
+
bare = _from_microseconds(microseconds)
|
| 216 |
+
return cls(
|
| 217 |
+
bare.year,
|
| 218 |
+
bare.month,
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2019 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# https://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
import enum
|
| 16 |
+
|
| 17 |
+
from google.protobuf import descriptor_pb2
|
| 18 |
+
|
| 19 |
+
from proto import _file_info
|
| 20 |
+
from proto import _package_info
|
| 21 |
+
from proto.marshal.rules.enums import EnumRule
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
class ProtoEnumMeta(enum.EnumMeta):
|
| 25 |
+
"""A metaclass for building and registering protobuf enums."""
|
| 26 |
+
|
| 27 |
+
def __new__(mcls, name, bases, attrs):
|
| 28 |
+
# Do not do any special behavior for `proto.Enum` itself.
|
| 29 |
+
if bases[0] == enum.IntEnum:
|
| 30 |
+
return super().__new__(mcls, name, bases, attrs)
|
| 31 |
+
|
| 32 |
+
# Get the essential information about the proto package, and where
|
| 33 |
+
# this component belongs within the file.
|
| 34 |
+
package, marshal = _package_info.compile(name, attrs)
|
| 35 |
+
|
| 36 |
+
# Determine the local path of this proto component within the file.
|
| 37 |
+
local_path = tuple(attrs.get("__qualname__", name).split("."))
|
| 38 |
+
|
| 39 |
+
# Sanity check: We get the wrong full name if a class is declared
|
| 40 |
+
# inside a function local scope; correct this.
|
| 41 |
+
if "<locals>" in local_path:
|
| 42 |
+
ix = local_path.index("<locals>")
|
| 43 |
+
local_path = local_path[: ix - 1] + local_path[ix + 1 :]
|
| 44 |
+
|
| 45 |
+
# Determine the full name in protocol buffers.
|
| 46 |
+
full_name = ".".join((package,) + local_path).lstrip(".")
|
| 47 |
+
filename = _file_info._FileInfo.proto_file_name(
|
| 48 |
+
attrs.get("__module__", name.lower())
|
| 49 |
+
)
|
| 50 |
+
|
| 51 |
+
# Retrieve any enum options.
|
| 52 |
+
# We expect something that looks like an EnumOptions message,
|
| 53 |
+
# either an actual instance or a dict-like representation.
|
| 54 |
+
pb_options = "_pb_options"
|
| 55 |
+
opts = attrs.pop(pb_options, {})
|
| 56 |
+
# This is the only portable way to remove the _pb_options name
|
| 57 |
+
# from the enum attrs.
|
| 58 |
+
# In 3.7 onwards, we can define an _ignore_ attribute and do some
|
| 59 |
+
# mucking around with that.
|
| 60 |
+
if pb_options in attrs._member_names:
|
| 61 |
+
if isinstance(attrs._member_names, list):
|
| 62 |
+
idx = attrs._member_names.index(pb_options)
|
| 63 |
+
attrs._member_names.pop(idx)
|
| 64 |
+
else: # Python 3.11.0b3
|
| 65 |
+
del attrs._member_names[pb_options]
|
| 66 |
+
|
| 67 |
+
# Make the descriptor.
|
| 68 |
+
enum_desc = descriptor_pb2.EnumDescriptorProto(
|
| 69 |
+
name=name,
|
| 70 |
+
# Note: the superclass ctor removes the variants, so get them now.
|
| 71 |
+
# Note: proto3 requires that the first variant value be zero.
|
| 72 |
+
value=sorted(
|
| 73 |
+
(
|
| 74 |
+
descriptor_pb2.EnumValueDescriptorProto(name=name, number=number)
|
| 75 |
+
# Minor hack to get all the enum variants out.
|
| 76 |
+
# Use the `_member_names` property to get only the enum members
|
| 77 |
+
# See https://github.com/googleapis/proto-plus-python/issues/490
|
| 78 |
+
for name, number in attrs.items()
|
| 79 |
+
if name in attrs._member_names and isinstance(number, int)
|
| 80 |
+
),
|
| 81 |
+
key=lambda v: v.number,
|
| 82 |
+
),
|
| 83 |
+
options=opts,
|
| 84 |
+
)
|
| 85 |
+
|
| 86 |
+
file_info = _file_info._FileInfo.maybe_add_descriptor(filename, package)
|
| 87 |
+
if len(local_path) == 1:
|
| 88 |
+
file_info.descriptor.enum_type.add().MergeFrom(enum_desc)
|
| 89 |
+
else:
|
| 90 |
+
file_info.nested_enum[local_path] = enum_desc
|
| 91 |
+
|
| 92 |
+
# Run the superclass constructor.
|
| 93 |
+
cls = super().__new__(mcls, name, bases, attrs)
|
| 94 |
+
|
| 95 |
+
# We can't just add a "_meta" element to attrs because the Enum
|
| 96 |
+
# machinery doesn't know what to do with a non-int value.
|
| 97 |
+
# The pb is set later, in generate_file_pb
|
| 98 |
+
cls._meta = _EnumInfo(full_name=full_name, pb=None)
|
| 99 |
+
|
| 100 |
+
file_info.enums[full_name] = cls
|
| 101 |
+
|
| 102 |
+
# Register the enum with the marshal.
|
| 103 |
+
marshal.register(cls, EnumRule(cls))
|
| 104 |
+
|
| 105 |
+
# Generate the descriptor for the file if it is ready.
|
| 106 |
+
if file_info.ready(new_class=cls):
|
| 107 |
+
file_info.generate_file_pb(new_class=cls, fallback_salt=full_name)
|
| 108 |
+
|
| 109 |
+
# Done; return the class.
|
| 110 |
+
return cls
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
class Enum(enum.IntEnum, metaclass=ProtoEnumMeta):
|
| 114 |
+
"""A enum object that also builds a protobuf enum descriptor."""
|
| 115 |
+
|
| 116 |
+
def _comparable(self, other):
|
| 117 |
+
# Avoid 'isinstance' to prevent other IntEnums from matching
|
| 118 |
+
return type(other) in (type(self), int)
|
| 119 |
+
|
| 120 |
+
def __hash__(self):
|
| 121 |
+
return hash(self.value)
|
| 122 |
+
|
| 123 |
+
def __eq__(self, other):
|
| 124 |
+
if not self._comparable(other):
|
| 125 |
+
return NotImplemented
|
| 126 |
+
|
| 127 |
+
return self.value == int(other)
|
| 128 |
+
|
| 129 |
+
def __ne__(self, other):
|
| 130 |
+
if not self._comparable(other):
|
| 131 |
+
return NotImplemented
|
| 132 |
+
|
| 133 |
+
return self.value != int(other)
|
| 134 |
+
|
| 135 |
+
def __lt__(self, other):
|
| 136 |
+
if not self._comparable(other):
|
| 137 |
+
return NotImplemented
|
| 138 |
+
|
| 139 |
+
return self.value < int(other)
|
| 140 |
+
|
| 141 |
+
def __le__(self, other):
|
| 142 |
+
if not self._comparable(other):
|
| 143 |
+
return NotImplemented
|
| 144 |
+
|
| 145 |
+
return self.value <= int(other)
|
| 146 |
+
|
| 147 |
+
def __ge__(self, other):
|
| 148 |
+
if not self._comparable(other):
|
| 149 |
+
return NotImplemented
|
| 150 |
+
|
| 151 |
+
return self.value >= int(other)
|
| 152 |
+
|
| 153 |
+
def __gt__(self, other):
|
| 154 |
+
if not self._comparable(other):
|
| 155 |
+
return NotImplemented
|
| 156 |
+
|
| 157 |
+
return self.value > int(other)
|
| 158 |
+
|
| 159 |
+
|
| 160 |
+
class _EnumInfo:
|
| 161 |
+
def __init__(self, *, full_name: str, pb):
|
| 162 |
+
self.full_name = full_name
|
| 163 |
+
self.pb = pb
|
evalkit_tf446/lib/python3.10/site-packages/proto/fields.py
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2018 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# https://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
from enum import EnumMeta
|
| 16 |
+
|
| 17 |
+
from google.protobuf import descriptor_pb2
|
| 18 |
+
from google.protobuf.internal.enum_type_wrapper import EnumTypeWrapper
|
| 19 |
+
|
| 20 |
+
from proto.primitives import ProtoType
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
class Field:
|
| 24 |
+
"""A representation of a type of field in protocol buffers."""
|
| 25 |
+
|
| 26 |
+
# Fields are NOT repeated nor maps.
|
| 27 |
+
# The RepeatedField overrides this values.
|
| 28 |
+
repeated = False
|
| 29 |
+
|
| 30 |
+
def __init__(
|
| 31 |
+
self,
|
| 32 |
+
proto_type,
|
| 33 |
+
*,
|
| 34 |
+
number: int,
|
| 35 |
+
message=None,
|
| 36 |
+
enum=None,
|
| 37 |
+
oneof: str = None,
|
| 38 |
+
json_name: str = None,
|
| 39 |
+
optional: bool = False
|
| 40 |
+
):
|
| 41 |
+
# This class is not intended to stand entirely alone;
|
| 42 |
+
# data is augmented by the metaclass for Message.
|
| 43 |
+
self.mcls_data = None
|
| 44 |
+
self.parent = None
|
| 45 |
+
|
| 46 |
+
# If the proto type sent is an object or a string, it is really
|
| 47 |
+
# a message or enum.
|
| 48 |
+
if not isinstance(proto_type, int):
|
| 49 |
+
# Note: We only support the "shortcut syntax" for enums
|
| 50 |
+
# when receiving the actual class.
|
| 51 |
+
if isinstance(proto_type, (EnumMeta, EnumTypeWrapper)):
|
| 52 |
+
enum = proto_type
|
| 53 |
+
proto_type = ProtoType.ENUM
|
| 54 |
+
else:
|
| 55 |
+
message = proto_type
|
| 56 |
+
proto_type = ProtoType.MESSAGE
|
| 57 |
+
|
| 58 |
+
# Save the direct arguments.
|
| 59 |
+
self.number = number
|
| 60 |
+
self.proto_type = proto_type
|
| 61 |
+
self.message = message
|
| 62 |
+
self.enum = enum
|
| 63 |
+
self.json_name = json_name
|
| 64 |
+
self.optional = optional
|
| 65 |
+
self.oneof = oneof
|
| 66 |
+
|
| 67 |
+
# Once the descriptor is accessed the first time, cache it.
|
| 68 |
+
# This is important because in rare cases the message or enum
|
| 69 |
+
# types are written later.
|
| 70 |
+
self._descriptor = None
|
| 71 |
+
|
| 72 |
+
@property
|
| 73 |
+
def descriptor(self):
|
| 74 |
+
"""Return the descriptor for the field."""
|
| 75 |
+
if not self._descriptor:
|
| 76 |
+
# Resolve the message type, if any, to a string.
|
| 77 |
+
type_name = None
|
| 78 |
+
if isinstance(self.message, str):
|
| 79 |
+
if not self.message.startswith(self.package):
|
| 80 |
+
self.message = "{package}.{name}".format(
|
| 81 |
+
package=self.package,
|
| 82 |
+
name=self.message,
|
| 83 |
+
)
|
| 84 |
+
type_name = self.message
|
| 85 |
+
elif self.message:
|
| 86 |
+
type_name = (
|
| 87 |
+
self.message.DESCRIPTOR.full_name
|
| 88 |
+
if hasattr(self.message, "DESCRIPTOR")
|
| 89 |
+
else self.message._meta.full_name
|
| 90 |
+
)
|
| 91 |
+
elif isinstance(self.enum, str):
|
| 92 |
+
if not self.enum.startswith(self.package):
|
| 93 |
+
self.enum = "{package}.{name}".format(
|
| 94 |
+
package=self.package,
|
| 95 |
+
name=self.enum,
|
| 96 |
+
)
|
| 97 |
+
type_name = self.enum
|
| 98 |
+
elif self.enum:
|
| 99 |
+
type_name = (
|
| 100 |
+
self.enum.DESCRIPTOR.full_name
|
| 101 |
+
if hasattr(self.enum, "DESCRIPTOR")
|
| 102 |
+
else self.enum._meta.full_name
|
| 103 |
+
)
|
| 104 |
+
|
| 105 |
+
# Set the descriptor.
|
| 106 |
+
self._descriptor = descriptor_pb2.FieldDescriptorProto(
|
| 107 |
+
name=self.name,
|
| 108 |
+
number=self.number,
|
| 109 |
+
label=3 if self.repeated else 1,
|
| 110 |
+
type=self.proto_type,
|
| 111 |
+
type_name=type_name,
|
| 112 |
+
json_name=self.json_name,
|
| 113 |
+
proto3_optional=self.optional,
|
| 114 |
+
)
|
| 115 |
+
|
| 116 |
+
# Return the descriptor.
|
| 117 |
+
return self._descriptor
|
| 118 |
+
|
| 119 |
+
@property
|
| 120 |
+
def name(self) -> str:
|
| 121 |
+
"""Return the name of the field."""
|
| 122 |
+
return self.mcls_data["name"]
|
| 123 |
+
|
| 124 |
+
@property
|
| 125 |
+
def package(self) -> str:
|
| 126 |
+
"""Return the package of the field."""
|
| 127 |
+
return self.mcls_data["package"]
|
| 128 |
+
|
| 129 |
+
@property
|
| 130 |
+
def pb_type(self):
|
| 131 |
+
"""Return the composite type of the field, or the primitive type if a primitive."""
|
| 132 |
+
# For enums, return the Python enum.
|
| 133 |
+
if self.enum:
|
| 134 |
+
return self.enum
|
| 135 |
+
|
| 136 |
+
# For primitive fields, we still want to know
|
| 137 |
+
# what the type is.
|
| 138 |
+
if not self.message:
|
| 139 |
+
return self.proto_type
|
| 140 |
+
|
| 141 |
+
# Return the internal protobuf message.
|
| 142 |
+
if hasattr(self.message, "_meta"):
|
| 143 |
+
return self.message.pb()
|
| 144 |
+
return self.message
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
class RepeatedField(Field):
|
| 148 |
+
"""A representation of a repeated field in protocol buffers."""
|
| 149 |
+
|
| 150 |
+
repeated = True
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
class MapField(Field):
|
| 154 |
+
"""A representation of a map field in protocol buffers."""
|
| 155 |
+
|
| 156 |
+
def __init__(self, key_type, value_type, *, number: int, message=None, enum=None):
|
| 157 |
+
super().__init__(value_type, number=number, message=message, enum=enum)
|
| 158 |
+
self.map_key_type = key_type
|
| 159 |
+
|
| 160 |
+
|
| 161 |
+
__all__ = (
|
| 162 |
+
"Field",
|
| 163 |
+
"MapField",
|
| 164 |
+
"RepeatedField",
|
| 165 |
+
)
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/__init__.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2018 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# https://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
from .marshal import Marshal
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
__all__ = ("Marshal",)
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (226 Bytes). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/__pycache__/compat.cpython-310.pyc
ADDED
|
Binary file (873 Bytes). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/__pycache__/marshal.cpython-310.pyc
ADDED
|
Binary file (8.66 kB). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/collections/__init__.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2018 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# https://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
from .maps import MapComposite
|
| 16 |
+
from .repeated import Repeated
|
| 17 |
+
from .repeated import RepeatedComposite
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
__all__ = (
|
| 21 |
+
"MapComposite",
|
| 22 |
+
"Repeated",
|
| 23 |
+
"RepeatedComposite",
|
| 24 |
+
)
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/collections/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (338 Bytes). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/collections/__pycache__/maps.cpython-310.pyc
ADDED
|
Binary file (2.5 kB). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/collections/__pycache__/repeated.cpython-310.pyc
ADDED
|
Binary file (5.51 kB). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/collections/maps.py
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2018 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# https://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
import collections
|
| 16 |
+
|
| 17 |
+
from proto.utils import cached_property
|
| 18 |
+
from google.protobuf.message import Message
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
class MapComposite(collections.abc.MutableMapping):
|
| 22 |
+
"""A view around a mutable sequence in protocol buffers.
|
| 23 |
+
|
| 24 |
+
This implements the full Python MutableMapping interface, but all methods
|
| 25 |
+
modify the underlying field container directly.
|
| 26 |
+
"""
|
| 27 |
+
|
| 28 |
+
@cached_property
|
| 29 |
+
def _pb_type(self):
|
| 30 |
+
"""Return the protocol buffer type for this sequence."""
|
| 31 |
+
# Huzzah, another hack. Still less bad than RepeatedComposite.
|
| 32 |
+
return type(self.pb.GetEntryClass()().value)
|
| 33 |
+
|
| 34 |
+
def __init__(self, sequence, *, marshal):
|
| 35 |
+
"""Initialize a wrapper around a protobuf map.
|
| 36 |
+
|
| 37 |
+
Args:
|
| 38 |
+
sequence: A protocol buffers map.
|
| 39 |
+
marshal (~.MarshalRegistry): An instantiated marshal, used to
|
| 40 |
+
convert values going to and from this map.
|
| 41 |
+
"""
|
| 42 |
+
self._pb = sequence
|
| 43 |
+
self._marshal = marshal
|
| 44 |
+
|
| 45 |
+
def __contains__(self, key):
|
| 46 |
+
# Protocol buffers is so permissive that querying for the existence
|
| 47 |
+
# of a key will in of itself create it.
|
| 48 |
+
#
|
| 49 |
+
# By taking a tuple of the keys and querying that, we avoid sending
|
| 50 |
+
# the lookup to protocol buffers and therefore avoid creating the key.
|
| 51 |
+
return key in tuple(self.keys())
|
| 52 |
+
|
| 53 |
+
def __getitem__(self, key):
|
| 54 |
+
# We handle raising KeyError ourselves, because otherwise protocol
|
| 55 |
+
# buffers will create the key if it does not exist.
|
| 56 |
+
if key not in self:
|
| 57 |
+
raise KeyError(key)
|
| 58 |
+
return self._marshal.to_python(self._pb_type, self.pb[key])
|
| 59 |
+
|
| 60 |
+
def __setitem__(self, key, value):
|
| 61 |
+
pb_value = self._marshal.to_proto(self._pb_type, value, strict=True)
|
| 62 |
+
# Directly setting a key is not allowed; however, protocol buffers
|
| 63 |
+
# is so permissive that querying for the existence of a key will in
|
| 64 |
+
# of itself create it.
|
| 65 |
+
#
|
| 66 |
+
# Therefore, we create a key that way (clearing any fields that may
|
| 67 |
+
# be set) and then merge in our values.
|
| 68 |
+
self.pb[key].Clear()
|
| 69 |
+
self.pb[key].MergeFrom(pb_value)
|
| 70 |
+
|
| 71 |
+
def __delitem__(self, key):
|
| 72 |
+
self.pb.pop(key)
|
| 73 |
+
|
| 74 |
+
def __len__(self):
|
| 75 |
+
return len(self.pb)
|
| 76 |
+
|
| 77 |
+
def __iter__(self):
|
| 78 |
+
return iter(self.pb)
|
| 79 |
+
|
| 80 |
+
@property
|
| 81 |
+
def pb(self):
|
| 82 |
+
return self._pb
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/collections/repeated.py
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
| 1 |
+
# Copyright 2018 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# https://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
import collections
|
| 16 |
+
import copy
|
| 17 |
+
from typing import Iterable
|
| 18 |
+
|
| 19 |
+
from proto.utils import cached_property
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class Repeated(collections.abc.MutableSequence):
|
| 23 |
+
"""A view around a mutable sequence in protocol buffers.
|
| 24 |
+
|
| 25 |
+
This implements the full Python MutableSequence interface, but all methods
|
| 26 |
+
modify the underlying field container directly.
|
| 27 |
+
"""
|
| 28 |
+
|
| 29 |
+
def __init__(self, sequence, *, marshal, proto_type=None):
|
| 30 |
+
"""Initialize a wrapper around a protobuf repeated field.
|
| 31 |
+
|
| 32 |
+
Args:
|
| 33 |
+
sequence: A protocol buffers repeated field.
|
| 34 |
+
marshal (~.MarshalRegistry): An instantiated marshal, used to
|
| 35 |
+
convert values going to and from this map.
|
| 36 |
+
"""
|
| 37 |
+
self._pb = sequence
|
| 38 |
+
self._marshal = marshal
|
| 39 |
+
self._proto_type = proto_type
|
| 40 |
+
|
| 41 |
+
def __copy__(self):
|
| 42 |
+
"""Copy this object and return the copy."""
|
| 43 |
+
return type(self)(self.pb[:], marshal=self._marshal)
|
| 44 |
+
|
| 45 |
+
def __delitem__(self, key):
|
| 46 |
+
"""Delete the given item."""
|
| 47 |
+
del self.pb[key]
|
| 48 |
+
|
| 49 |
+
def __eq__(self, other):
|
| 50 |
+
if hasattr(other, "pb"):
|
| 51 |
+
return tuple(self.pb) == tuple(other.pb)
|
| 52 |
+
return tuple(self.pb) == tuple(other) if isinstance(other, Iterable) else False
|
| 53 |
+
|
| 54 |
+
def __getitem__(self, key):
|
| 55 |
+
"""Return the given item."""
|
| 56 |
+
return self.pb[key]
|
| 57 |
+
|
| 58 |
+
def __len__(self):
|
| 59 |
+
"""Return the length of the sequence."""
|
| 60 |
+
return len(self.pb)
|
| 61 |
+
|
| 62 |
+
def __ne__(self, other):
|
| 63 |
+
return not self == other
|
| 64 |
+
|
| 65 |
+
def __repr__(self):
|
| 66 |
+
return repr([*self])
|
| 67 |
+
|
| 68 |
+
def __setitem__(self, key, value):
|
| 69 |
+
self.pb[key] = value
|
| 70 |
+
|
| 71 |
+
def insert(self, index: int, value):
|
| 72 |
+
"""Insert ``value`` in the sequence before ``index``."""
|
| 73 |
+
self.pb.insert(index, value)
|
| 74 |
+
|
| 75 |
+
def sort(self, *, key: str = None, reverse: bool = False):
|
| 76 |
+
"""Stable sort *IN PLACE*."""
|
| 77 |
+
self.pb.sort(key=key, reverse=reverse)
|
| 78 |
+
|
| 79 |
+
@property
|
| 80 |
+
def pb(self):
|
| 81 |
+
return self._pb
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
class RepeatedComposite(Repeated):
|
| 85 |
+
"""A view around a mutable sequence of messages in protocol buffers.
|
| 86 |
+
|
| 87 |
+
This implements the full Python MutableSequence interface, but all methods
|
| 88 |
+
modify the underlying field container directly.
|
| 89 |
+
"""
|
| 90 |
+
|
| 91 |
+
@cached_property
|
| 92 |
+
def _pb_type(self):
|
| 93 |
+
"""Return the protocol buffer type for this sequence."""
|
| 94 |
+
# Provide the marshal-given proto_type, if any.
|
| 95 |
+
# Used for RepeatedComposite of Enum.
|
| 96 |
+
if self._proto_type is not None:
|
| 97 |
+
return self._proto_type
|
| 98 |
+
|
| 99 |
+
# There is no public-interface mechanism to determine the type
|
| 100 |
+
# of what should go in the list (and the C implementation seems to
|
| 101 |
+
# have no exposed mechanism at all).
|
| 102 |
+
#
|
| 103 |
+
# If the list has members, use the existing list members to
|
| 104 |
+
# determine the type.
|
| 105 |
+
if len(self.pb) > 0:
|
| 106 |
+
return type(self.pb[0])
|
| 107 |
+
|
| 108 |
+
# We have no members in the list, so we get the type from the attributes.
|
| 109 |
+
if hasattr(self.pb, "_message_descriptor") and hasattr(
|
| 110 |
+
self.pb._message_descriptor, "_concrete_class"
|
| 111 |
+
):
|
| 112 |
+
return self.pb._message_descriptor._concrete_class
|
| 113 |
+
|
| 114 |
+
# Fallback logic in case attributes are not available
|
| 115 |
+
# In order to get the type, we create a throw-away copy and add a
|
| 116 |
+
# blank member to it.
|
| 117 |
+
canary = copy.deepcopy(self.pb).add()
|
| 118 |
+
return type(canary)
|
| 119 |
+
|
| 120 |
+
def __eq__(self, other):
|
| 121 |
+
if super().__eq__(other):
|
| 122 |
+
return True
|
| 123 |
+
return (
|
| 124 |
+
tuple([i for i in self]) == tuple(other)
|
| 125 |
+
if isinstance(other, Iterable)
|
| 126 |
+
else False
|
| 127 |
+
)
|
| 128 |
+
|
| 129 |
+
def __getitem__(self, key):
|
| 130 |
+
return self._marshal.to_python(self._pb_type, self.pb[key])
|
| 131 |
+
|
| 132 |
+
def __setitem__(self, key, value):
|
| 133 |
+
# The underlying protocol buffer does not define __setitem__, so we
|
| 134 |
+
# have to implement all the operations on our own.
|
| 135 |
+
|
| 136 |
+
# If ``key`` is an integer, as in list[index] = value:
|
| 137 |
+
if isinstance(key, int):
|
| 138 |
+
if -len(self) <= key < len(self):
|
| 139 |
+
self.pop(key) # Delete the old item.
|
| 140 |
+
self.insert(key, value) # Insert the new item in its place.
|
| 141 |
+
else:
|
| 142 |
+
raise IndexError("list assignment index out of range")
|
| 143 |
+
|
| 144 |
+
# If ``key`` is a slice object, as in list[start:stop:step] = [values]:
|
| 145 |
+
elif isinstance(key, slice):
|
| 146 |
+
start, stop, step = key.indices(len(self))
|
| 147 |
+
|
| 148 |
+
if not isinstance(value, collections.abc.Iterable):
|
| 149 |
+
raise TypeError("can only assign an iterable")
|
| 150 |
+
|
| 151 |
+
if step == 1: # Is not an extended slice.
|
| 152 |
+
# Assign all the new values to the sliced part, replacing the
|
| 153 |
+
# old values, if any, and unconditionally inserting those
|
| 154 |
+
# values whose indices already exceed the slice length.
|
| 155 |
+
for index, item in enumerate(value):
|
| 156 |
+
if start + index < stop:
|
| 157 |
+
self.pop(start + index)
|
| 158 |
+
self.insert(start + index, item)
|
| 159 |
+
|
| 160 |
+
# If there are less values than the length of the slice, remove
|
| 161 |
+
# the remaining elements so that the slice adapts to the
|
| 162 |
+
# newly provided values.
|
| 163 |
+
for _ in range(stop - start - len(value)):
|
| 164 |
+
self.pop(start + len(value))
|
| 165 |
+
|
| 166 |
+
else: # Is an extended slice.
|
| 167 |
+
indices = range(start, stop, step)
|
| 168 |
+
|
| 169 |
+
if len(value) != len(indices): # XXX: Use PEP 572 on 3.8+
|
| 170 |
+
raise ValueError(
|
| 171 |
+
f"attempt to assign sequence of size "
|
| 172 |
+
f"{len(value)} to extended slice of size "
|
| 173 |
+
f"{len(indices)}"
|
| 174 |
+
)
|
| 175 |
+
|
| 176 |
+
# Assign each value to its index, calling this function again
|
| 177 |
+
# with individual integer indexes that get processed above.
|
| 178 |
+
for index, item in zip(indices, value):
|
| 179 |
+
self[index] = item
|
| 180 |
+
|
| 181 |
+
else:
|
| 182 |
+
raise TypeError(
|
| 183 |
+
f"list indices must be integers or slices, not {type(key).__name__}"
|
| 184 |
+
)
|
| 185 |
+
|
| 186 |
+
def insert(self, index: int, value):
|
| 187 |
+
"""Insert ``value`` in the sequence before ``index``."""
|
| 188 |
+
pb_value = self._marshal.to_proto(self._pb_type, value)
|
| 189 |
+
self.pb.insert(index, pb_value)
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/compat.py
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2018 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# https://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
# This file pulls in the container types from internal protocol buffers,
|
| 16 |
+
# and exports the types available.
|
| 17 |
+
#
|
| 18 |
+
# If the C extensions were not installed, then their container types will
|
| 19 |
+
# not be included.
|
| 20 |
+
|
| 21 |
+
from google.protobuf.internal import containers
|
| 22 |
+
|
| 23 |
+
# Import all message types to ensure that pyext types are recognized
|
| 24 |
+
# when upb types exist. Conda's protobuf defaults to pyext despite upb existing.
|
| 25 |
+
# See https://github.com/googleapis/proto-plus-python/issues/470
|
| 26 |
+
try:
|
| 27 |
+
from google._upb import _message as _message_upb
|
| 28 |
+
except ImportError:
|
| 29 |
+
_message_upb = None
|
| 30 |
+
|
| 31 |
+
try:
|
| 32 |
+
from google.protobuf.pyext import _message as _message_pyext
|
| 33 |
+
except ImportError:
|
| 34 |
+
_message_pyext = None
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
repeated_composite_types = (containers.RepeatedCompositeFieldContainer,)
|
| 38 |
+
repeated_scalar_types = (containers.RepeatedScalarFieldContainer,)
|
| 39 |
+
map_composite_types = (containers.MessageMap,)
|
| 40 |
+
|
| 41 |
+
# In `proto/marshal.py`, for compatibility with protobuf 5.x,
|
| 42 |
+
# we'll use `map_composite_type_names` to check whether
|
| 43 |
+
# the name of the class of a protobuf type is
|
| 44 |
+
# `MessageMapContainer`, and, if `True`, return a MapComposite.
|
| 45 |
+
# See https://github.com/protocolbuffers/protobuf/issues/16596
|
| 46 |
+
map_composite_type_names = ("MessageMapContainer",)
|
| 47 |
+
|
| 48 |
+
for message in [_message_upb, _message_pyext]:
|
| 49 |
+
if message:
|
| 50 |
+
repeated_composite_types += (message.RepeatedCompositeContainer,)
|
| 51 |
+
repeated_scalar_types += (message.RepeatedScalarContainer,)
|
| 52 |
+
|
| 53 |
+
try:
|
| 54 |
+
map_composite_types += (message.MessageMapContainer,)
|
| 55 |
+
except AttributeError:
|
| 56 |
+
# The `MessageMapContainer` attribute is not available in Protobuf 5.x+
|
| 57 |
+
pass
|
| 58 |
+
|
| 59 |
+
__all__ = (
|
| 60 |
+
"repeated_composite_types",
|
| 61 |
+
"repeated_scalar_types",
|
| 62 |
+
"map_composite_types",
|
| 63 |
+
"map_composite_type_names",
|
| 64 |
+
)
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/marshal.py
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2018 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# https://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
import abc
|
| 16 |
+
import enum
|
| 17 |
+
|
| 18 |
+
from google.protobuf import message
|
| 19 |
+
from google.protobuf import duration_pb2
|
| 20 |
+
from google.protobuf import timestamp_pb2
|
| 21 |
+
from google.protobuf import field_mask_pb2
|
| 22 |
+
from google.protobuf import struct_pb2
|
| 23 |
+
from google.protobuf import wrappers_pb2
|
| 24 |
+
|
| 25 |
+
from proto.marshal import compat
|
| 26 |
+
from proto.marshal.collections import MapComposite
|
| 27 |
+
from proto.marshal.collections import Repeated
|
| 28 |
+
from proto.marshal.collections import RepeatedComposite
|
| 29 |
+
|
| 30 |
+
from proto.marshal.rules import bytes as pb_bytes
|
| 31 |
+
from proto.marshal.rules import stringy_numbers
|
| 32 |
+
from proto.marshal.rules import dates
|
| 33 |
+
from proto.marshal.rules import struct
|
| 34 |
+
from proto.marshal.rules import wrappers
|
| 35 |
+
from proto.marshal.rules import field_mask
|
| 36 |
+
from proto.primitives import ProtoType
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
class Rule(abc.ABC):
|
| 40 |
+
"""Abstract class definition for marshal rules."""
|
| 41 |
+
|
| 42 |
+
@classmethod
|
| 43 |
+
def __subclasshook__(cls, C):
|
| 44 |
+
if hasattr(C, "to_python") and hasattr(C, "to_proto"):
|
| 45 |
+
return True
|
| 46 |
+
return NotImplemented
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
class BaseMarshal:
|
| 50 |
+
"""The base class to translate between protobuf and Python classes.
|
| 51 |
+
|
| 52 |
+
Protocol buffers defines many common types (e.g. Timestamp, Duration)
|
| 53 |
+
which also exist in the Python standard library. The marshal essentially
|
| 54 |
+
translates between these: it keeps a registry of common protocol buffers
|
| 55 |
+
and their Python representations, and translates back and forth.
|
| 56 |
+
|
| 57 |
+
The protocol buffer class is always the "key" in this relationship; when
|
| 58 |
+
presenting a message, the declared field types are used to determine
|
| 59 |
+
whether a value should be transformed into another class. Similarly,
|
| 60 |
+
when accepting a Python value (when setting a field, for example),
|
| 61 |
+
the declared field type is still used. This means that, if appropriate,
|
| 62 |
+
multiple protocol buffer types may use the same Python type.
|
| 63 |
+
|
| 64 |
+
The primary implementation of this is :class:`Marshal`, which should
|
| 65 |
+
usually be used instead of this class directly.
|
| 66 |
+
"""
|
| 67 |
+
|
| 68 |
+
def __init__(self):
|
| 69 |
+
self._rules = {}
|
| 70 |
+
self._noop = NoopRule()
|
| 71 |
+
self.reset()
|
| 72 |
+
|
| 73 |
+
def register(self, proto_type: type, rule: Rule = None):
|
| 74 |
+
"""Register a rule against the given ``proto_type``.
|
| 75 |
+
|
| 76 |
+
This function expects a ``proto_type`` (the descriptor class) and
|
| 77 |
+
a ``rule``; an object with a ``to_python`` and ``to_proto`` method.
|
| 78 |
+
Each method should return the appropriate Python or protocol buffer
|
| 79 |
+
type, and be idempotent (e.g. accept either type as input).
|
| 80 |
+
|
| 81 |
+
This function can also be used as a decorator::
|
| 82 |
+
|
| 83 |
+
@marshal.register(timestamp_pb2.Timestamp)
|
| 84 |
+
class TimestampRule:
|
| 85 |
+
...
|
| 86 |
+
|
| 87 |
+
In this case, the class will be initialized for you with zero
|
| 88 |
+
arguments.
|
| 89 |
+
|
| 90 |
+
Args:
|
| 91 |
+
proto_type (type): A protocol buffer message type.
|
| 92 |
+
rule: A marshal object
|
| 93 |
+
"""
|
| 94 |
+
# If a rule was provided, register it and be done.
|
| 95 |
+
if rule:
|
| 96 |
+
# Ensure the rule implements Rule.
|
| 97 |
+
if not isinstance(rule, Rule):
|
| 98 |
+
raise TypeError(
|
| 99 |
+
"Marshal rule instances must implement "
|
| 100 |
+
"`to_proto` and `to_python` methods."
|
| 101 |
+
)
|
| 102 |
+
|
| 103 |
+
# Register the rule.
|
| 104 |
+
self._rules[proto_type] = rule
|
| 105 |
+
return
|
| 106 |
+
|
| 107 |
+
# Create an inner function that will register an instance of the
|
| 108 |
+
# marshal class to this object's registry, and return it.
|
| 109 |
+
def register_rule_class(rule_class: type):
|
| 110 |
+
# Ensure the rule class is a valid rule.
|
| 111 |
+
if not issubclass(rule_class, Rule):
|
| 112 |
+
raise TypeError(
|
| 113 |
+
"Marshal rule subclasses must implement "
|
| 114 |
+
"`to_proto` and `to_python` methods."
|
| 115 |
+
)
|
| 116 |
+
|
| 117 |
+
# Register the rule class.
|
| 118 |
+
self._rules[proto_type] = rule_class()
|
| 119 |
+
return rule_class
|
| 120 |
+
|
| 121 |
+
return register_rule_class
|
| 122 |
+
|
| 123 |
+
def reset(self):
|
| 124 |
+
"""Reset the registry to its initial state."""
|
| 125 |
+
self._rules.clear()
|
| 126 |
+
|
| 127 |
+
# Register date and time wrappers.
|
| 128 |
+
self.register(timestamp_pb2.Timestamp, dates.TimestampRule())
|
| 129 |
+
self.register(duration_pb2.Duration, dates.DurationRule())
|
| 130 |
+
|
| 131 |
+
# Register FieldMask wrappers.
|
| 132 |
+
self.register(field_mask_pb2.FieldMask, field_mask.FieldMaskRule())
|
| 133 |
+
|
| 134 |
+
# Register nullable primitive wrappers.
|
| 135 |
+
self.register(wrappers_pb2.BoolValue, wrappers.BoolValueRule())
|
| 136 |
+
self.register(wrappers_pb2.BytesValue, wrappers.BytesValueRule())
|
| 137 |
+
self.register(wrappers_pb2.DoubleValue, wrappers.DoubleValueRule())
|
| 138 |
+
self.register(wrappers_pb2.FloatValue, wrappers.FloatValueRule())
|
| 139 |
+
self.register(wrappers_pb2.Int32Value, wrappers.Int32ValueRule())
|
| 140 |
+
self.register(wrappers_pb2.Int64Value, wrappers.Int64ValueRule())
|
| 141 |
+
self.register(wrappers_pb2.StringValue, wrappers.StringValueRule())
|
| 142 |
+
self.register(wrappers_pb2.UInt32Value, wrappers.UInt32ValueRule())
|
| 143 |
+
self.register(wrappers_pb2.UInt64Value, wrappers.UInt64ValueRule())
|
| 144 |
+
|
| 145 |
+
# Register the google.protobuf.Struct wrappers.
|
| 146 |
+
#
|
| 147 |
+
# These are aware of the marshal that created them, because they
|
| 148 |
+
# create RepeatedComposite and MapComposite instances directly and
|
| 149 |
+
# need to pass the marshal to them.
|
| 150 |
+
self.register(struct_pb2.Value, struct.ValueRule(marshal=self))
|
| 151 |
+
self.register(struct_pb2.ListValue, struct.ListValueRule(marshal=self))
|
| 152 |
+
self.register(struct_pb2.Struct, struct.StructRule(marshal=self))
|
| 153 |
+
|
| 154 |
+
# Special case for bytes to allow base64 encode/decode
|
| 155 |
+
self.register(ProtoType.BYTES, pb_bytes.BytesRule())
|
| 156 |
+
|
| 157 |
+
# Special case for int64 from strings because of dict round trip.
|
| 158 |
+
# See https://github.com/protocolbuffers/protobuf/issues/2679
|
| 159 |
+
for rule_class in stringy_numbers.STRINGY_NUMBER_RULES:
|
| 160 |
+
self.register(rule_class._proto_type, rule_class())
|
| 161 |
+
|
| 162 |
+
def get_rule(self, proto_type):
|
| 163 |
+
# Rules are needed to convert values between proto-plus and pb.
|
| 164 |
+
# Retrieve the rule for the specified proto type.
|
| 165 |
+
# The NoopRule will be used when a rule is not found.
|
| 166 |
+
rule = self._rules.get(proto_type, self._noop)
|
| 167 |
+
|
| 168 |
+
# If we don't find a rule, also check under `_instances`
|
| 169 |
+
# in case there is a rule in another package.
|
| 170 |
+
# See https://github.com/googleapis/proto-plus-python/issues/349
|
| 171 |
+
if rule == self._noop and hasattr(self, "_instances"):
|
| 172 |
+
for _, instance in self._instances.items():
|
| 173 |
+
rule = instance._rules.get(proto_type, self._noop)
|
| 174 |
+
if rule != self._noop:
|
| 175 |
+
break
|
| 176 |
+
return rule
|
| 177 |
+
|
| 178 |
+
def to_python(self, proto_type, value, *, absent: bool = None):
|
| 179 |
+
# Internal protobuf has its own special type for lists of values.
|
| 180 |
+
# Return a view around it that implements MutableSequence.
|
| 181 |
+
value_type = type(value) # Minor performance boost over isinstance
|
| 182 |
+
if value_type in compat.repeated_composite_types:
|
| 183 |
+
return RepeatedComposite(value, marshal=self)
|
| 184 |
+
if value_type in compat.repeated_scalar_types:
|
| 185 |
+
if isinstance(proto_type, type):
|
| 186 |
+
return RepeatedComposite(value, marshal=self, proto_type=proto_type)
|
| 187 |
+
else:
|
| 188 |
+
return Repeated(value, marshal=self)
|
| 189 |
+
|
| 190 |
+
# Same thing for maps of messages.
|
| 191 |
+
# See https://github.com/protocolbuffers/protobuf/issues/16596
|
| 192 |
+
# We need to look up the name of the type in compat.map_composite_type_names
|
| 193 |
+
# as class `MessageMapContainer` is no longer exposed
|
| 194 |
+
# This is done to avoid taking a breaking change in proto-plus.
|
| 195 |
+
if (
|
| 196 |
+
value_type in compat.map_composite_types
|
| 197 |
+
or value_type.__name__ in compat.map_composite_type_names
|
| 198 |
+
):
|
| 199 |
+
return MapComposite(value, marshal=self)
|
| 200 |
+
return self.get_rule(proto_type=proto_type).to_python(value, absent=absent)
|
| 201 |
+
|
| 202 |
+
def to_proto(self, proto_type, value, *, strict: bool = False):
|
| 203 |
+
# The protos in google/protobuf/struct.proto are exceptional cases,
|
| 204 |
+
# because they can and should represent themselves as lists and dicts.
|
| 205 |
+
# These cases are handled in their rule classes.
|
| 206 |
+
if proto_type not in (
|
| 207 |
+
struct_pb2.Value,
|
| 208 |
+
struct_pb2.ListValue,
|
| 209 |
+
struct_pb2.Struct,
|
| 210 |
+
):
|
| 211 |
+
# For our repeated and map view objects, simply return the
|
| 212 |
+
# underlying pb.
|
| 213 |
+
if isinstance(value, (Repeated, MapComposite)):
|
| 214 |
+
return value.pb
|
| 215 |
+
|
| 216 |
+
# Convert lists and tuples recursively.
|
| 217 |
+
if isinstance(value, (list, tuple)):
|
| 218 |
+
return type(value)(self.to_proto(proto_type, i) for i in value)
|
| 219 |
+
|
| 220 |
+
# Convert dictionaries recursively when the proto type is a map.
|
| 221 |
+
# This is slightly more complicated than converting a list or tuple
|
| 222 |
+
# because we have to step through the magic that protocol buffers does.
|
| 223 |
+
#
|
| 224 |
+
# Essentially, a type of map<string, Foo> will show up here as
|
| 225 |
+
# a FoosEntry with a `key` field, `value` field, and a `map_entry`
|
| 226 |
+
# annotation. We need to do the conversion based on the `value`
|
| 227 |
+
# field's type.
|
| 228 |
+
if isinstance(value, dict) and (
|
| 229 |
+
proto_type.DESCRIPTOR.has_options
|
| 230 |
+
and proto_type.DESCRIPTOR.GetOptions().map_entry
|
| 231 |
+
):
|
| 232 |
+
recursive_type = type(proto_type().value)
|
| 233 |
+
return {k: self.to_proto(recursive_type, v) for k, v in value.items()}
|
| 234 |
+
|
| 235 |
+
pb_value = self.get_rule(proto_type=proto_type).to_proto(value)
|
| 236 |
+
|
| 237 |
+
# Sanity check: If we are in strict mode, did we get the value we want?
|
| 238 |
+
if strict and not isinstance(pb_value, proto_type):
|
| 239 |
+
raise TypeError(
|
| 240 |
+
"Parameter must be instance of the same class; "
|
| 241 |
+
"expected {expected}, got {got}".format(
|
| 242 |
+
expected=proto_type.__name__,
|
| 243 |
+
got=pb_value.__class__.__name__,
|
| 244 |
+
),
|
| 245 |
+
)
|
| 246 |
+
# Return the final value.
|
| 247 |
+
return pb_value
|
| 248 |
+
|
| 249 |
+
|
| 250 |
+
class Marshal(BaseMarshal):
|
| 251 |
+
"""The translator between protocol buffer and Python instances.
|
| 252 |
+
|
| 253 |
+
The bulk of the implementation is in :class:`BaseMarshal`. This class
|
| 254 |
+
adds identity tracking: multiple instantiations of :class:`Marshal` with
|
| 255 |
+
the same name will provide the same instance.
|
| 256 |
+
"""
|
| 257 |
+
|
| 258 |
+
_instances = {}
|
| 259 |
+
|
| 260 |
+
def __new__(cls, *, name: str):
|
| 261 |
+
"""Create a marshal instance.
|
| 262 |
+
|
| 263 |
+
Args:
|
| 264 |
+
name (str): The name of the marshal. Instantiating multiple
|
| 265 |
+
marshals with the same ``name`` argument will provide the
|
| 266 |
+
same marshal each time.
|
| 267 |
+
"""
|
| 268 |
+
klass = cls._instances.get(name)
|
| 269 |
+
if klass is None:
|
| 270 |
+
klass = cls._instances[name] = super().__new__(cls)
|
| 271 |
+
|
| 272 |
+
return klass
|
| 273 |
+
|
| 274 |
+
def __init__(self, *, name: str):
|
| 275 |
+
"""Instantiate a marshal.
|
| 276 |
+
|
| 277 |
+
Args:
|
| 278 |
+
name (str): The name of the marshal. Instantiating multiple
|
| 279 |
+
marshals with the same ``name`` argument will provide the
|
| 280 |
+
same marshal each time.
|
| 281 |
+
"""
|
| 282 |
+
self._name = name
|
| 283 |
+
if not hasattr(self, "_rules"):
|
| 284 |
+
super().__init__()
|
| 285 |
+
|
| 286 |
+
|
| 287 |
+
class NoopRule:
|
| 288 |
+
"""A catch-all rule that does nothing."""
|
| 289 |
+
|
| 290 |
+
def to_python(self, pb_value, *, absent: bool = None):
|
| 291 |
+
return pb_value
|
| 292 |
+
|
| 293 |
+
def to_proto(self, value):
|
| 294 |
+
return value
|
| 295 |
+
|
| 296 |
+
|
| 297 |
+
__all__ = ("Marshal",)
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/rules/__init__.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2018 Google LLC
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# https://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/rules/__pycache__/dates.cpython-310.pyc
ADDED
|
Binary file (2.66 kB). View file
|
|
|
evalkit_tf446/lib/python3.10/site-packages/proto/marshal/rules/__pycache__/message.cpython-310.pyc
ADDED
|
Binary file (1.44 kB). View file
|
|
|