Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- env-llmeval/lib/python3.10/site-packages/DataProperty-1.0.1.dist-info/INSTALLER +1 -0
- env-llmeval/lib/python3.10/site-packages/DataProperty-1.0.1.dist-info/LICENSE +21 -0
- env-llmeval/lib/python3.10/site-packages/DataProperty-1.0.1.dist-info/METADATA +276 -0
- env-llmeval/lib/python3.10/site-packages/DataProperty-1.0.1.dist-info/RECORD +47 -0
- env-llmeval/lib/python3.10/site-packages/DataProperty-1.0.1.dist-info/WHEEL +5 -0
- env-llmeval/lib/python3.10/site-packages/DataProperty-1.0.1.dist-info/top_level.txt +1 -0
- env-llmeval/lib/python3.10/site-packages/absl/flags/__pycache__/_argument_parser.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/absl/flags/__pycache__/_defines.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/absl/flags/__pycache__/_exceptions.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/absl/flags/__pycache__/_flagvalues.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/absl/flags/__pycache__/_validators_classes.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/__main__.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/big5freq.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/chardistribution.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/codingstatemachine.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/euckrfreq.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/langturkishmodel.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/latin1prober.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/mbcssm.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/universaldetector.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/utf8prober.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/INSTALLER +1 -0
- env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/LICENSE.txt +37 -0
- env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/METADATA +133 -0
- env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/RECORD +0 -0
- env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/WHEEL +5 -0
- env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/entry_points.txt +2 -0
- env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/top_level.txt +1 -0
- env-llmeval/lib/python3.10/site-packages/nvidia_cudnn_cu12-8.9.2.26.dist-info/INSTALLER +1 -0
- env-llmeval/lib/python3.10/site-packages/nvidia_cudnn_cu12-8.9.2.26.dist-info/License.txt +154 -0
- env-llmeval/lib/python3.10/site-packages/nvidia_cudnn_cu12-8.9.2.26.dist-info/METADATA +36 -0
- env-llmeval/lib/python3.10/site-packages/nvidia_cudnn_cu12-8.9.2.26.dist-info/RECORD +39 -0
- env-llmeval/lib/python3.10/site-packages/nvidia_cudnn_cu12-8.9.2.26.dist-info/WHEEL +5 -0
- env-llmeval/lib/python3.10/site-packages/nvidia_cudnn_cu12-8.9.2.26.dist-info/top_level.txt +1 -0
- env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/INSTALLER +1 -0
- env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/LICENSE +3 -0
- env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/LICENSE.APACHE +177 -0
- env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/LICENSE.BSD +23 -0
- env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/METADATA +102 -0
- env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/RECORD +36 -0
- env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/WHEEL +4 -0
- env-llmeval/lib/python3.10/site-packages/pytablewriter-1.2.0.dist-info/INSTALLER +1 -0
- env-llmeval/lib/python3.10/site-packages/pytablewriter-1.2.0.dist-info/LICENSE +21 -0
- env-llmeval/lib/python3.10/site-packages/pytablewriter-1.2.0.dist-info/METADATA +929 -0
- env-llmeval/lib/python3.10/site-packages/pytablewriter-1.2.0.dist-info/RECORD +139 -0
- env-llmeval/lib/python3.10/site-packages/pytablewriter-1.2.0.dist-info/WHEEL +5 -0
- env-llmeval/lib/python3.10/site-packages/pytablewriter-1.2.0.dist-info/top_level.txt +1 -0
- env-llmeval/lib/python3.10/site-packages/rouge_score/__init__.py +15 -0
- env-llmeval/lib/python3.10/site-packages/rouge_score/__pycache__/__init__.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/rouge_score/__pycache__/create_pyrouge_files.cpython-310.pyc +0 -0
env-llmeval/lib/python3.10/site-packages/DataProperty-1.0.1.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
env-llmeval/lib/python3.10/site-packages/DataProperty-1.0.1.dist-info/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The MIT License (MIT)
|
2 |
+
|
3 |
+
Copyright (c) 2016 Tsuyoshi Hombashi
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in all
|
13 |
+
copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
+
SOFTWARE.
|
env-llmeval/lib/python3.10/site-packages/DataProperty-1.0.1.dist-info/METADATA
ADDED
@@ -0,0 +1,276 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: DataProperty
|
3 |
+
Version: 1.0.1
|
4 |
+
Summary: Python library for extract property from data.
|
5 |
+
Home-page: https://github.com/thombashi/DataProperty
|
6 |
+
Author: Tsuyoshi Hombashi
|
7 |
+
Author-email: [email protected]
|
8 |
+
Maintainer: Tsuyoshi Hombashi
|
9 |
+
Maintainer-email: [email protected]
|
10 |
+
License: MIT License
|
11 |
+
Project-URL: Source, https://github.com/thombashi/DataProperty
|
12 |
+
Project-URL: Tracker, https://github.com/thombashi/DataProperty/issues
|
13 |
+
Keywords: data,library,property
|
14 |
+
Classifier: Development Status :: 5 - Production/Stable
|
15 |
+
Classifier: Intended Audience :: Developers
|
16 |
+
Classifier: Intended Audience :: Information Technology
|
17 |
+
Classifier: License :: OSI Approved :: MIT License
|
18 |
+
Classifier: Operating System :: OS Independent
|
19 |
+
Classifier: Programming Language :: Python :: 3
|
20 |
+
Classifier: Programming Language :: Python :: 3.7
|
21 |
+
Classifier: Programming Language :: Python :: 3.8
|
22 |
+
Classifier: Programming Language :: Python :: 3.9
|
23 |
+
Classifier: Programming Language :: Python :: 3.10
|
24 |
+
Classifier: Programming Language :: Python :: 3.11
|
25 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
26 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
27 |
+
Classifier: Topic :: Software Development :: Libraries
|
28 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
29 |
+
Requires-Python: >=3.7
|
30 |
+
Description-Content-Type: text/x-rst
|
31 |
+
License-File: LICENSE
|
32 |
+
Requires-Dist: mbstrdecoder (<2,>=1.0.0)
|
33 |
+
Requires-Dist: typepy[datetime] (<2,>=1.2.0)
|
34 |
+
Provides-Extra: logging
|
35 |
+
Requires-Dist: loguru (<1,>=0.4.1) ; extra == 'logging'
|
36 |
+
Provides-Extra: test
|
37 |
+
Requires-Dist: pytest (>=6.0.1) ; extra == 'test'
|
38 |
+
Requires-Dist: pytest-md-report (>=0.3) ; extra == 'test'
|
39 |
+
Requires-Dist: tcolorpy (>=0.1.2) ; extra == 'test'
|
40 |
+
|
41 |
+
.. contents:: **DataProperty**
|
42 |
+
:backlinks: top
|
43 |
+
:local:
|
44 |
+
|
45 |
+
|
46 |
+
Summary
|
47 |
+
=======
|
48 |
+
A Python library for extract property from data.
|
49 |
+
|
50 |
+
|
51 |
+
.. image:: https://badge.fury.io/py/DataProperty.svg
|
52 |
+
:target: https://badge.fury.io/py/DataProperty
|
53 |
+
:alt: PyPI package version
|
54 |
+
|
55 |
+
.. image:: https://anaconda.org/conda-forge/DataProperty/badges/version.svg
|
56 |
+
:target: https://anaconda.org/conda-forge/DataProperty
|
57 |
+
:alt: conda-forge package version
|
58 |
+
|
59 |
+
.. image:: https://img.shields.io/pypi/pyversions/DataProperty.svg
|
60 |
+
:target: https://pypi.org/project/DataProperty
|
61 |
+
:alt: Supported Python versions
|
62 |
+
|
63 |
+
.. image:: https://img.shields.io/pypi/implementation/DataProperty.svg
|
64 |
+
:target: https://pypi.org/project/DataProperty
|
65 |
+
:alt: Supported Python implementations
|
66 |
+
|
67 |
+
.. image:: https://github.com/thombashi/DataProperty/actions/workflows/ci.yml/badge.svg
|
68 |
+
:target: https://github.com/thombashi/DataProperty/actions/workflows/ci.yml
|
69 |
+
:alt: CI status of Linux/macOS/Windows
|
70 |
+
|
71 |
+
.. image:: https://coveralls.io/repos/github/thombashi/DataProperty/badge.svg?branch=master
|
72 |
+
:target: https://coveralls.io/github/thombashi/DataProperty?branch=master
|
73 |
+
:alt: Test coverage
|
74 |
+
|
75 |
+
.. image:: https://github.com/thombashi/DataProperty/actions/workflows/github-code-scanning/codeql/badge.svg
|
76 |
+
:target: https://github.com/thombashi/DataProperty/actions/workflows/github-code-scanning/codeql
|
77 |
+
:alt: CodeQL
|
78 |
+
|
79 |
+
|
80 |
+
Installation
|
81 |
+
============
|
82 |
+
|
83 |
+
Installation: pip
|
84 |
+
------------------------------
|
85 |
+
::
|
86 |
+
|
87 |
+
pip install DataProperty
|
88 |
+
|
89 |
+
Installation: conda
|
90 |
+
------------------------------
|
91 |
+
::
|
92 |
+
|
93 |
+
conda install -c conda-forge dataproperty
|
94 |
+
|
95 |
+
Installation: apt
|
96 |
+
------------------------------
|
97 |
+
::
|
98 |
+
|
99 |
+
sudo add-apt-repository ppa:thombashi/ppa
|
100 |
+
sudo apt update
|
101 |
+
sudo apt install python3-dataproperty
|
102 |
+
|
103 |
+
|
104 |
+
Usage
|
105 |
+
=====
|
106 |
+
|
107 |
+
Extract property of data
|
108 |
+
------------------------
|
109 |
+
|
110 |
+
e.g. Extract a ``float`` value property
|
111 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
112 |
+
.. code:: python
|
113 |
+
|
114 |
+
>>> from dataproperty import DataProperty
|
115 |
+
>>> DataProperty(-1.1)
|
116 |
+
data=-1.1, type=REAL_NUMBER, align=right, ascii_width=4, int_digits=1, decimal_places=1, extra_len=1
|
117 |
+
|
118 |
+
e.g. Extract a ``int`` value property
|
119 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
120 |
+
.. code:: python
|
121 |
+
|
122 |
+
>>> from dataproperty import DataProperty
|
123 |
+
>>> DataProperty(123456789)
|
124 |
+
data=123456789, type=INTEGER, align=right, ascii_width=9, int_digits=9, decimal_places=0, extra_len=0
|
125 |
+
|
126 |
+
e.g. Extract a ``str`` (ascii) value property
|
127 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
128 |
+
.. code:: python
|
129 |
+
|
130 |
+
>>> from dataproperty import DataProperty
|
131 |
+
>>> DataProperty("sample string")
|
132 |
+
data=sample string, type=STRING, align=left, length=13, ascii_width=13, extra_len=0
|
133 |
+
|
134 |
+
e.g. Extract a ``str`` (multi-byte) value property
|
135 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
136 |
+
.. code:: python
|
137 |
+
|
138 |
+
>>> from dataproperty import DataProperty
|
139 |
+
>>> str(DataProperty("吾輩は猫である"))
|
140 |
+
data=吾輩は猫である, type=STRING, align=left, length=7, ascii_width=14, extra_len=0
|
141 |
+
|
142 |
+
e.g. Extract a time (``datetime``) value property
|
143 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
144 |
+
.. code:: python
|
145 |
+
|
146 |
+
>>> import datetime
|
147 |
+
>>> from dataproperty import DataProperty
|
148 |
+
>>> DataProperty(datetime.datetime(2017, 1, 1, 0, 0, 0))
|
149 |
+
data=2017-01-01 00:00:00, type=DATETIME, align=left, ascii_width=19, extra_len=0
|
150 |
+
|
151 |
+
e.g. Extract a ``bool`` value property
|
152 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
153 |
+
.. code:: python
|
154 |
+
|
155 |
+
>>> from dataproperty import DataProperty
|
156 |
+
>>> DataProperty(True)
|
157 |
+
data=True, type=BOOL, align=left, ascii_width=4, extra_len=0
|
158 |
+
|
159 |
+
|
160 |
+
Extract data property for each element from a matrix
|
161 |
+
----------------------------------------------------
|
162 |
+
``DataPropertyExtractor.to_dp_matrix`` method returns a matrix of ``DataProperty`` instances from a data matrix.
|
163 |
+
An example data set and the result are as follows:
|
164 |
+
|
165 |
+
:Sample Code:
|
166 |
+
.. code:: python
|
167 |
+
|
168 |
+
import datetime
|
169 |
+
from dataproperty import DataPropertyExtractor
|
170 |
+
|
171 |
+
dp_extractor = DataPropertyExtractor()
|
172 |
+
dt = datetime.datetime(2017, 1, 1, 0, 0, 0)
|
173 |
+
inf = float("inf")
|
174 |
+
nan = float("nan")
|
175 |
+
|
176 |
+
dp_matrix = dp_extractor.to_dp_matrix([
|
177 |
+
[1, 1.1, "aa", 1, 1, True, inf, nan, dt],
|
178 |
+
[2, 2.2, "bbb", 2.2, 2.2, False, "inf", "nan", dt],
|
179 |
+
[3, 3.33, "cccc", -3, "ccc", "true", inf, "NAN", "2017-01-01T01:23:45+0900"],
|
180 |
+
])
|
181 |
+
|
182 |
+
for row, dp_list in enumerate(dp_matrix):
|
183 |
+
for col, dp in enumerate(dp_list):
|
184 |
+
print("row={:d}, col={:d}, {}".format(row, col, str(dp)))
|
185 |
+
|
186 |
+
:Output:
|
187 |
+
::
|
188 |
+
|
189 |
+
row=0, col=0, data=1, type=INTEGER, align=right, ascii_width=1, int_digits=1, decimal_places=0, extra_len=0
|
190 |
+
row=0, col=1, data=1.1, type=REAL_NUMBER, align=right, ascii_width=3, int_digits=1, decimal_places=1, extra_len=0
|
191 |
+
row=0, col=2, data=aa, type=STRING, align=left, ascii_width=2, length=2, extra_len=0
|
192 |
+
row=0, col=3, data=1, type=INTEGER, align=right, ascii_width=1, int_digits=1, decimal_places=0, extra_len=0
|
193 |
+
row=0, col=4, data=1, type=INTEGER, align=right, ascii_width=1, int_digits=1, decimal_places=0, extra_len=0
|
194 |
+
row=0, col=5, data=True, type=BOOL, align=left, ascii_width=4, extra_len=0
|
195 |
+
row=0, col=6, data=Infinity, type=INFINITY, align=left, ascii_width=8, extra_len=0
|
196 |
+
row=0, col=7, data=NaN, type=NAN, align=left, ascii_width=3, extra_len=0
|
197 |
+
row=0, col=8, data=2017-01-01 00:00:00, type=DATETIME, align=left, ascii_width=19, extra_len=0
|
198 |
+
row=1, col=0, data=2, type=INTEGER, align=right, ascii_width=1, int_digits=1, decimal_places=0, extra_len=0
|
199 |
+
row=1, col=1, data=2.2, type=REAL_NUMBER, align=right, ascii_width=3, int_digits=1, decimal_places=1, extra_len=0
|
200 |
+
row=1, col=2, data=bbb, type=STRING, align=left, ascii_width=3, length=3, extra_len=0
|
201 |
+
row=1, col=3, data=2.2, type=REAL_NUMBER, align=right, ascii_width=3, int_digits=1, decimal_places=1, extra_len=0
|
202 |
+
row=1, col=4, data=2.2, type=REAL_NUMBER, align=right, ascii_width=3, int_digits=1, decimal_places=1, extra_len=0
|
203 |
+
row=1, col=5, data=False, type=BOOL, align=left, ascii_width=5, extra_len=0
|
204 |
+
row=1, col=6, data=Infinity, type=INFINITY, align=left, ascii_width=8, extra_len=0
|
205 |
+
row=1, col=7, data=NaN, type=NAN, align=left, ascii_width=3, extra_len=0
|
206 |
+
row=1, col=8, data=2017-01-01 00:00:00, type=DATETIME, align=left, ascii_width=19, extra_len=0
|
207 |
+
row=2, col=0, data=3, type=INTEGER, align=right, ascii_width=1, int_digits=1, decimal_places=0, extra_len=0
|
208 |
+
row=2, col=1, data=3.33, type=REAL_NUMBER, align=right, ascii_width=4, int_digits=1, decimal_places=2, extra_len=0
|
209 |
+
row=2, col=2, data=cccc, type=STRING, align=left, ascii_width=4, length=4, extra_len=0
|
210 |
+
row=2, col=3, data=-3, type=INTEGER, align=right, ascii_width=2, int_digits=1, decimal_places=0, extra_len=1
|
211 |
+
row=2, col=4, data=ccc, type=STRING, align=left, ascii_width=3, length=3, extra_len=0
|
212 |
+
row=2, col=5, data=True, type=BOOL, align=left, ascii_width=4, extra_len=0
|
213 |
+
row=2, col=6, data=Infinity, type=INFINITY, align=left, ascii_width=8, extra_len=0
|
214 |
+
row=2, col=7, data=NaN, type=NAN, align=left, ascii_width=3, extra_len=0
|
215 |
+
row=2, col=8, data=2017-01-01T01:23:45+0900, type=STRING, align=left, ascii_width=24, length=24, extra_len=0
|
216 |
+
|
217 |
+
|
218 |
+
Full example source code can be found at *examples/py/to_dp_matrix.py*
|
219 |
+
|
220 |
+
|
221 |
+
Extract properties for each column from a matrix
|
222 |
+
------------------------------------------------------
|
223 |
+
``DataPropertyExtractor.to_column_dp_list`` method returns a list of ``DataProperty`` instances from a data matrix. The list represents the properties for each column.
|
224 |
+
An example data set and the result are as follows:
|
225 |
+
|
226 |
+
Example data set and result are as follows:
|
227 |
+
|
228 |
+
:Sample Code:
|
229 |
+
.. code:: python
|
230 |
+
|
231 |
+
import datetime
|
232 |
+
from dataproperty import DataPropertyExtractor
|
233 |
+
|
234 |
+
dp_extractor = DataPropertyExtractor()
|
235 |
+
dt = datetime.datetime(2017, 1, 1, 0, 0, 0)
|
236 |
+
inf = float("inf")
|
237 |
+
nan = float("nan")
|
238 |
+
|
239 |
+
data_matrix = [
|
240 |
+
[1, 1.1, "aa", 1, 1, True, inf, nan, dt],
|
241 |
+
[2, 2.2, "bbb", 2.2, 2.2, False, "inf", "nan", dt],
|
242 |
+
[3, 3.33, "cccc", -3, "ccc", "true", inf, "NAN", "2017-01-01T01:23:45+0900"],
|
243 |
+
]
|
244 |
+
|
245 |
+
dp_extractor.headers = ["int", "float", "str", "num", "mix", "bool", "inf", "nan", "time"]
|
246 |
+
col_dp_list = dp_extractor.to_column_dp_list(dp_extractor.to_dp_matrix(dp_matrix))
|
247 |
+
|
248 |
+
for col_idx, col_dp in enumerate(col_dp_list):
|
249 |
+
print(str(col_dp))
|
250 |
+
|
251 |
+
:Output:
|
252 |
+
::
|
253 |
+
|
254 |
+
column=0, type=INTEGER, align=right, ascii_width=3, bit_len=2, int_digits=1, decimal_places=0
|
255 |
+
column=1, type=REAL_NUMBER, align=right, ascii_width=5, int_digits=1, decimal_places=(min=1, max=2)
|
256 |
+
column=2, type=STRING, align=left, ascii_width=4
|
257 |
+
column=3, type=REAL_NUMBER, align=right, ascii_width=4, int_digits=1, decimal_places=(min=0, max=1), extra_len=(min=0, max=1)
|
258 |
+
column=4, type=STRING, align=left, ascii_width=3, int_digits=1, decimal_places=(min=0, max=1)
|
259 |
+
column=5, type=BOOL, align=left, ascii_width=5
|
260 |
+
column=6, type=INFINITY, align=left, ascii_width=8
|
261 |
+
column=7, type=NAN, align=left, ascii_width=3
|
262 |
+
column=8, type=STRING, align=left, ascii_width=24
|
263 |
+
|
264 |
+
|
265 |
+
Full example source code can be found at *examples/py/to_column_dp_list.py*
|
266 |
+
|
267 |
+
|
268 |
+
Dependencies
|
269 |
+
============
|
270 |
+
- Python 3.7+
|
271 |
+
- `Python package dependencies (automatically installed) <https://github.com/thombashi/DataProperty/network/dependencies>`__
|
272 |
+
|
273 |
+
Optional dependencies
|
274 |
+
---------------------
|
275 |
+
- `loguru <https://github.com/Delgan/loguru>`__
|
276 |
+
- Used for logging if the package installed
|
env-llmeval/lib/python3.10/site-packages/DataProperty-1.0.1.dist-info/RECORD
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
DataProperty-1.0.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
DataProperty-1.0.1.dist-info/LICENSE,sha256=qT11vLB3TimQEGOAytrW3LLeGTxV1DX_xWujRaCLHcI,1084
|
3 |
+
DataProperty-1.0.1.dist-info/METADATA,sha256=BxNvMErHIPajm-sKqeSWNuN7mZwJU7L-m87uzOUQpb4,11519
|
4 |
+
DataProperty-1.0.1.dist-info/RECORD,,
|
5 |
+
DataProperty-1.0.1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
6 |
+
DataProperty-1.0.1.dist-info/top_level.txt,sha256=RiW0aJCSmIPslrGSqg9wyPRas0Rl7Kcdi_fBBEd0-LY,13
|
7 |
+
dataproperty/__init__.py,sha256=y_LoBUs28gC7b7AXv49X1XCPHckXo3oKECpW-Oj6LbM,1308
|
8 |
+
dataproperty/__pycache__/__init__.cpython-310.pyc,,
|
9 |
+
dataproperty/__pycache__/__version__.cpython-310.pyc,,
|
10 |
+
dataproperty/__pycache__/_align.cpython-310.pyc,,
|
11 |
+
dataproperty/__pycache__/_align_getter.cpython-310.pyc,,
|
12 |
+
dataproperty/__pycache__/_base.cpython-310.pyc,,
|
13 |
+
dataproperty/__pycache__/_column.cpython-310.pyc,,
|
14 |
+
dataproperty/__pycache__/_common.cpython-310.pyc,,
|
15 |
+
dataproperty/__pycache__/_container.cpython-310.pyc,,
|
16 |
+
dataproperty/__pycache__/_converter.cpython-310.pyc,,
|
17 |
+
dataproperty/__pycache__/_dataproperty.cpython-310.pyc,,
|
18 |
+
dataproperty/__pycache__/_extractor.cpython-310.pyc,,
|
19 |
+
dataproperty/__pycache__/_formatter.cpython-310.pyc,,
|
20 |
+
dataproperty/__pycache__/_function.cpython-310.pyc,,
|
21 |
+
dataproperty/__pycache__/_interface.cpython-310.pyc,,
|
22 |
+
dataproperty/__pycache__/_line_break.cpython-310.pyc,,
|
23 |
+
dataproperty/__pycache__/_preprocessor.cpython-310.pyc,,
|
24 |
+
dataproperty/__pycache__/typing.cpython-310.pyc,,
|
25 |
+
dataproperty/__version__.py,sha256=67tYZapqaNY9QXFm4kAOxyg6b6T1ttw2NjFPHfyCkkc,201
|
26 |
+
dataproperty/_align.py,sha256=VQCp3HUN-rw5lDcG0CHwoQNwabSOwMF8Fpn52nHpQs8,535
|
27 |
+
dataproperty/_align_getter.py,sha256=GV8rvnGaF8-8C6E7SNa3SsXw-gp80jR93knG_XDwcZQ,833
|
28 |
+
dataproperty/_base.py,sha256=WfDF5FqUFRm9_Aw8T0H5AxyKyvaz4Fv3Z0x7lDzzLTM,2514
|
29 |
+
dataproperty/_column.py,sha256=Y7Xn16Jtc8vBMcqarrulNVzV4A3-TkYOQxkGXmup4lw,11653
|
30 |
+
dataproperty/_common.py,sha256=scfSVZRoBT74UIOYS99lZye06OUbT9347QpbxRhIi8M,1915
|
31 |
+
dataproperty/_container.py,sha256=NT-zFw68PqCCV8wcK7sTuIKlnW3eStVA0gkiO0DcBkY,5130
|
32 |
+
dataproperty/_converter.py,sha256=rEYWC1rcBIgi2WRM9PrLAycoOs9uSsYUsXaAlW5dWzM,3269
|
33 |
+
dataproperty/_dataproperty.py,sha256=Mq8J1pcJIqI2PbOfqH0CUF0aUzGhJnfdlTuzpz8-5wU,11321
|
34 |
+
dataproperty/_extractor.py,sha256=Rg_z5aKUGulUxi0Y3iGhLCEQ2nQpMYRbU8-Dd7XfyG4,25899
|
35 |
+
dataproperty/_formatter.py,sha256=nqQkEhtYKfG6WskuuN8_0mw3tpGNov8kJ6VBK36VYUA,3000
|
36 |
+
dataproperty/_function.py,sha256=h48XjTqYuXwFI1xeerFIIAlaWINxtLXEDw91ZuF_AuQ,3115
|
37 |
+
dataproperty/_interface.py,sha256=nronY0GKDo5AkgXjM7wvpYY8cx5SmpxpBiDLLbW6NSY,626
|
38 |
+
dataproperty/_line_break.py,sha256=FGjtuWKftOchoeJZJ9DxHJ9DUY0PPO_tPTiAM1e-Wck,114
|
39 |
+
dataproperty/_preprocessor.py,sha256=7v-Py61jZK9SkNrpaHrmJLdwMbjumpsfzk6JU2PiThw,5467
|
40 |
+
dataproperty/logger/__init__.py,sha256=2kFcgMA8P4-c51nShgJQsY31tbbLvvsfSGDLXTOj9ig,88
|
41 |
+
dataproperty/logger/__pycache__/__init__.cpython-310.pyc,,
|
42 |
+
dataproperty/logger/__pycache__/_logger.cpython-310.pyc,,
|
43 |
+
dataproperty/logger/__pycache__/_null_logger.cpython-310.pyc,,
|
44 |
+
dataproperty/logger/_logger.py,sha256=edZ7M2Hf9zjSMr4iRi_IYAcf3l1EiLIVqhCEtf0AFHg,442
|
45 |
+
dataproperty/logger/_null_logger.py,sha256=xWCR2KAa2aKAcpKi8DosfCOgaRMb_YXr9MKrK7xMD-A,1071
|
46 |
+
dataproperty/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
47 |
+
dataproperty/typing.py,sha256=YhjN4wF_7uqG9tPUbFLFemWIzx3WgyJJFhTh62TyhJU,1403
|
env-llmeval/lib/python3.10/site-packages/DataProperty-1.0.1.dist-info/WHEEL
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.40.0)
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
5 |
+
|
env-llmeval/lib/python3.10/site-packages/DataProperty-1.0.1.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
dataproperty
|
env-llmeval/lib/python3.10/site-packages/absl/flags/__pycache__/_argument_parser.cpython-310.pyc
ADDED
Binary file (22.6 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/absl/flags/__pycache__/_defines.cpython-310.pyc
ADDED
Binary file (38.9 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/absl/flags/__pycache__/_exceptions.cpython-310.pyc
ADDED
Binary file (3.79 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/absl/flags/__pycache__/_flagvalues.cpython-310.pyc
ADDED
Binary file (43.7 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/absl/flags/__pycache__/_validators_classes.cpython-310.pyc
ADDED
Binary file (6.76 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/__main__.cpython-310.pyc
ADDED
Binary file (319 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/big5freq.cpython-310.pyc
ADDED
Binary file (27.2 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/chardistribution.cpython-310.pyc
ADDED
Binary file (6.55 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/codingstatemachine.cpython-310.pyc
ADDED
Binary file (3.05 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/euckrfreq.cpython-310.pyc
ADDED
Binary file (12 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/langturkishmodel.cpython-310.pyc
ADDED
Binary file (44.5 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/latin1prober.cpython-310.pyc
ADDED
Binary file (4.54 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/mbcssm.cpython-310.pyc
ADDED
Binary file (20.9 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/universaldetector.cpython-310.pyc
ADDED
Binary file (7.11 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/chardet/__pycache__/utf8prober.cpython-310.pyc
ADDED
Binary file (2.09 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/LICENSE.txt
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
NetworkX is distributed with the 3-clause BSD license.
|
2 |
+
|
3 |
+
::
|
4 |
+
|
5 |
+
Copyright (C) 2004-2024, NetworkX Developers
|
6 |
+
Aric Hagberg <[email protected]>
|
7 |
+
Dan Schult <[email protected]>
|
8 |
+
Pieter Swart <[email protected]>
|
9 |
+
All rights reserved.
|
10 |
+
|
11 |
+
Redistribution and use in source and binary forms, with or without
|
12 |
+
modification, are permitted provided that the following conditions are
|
13 |
+
met:
|
14 |
+
|
15 |
+
* Redistributions of source code must retain the above copyright
|
16 |
+
notice, this list of conditions and the following disclaimer.
|
17 |
+
|
18 |
+
* Redistributions in binary form must reproduce the above
|
19 |
+
copyright notice, this list of conditions and the following
|
20 |
+
disclaimer in the documentation and/or other materials provided
|
21 |
+
with the distribution.
|
22 |
+
|
23 |
+
* Neither the name of the NetworkX Developers nor the names of its
|
24 |
+
contributors may be used to endorse or promote products derived
|
25 |
+
from this software without specific prior written permission.
|
26 |
+
|
27 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
28 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
29 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
30 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
31 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
32 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
33 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
34 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
35 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
36 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
37 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/METADATA
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: networkx
|
3 |
+
Version: 3.3
|
4 |
+
Summary: Python package for creating and manipulating graphs and networks
|
5 |
+
Author-email: Aric Hagberg <[email protected]>
|
6 |
+
Maintainer-email: NetworkX Developers <[email protected]>
|
7 |
+
Project-URL: Homepage, https://networkx.org/
|
8 |
+
Project-URL: Bug Tracker, https://github.com/networkx/networkx/issues
|
9 |
+
Project-URL: Documentation, https://networkx.org/documentation/stable/
|
10 |
+
Project-URL: Source Code, https://github.com/networkx/networkx
|
11 |
+
Keywords: Networks,Graph Theory,Mathematics,network,graph,discrete mathematics,math
|
12 |
+
Platform: Linux
|
13 |
+
Platform: Mac OSX
|
14 |
+
Platform: Windows
|
15 |
+
Platform: Unix
|
16 |
+
Classifier: Development Status :: 5 - Production/Stable
|
17 |
+
Classifier: Intended Audience :: Developers
|
18 |
+
Classifier: Intended Audience :: Science/Research
|
19 |
+
Classifier: License :: OSI Approved :: BSD License
|
20 |
+
Classifier: Operating System :: OS Independent
|
21 |
+
Classifier: Programming Language :: Python :: 3
|
22 |
+
Classifier: Programming Language :: Python :: 3.10
|
23 |
+
Classifier: Programming Language :: Python :: 3.11
|
24 |
+
Classifier: Programming Language :: Python :: 3.12
|
25 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
26 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
27 |
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
28 |
+
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
29 |
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
30 |
+
Classifier: Topic :: Scientific/Engineering :: Physics
|
31 |
+
Requires-Python: >=3.10
|
32 |
+
Description-Content-Type: text/x-rst
|
33 |
+
License-File: LICENSE.txt
|
34 |
+
Provides-Extra: default
|
35 |
+
Requires-Dist: numpy >=1.23 ; extra == 'default'
|
36 |
+
Requires-Dist: scipy !=1.11.0,!=1.11.1,>=1.9 ; extra == 'default'
|
37 |
+
Requires-Dist: matplotlib >=3.6 ; extra == 'default'
|
38 |
+
Requires-Dist: pandas >=1.4 ; extra == 'default'
|
39 |
+
Provides-Extra: developer
|
40 |
+
Requires-Dist: changelist ==0.5 ; extra == 'developer'
|
41 |
+
Requires-Dist: pre-commit >=3.2 ; extra == 'developer'
|
42 |
+
Requires-Dist: mypy >=1.1 ; extra == 'developer'
|
43 |
+
Requires-Dist: rtoml ; extra == 'developer'
|
44 |
+
Provides-Extra: doc
|
45 |
+
Requires-Dist: sphinx >=7 ; extra == 'doc'
|
46 |
+
Requires-Dist: pydata-sphinx-theme >=0.14 ; extra == 'doc'
|
47 |
+
Requires-Dist: sphinx-gallery >=0.14 ; extra == 'doc'
|
48 |
+
Requires-Dist: numpydoc >=1.7 ; extra == 'doc'
|
49 |
+
Requires-Dist: pillow >=9.4 ; extra == 'doc'
|
50 |
+
Requires-Dist: texext >=0.6.7 ; extra == 'doc'
|
51 |
+
Requires-Dist: myst-nb >=1.0 ; extra == 'doc'
|
52 |
+
Provides-Extra: extra
|
53 |
+
Requires-Dist: lxml >=4.6 ; extra == 'extra'
|
54 |
+
Requires-Dist: pygraphviz >=1.12 ; extra == 'extra'
|
55 |
+
Requires-Dist: pydot >=2.0 ; extra == 'extra'
|
56 |
+
Requires-Dist: sympy >=1.10 ; extra == 'extra'
|
57 |
+
Provides-Extra: test
|
58 |
+
Requires-Dist: pytest >=7.2 ; extra == 'test'
|
59 |
+
Requires-Dist: pytest-cov >=4.0 ; extra == 'test'
|
60 |
+
|
61 |
+
NetworkX
|
62 |
+
========
|
63 |
+
|
64 |
+
|
65 |
+
.. image:: https://github.com/networkx/networkx/workflows/test/badge.svg?branch=main
|
66 |
+
:target: https://github.com/networkx/networkx/actions?query=workflow%3A%22test%22
|
67 |
+
|
68 |
+
.. image:: https://codecov.io/gh/networkx/networkx/branch/main/graph/badge.svg
|
69 |
+
:target: https://app.codecov.io/gh/networkx/networkx/branch/main
|
70 |
+
|
71 |
+
.. image:: https://img.shields.io/github/labels/networkx/networkx/Good%20First%20Issue?color=green&label=Contribute%20&style=flat-square
|
72 |
+
:target: https://github.com/networkx/networkx/issues?q=is%3Aopen+is%3Aissue+label%3A%22Good+First+Issue%22
|
73 |
+
|
74 |
+
|
75 |
+
NetworkX is a Python package for the creation, manipulation,
|
76 |
+
and study of the structure, dynamics, and functions
|
77 |
+
of complex networks.
|
78 |
+
|
79 |
+
- **Website (including documentation):** https://networkx.org
|
80 |
+
- **Mailing list:** https://groups.google.com/forum/#!forum/networkx-discuss
|
81 |
+
- **Source:** https://github.com/networkx/networkx
|
82 |
+
- **Bug reports:** https://github.com/networkx/networkx/issues
|
83 |
+
- **Report a security vulnerability:** https://tidelift.com/security
|
84 |
+
- **Tutorial:** https://networkx.org/documentation/latest/tutorial.html
|
85 |
+
- **GitHub Discussions:** https://github.com/networkx/networkx/discussions
|
86 |
+
|
87 |
+
Simple example
|
88 |
+
--------------
|
89 |
+
|
90 |
+
Find the shortest path between two nodes in an undirected graph:
|
91 |
+
|
92 |
+
.. code:: pycon
|
93 |
+
|
94 |
+
>>> import networkx as nx
|
95 |
+
>>> G = nx.Graph()
|
96 |
+
>>> G.add_edge("A", "B", weight=4)
|
97 |
+
>>> G.add_edge("B", "D", weight=2)
|
98 |
+
>>> G.add_edge("A", "C", weight=3)
|
99 |
+
>>> G.add_edge("C", "D", weight=4)
|
100 |
+
>>> nx.shortest_path(G, "A", "D", weight="weight")
|
101 |
+
['A', 'B', 'D']
|
102 |
+
|
103 |
+
Install
|
104 |
+
-------
|
105 |
+
|
106 |
+
Install the latest version of NetworkX::
|
107 |
+
|
108 |
+
$ pip install networkx
|
109 |
+
|
110 |
+
Install with all optional dependencies::
|
111 |
+
|
112 |
+
$ pip install networkx[all]
|
113 |
+
|
114 |
+
For additional details, please see `INSTALL.rst`.
|
115 |
+
|
116 |
+
Bugs
|
117 |
+
----
|
118 |
+
|
119 |
+
Please report any bugs that you find `here <https://github.com/networkx/networkx/issues>`_.
|
120 |
+
Or, even better, fork the repository on `GitHub <https://github.com/networkx/networkx>`_
|
121 |
+
and create a pull request (PR). We welcome all changes, big or small, and we
|
122 |
+
will help you make the PR if you are new to `git` (just ask on the issue and/or
|
123 |
+
see `CONTRIBUTING.rst`).
|
124 |
+
|
125 |
+
License
|
126 |
+
-------
|
127 |
+
|
128 |
+
Released under the 3-Clause BSD license (see `LICENSE.txt`)::
|
129 |
+
|
130 |
+
Copyright (C) 2004-2024 NetworkX Developers
|
131 |
+
Aric Hagberg <[email protected]>
|
132 |
+
Dan Schult <[email protected]>
|
133 |
+
Pieter Swart <[email protected]>
|
env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/RECORD
ADDED
The diff for this file is too large to render.
See raw diff
|
|
env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/WHEEL
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.43.0)
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
5 |
+
|
env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/entry_points.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
[networkx.backends]
|
2 |
+
nx-loopback = networkx.classes.tests.dispatch_interface:dispatcher
|
env-llmeval/lib/python3.10/site-packages/networkx-3.3.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
networkx
|
env-llmeval/lib/python3.10/site-packages/nvidia_cudnn_cu12-8.9.2.26.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
env-llmeval/lib/python3.10/site-packages/nvidia_cudnn_cu12-8.9.2.26.dist-info/License.txt
ADDED
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
LICENSE AGREEMENT FOR NVIDIA SOFTWARE DEVELOPMENT KITS
|
2 |
+
|
3 |
+
This license agreement, including exhibits attached ("Agreement”) is a legal agreement between you and NVIDIA Corporation ("NVIDIA") and governs your use of a NVIDIA software development kit (“SDK”).
|
4 |
+
|
5 |
+
Each SDK has its own set of software and materials, but here is a description of the types of items that may be included in a SDK: source code, header files, APIs, data sets and assets (examples include images, textures, models, scenes, videos, native API input/output files), binary software, sample code, libraries, utility programs, programming code and documentation.
|
6 |
+
|
7 |
+
This Agreement can be accepted only by an adult of legal age of majority in the country in which the SDK is used.
|
8 |
+
|
9 |
+
If you are entering into this Agreement on behalf of a company or other legal entity, you represent that you have the legal authority to bind the entity to this Agreement, in which case “you” will mean the entity you represent.
|
10 |
+
|
11 |
+
If you don’t have the required age or authority to accept this Agreement, or if you don’t accept all the terms and conditions of this Agreement, do not download, install or use the SDK.
|
12 |
+
|
13 |
+
You agree to use the SDK only for purposes that are permitted by (a) this Agreement, and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions.
|
14 |
+
|
15 |
+
1. License.
|
16 |
+
|
17 |
+
1.1 Grant
|
18 |
+
|
19 |
+
Subject to the terms of this Agreement, NVIDIA hereby grants you a non-exclusive, non-transferable license, without the right to sublicense (except as expressly provided in this Agreement) to:
|
20 |
+
|
21 |
+
(i) Install and use the SDK,
|
22 |
+
|
23 |
+
(ii) Modify and create derivative works of sample source code delivered in the SDK, and
|
24 |
+
|
25 |
+
(iii) Distribute those portions of the SDK that are identified in this Agreement as distributable, as incorporated in object code format into a software application that meets the distribution requirements indicated in this Agreement.
|
26 |
+
|
27 |
+
1.2 Distribution Requirements
|
28 |
+
|
29 |
+
These are the distribution requirements for you to exercise the distribution grant:
|
30 |
+
|
31 |
+
(i) Your application must have material additional functionality, beyond the included portions of the SDK.
|
32 |
+
|
33 |
+
(ii) The distributable portions of the SDK shall only be accessed by your application.
|
34 |
+
|
35 |
+
(iii) The following notice shall be included in modifications and derivative works of sample source code distributed: “This software contains source code provided by NVIDIA Corporation.”
|
36 |
+
|
37 |
+
(iv) Unless a developer tool is identified in this Agreement as distributable, it is delivered for your internal use only.
|
38 |
+
|
39 |
+
(v) The terms under which you distribute your application must be consistent with the terms of this Agreement, including (without limitation) terms relating to the license grant and license restrictions and protection of NVIDIA’s intellectual property rights. Additionally, you agree that you will protect the privacy, security and legal rights of your application users.
|
40 |
+
|
41 |
+
(vi) You agree to notify NVIDIA in writing of any known or suspected distribution or use of the SDK not in compliance with the requirements of this Agreement, and to enforce the terms of your agreements with respect to distributed SDK.
|
42 |
+
|
43 |
+
1.3 Authorized Users
|
44 |
+
|
45 |
+
You may allow employees and contractors of your entity or of your subsidiary(ies) to access and use the SDK from your secure network to perform work on your behalf.
|
46 |
+
|
47 |
+
If you are an academic institution you may allow users enrolled or employed by the academic institution to access and use the SDK from your secure network.
|
48 |
+
|
49 |
+
You are responsible for the compliance with the terms of this Agreement by your authorized users. If you become aware that your authorized users didn’t follow the terms of this Agreement, you agree to take reasonable steps to resolve the non-compliance and prevent new occurrences.
|
50 |
+
|
51 |
+
1.4 Pre-Release SDK
|
52 |
+
The SDK versions identified as alpha, beta, preview or otherwise as pre-release, may not be fully functional, may contain errors or design flaws, and may have reduced or different security, privacy, accessibility, availability, and reliability standards relative to commercial versions of NVIDIA software and materials. Use of a pre-release SDK may result in unexpected results, loss of data, project delays or other unpredictable damage or loss.
|
53 |
+
You may use a pre-release SDK at your own risk, understanding that pre-release SDKs are not intended for use in production or business-critical systems.
|
54 |
+
NVIDIA may choose not to make available a commercial version of any pre-release SDK. NVIDIA may also choose to abandon development and terminate the availability of a pre-release SDK at any time without liability.
|
55 |
+
1.5 Updates
|
56 |
+
|
57 |
+
NVIDIA may, at its option, make available patches, workarounds or other updates to this SDK. Unless the updates are provided with their separate governing terms, they are deemed part of the SDK licensed to you as provided in this Agreement.
|
58 |
+
|
59 |
+
You agree that the form and content of the SDK that NVIDIA provides may change without prior notice to you. While NVIDIA generally maintains compatibility between versions, NVIDIA may in some cases make changes that introduce incompatibilities in future versions of the SDK.
|
60 |
+
|
61 |
+
1.6 Third Party Licenses
|
62 |
+
|
63 |
+
The SDK may come bundled with, or otherwise include or be distributed with, third party software licensed by a NVIDIA supplier and/or open source software provided under an open source license. Use of third party software is subject to the third-party license terms, or in the absence of third party terms, the terms of this Agreement. Copyright to third party software is held by the copyright holders indicated in the third-party software or license.
|
64 |
+
|
65 |
+
1.7 Reservation of Rights
|
66 |
+
|
67 |
+
NVIDIA reserves all rights, title and interest in and to the SDK not expressly granted to you under this Agreement.
|
68 |
+
|
69 |
+
2. Limitations.
|
70 |
+
|
71 |
+
The following license limitations apply to your use of the SDK:
|
72 |
+
|
73 |
+
2.1 You may not reverse engineer, decompile or disassemble, or remove copyright or other proprietary notices from any portion of the SDK or copies of the SDK.
|
74 |
+
|
75 |
+
2.2 Except as expressly provided in this Agreement, you may not copy, sell, rent, sublicense, transfer, distribute, modify, or create derivative works of any portion of the SDK.
|
76 |
+
|
77 |
+
2.3 Unless you have an agreement with NVIDIA for this purpose, you may not indicate that an application created with the SDK is sponsored or endorsed by NVIDIA.
|
78 |
+
|
79 |
+
2.4 You may not bypass, disable, or circumvent any encryption, security, digital rights management or authentication mechanism in the SDK.
|
80 |
+
|
81 |
+
2.5 You may not use the SDK in any manner that would cause it to become subject to an open source software license. As examples, licenses that require as a condition of use, modification, and/or distribution that the SDK be (i) disclosed or distributed in source code form; (ii) licensed for the purpose of making derivative works; or (iii) redistributable at no charge.
|
82 |
+
|
83 |
+
2.6 Unless you have an agreement with NVIDIA for this purpose, you may not use the SDK with any system or application where the use or failure of the system or application can reasonably be expected to threaten or result in personal injury, death, or catastrophic loss. Examples include use in avionics, navigation, military, medical, life support or other life critical applications. NVIDIA does not design, test or manufacture the SDK for these critical uses and NVIDIA shall not be liable to you or any third party, in whole or in part, for any claims or damages arising from such uses.
|
84 |
+
|
85 |
+
2.7 You agree to defend, indemnify and hold harmless NVIDIA and its affiliates, and their respective employees, contractors, agents, officers and directors, from and against any and all claims, damages, obligations, losses, liabilities, costs or debt, fines, restitutions and expenses (including but not limited to attorney’s fees and costs incident to establishing the right of indemnification) arising out of or related to your use of the SDK outside of the scope of this Agreement, or not in compliance with its terms.
|
86 |
+
|
87 |
+
3. Ownership.
|
88 |
+
|
89 |
+
3.1 NVIDIA or its licensors hold all rights, title and interest in and to the SDK and its modifications and derivative works, including their respective intellectual property rights, subject to your rights under Section 3.2. This SDK may include software and materials from NVIDIA’s licensors, and these licensors are intended third party beneficiaries that may enforce this Agreement with respect to their intellectual property rights.
|
90 |
+
|
91 |
+
3.2 You hold all rights, title and interest in and to your applications and your derivative works of the sample source code delivered in the SDK, including their respective intellectual property rights, subject to NVIDIA’s rights under section 3.1.
|
92 |
+
|
93 |
+
3.3 You may, but don’t have to, provide to NVIDIA suggestions, feature requests or other feedback regarding the SDK, including possible enhancements or modifications to the SDK. For any feedback that you voluntarily provide, you hereby grant NVIDIA and its affiliates a perpetual, non-exclusive, worldwide, irrevocable license to use, reproduce, modify, license, sublicense (through multiple tiers of sublicensees), and distribute (through multiple tiers of distributors) it without the payment of any royalties or fees to you. NVIDIA will use feedback at its choice. NVIDIA is constantly looking for ways to improve its products, so you may send feedback to NVIDIA through the developer portal at https://developer.nvidia.com.
|
94 |
+
|
95 |
+
4. No Warranties.
|
96 |
+
|
97 |
+
THE SDK IS PROVIDED BY NVIDIA “AS IS” AND “WITH ALL FAULTS.” TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND ITS AFFILIATES EXPRESSLY DISCLAIM ALL WARRANTIES OF ANY KIND OR NATURE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, OR THE ABSENCE OF ANY DEFECTS THEREIN, WHETHER LATENT OR PATENT. NO WARRANTY IS MADE ON THE BASIS OF TRADE USAGE, COURSE OF DEALING OR COURSE OF TRADE.
|
98 |
+
|
99 |
+
5. Limitations of Liability.
|
100 |
+
|
101 |
+
TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND ITS AFFILIATES SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR ANY LOST PROFITS, LOSS OF USE, LOSS OF DATA OR LOSS OF GOODWILL, OR THE COSTS OF PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFORMANCE OF THE SDK, WHETHER SUCH LIABILITY ARISES FROM ANY CLAIM BASED UPON BREACH OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR THEORY OF LIABILITY. IN NO EVENT WILL NVIDIA’S AND ITS AFFILIATES TOTAL CUMULATIVE LIABILITY UNDER OR ARISING OUT OF THIS AGREEMENT EXCEED US$10.00. THE NATURE OF THE LIABILITY OR THE NUMBER OF CLAIMS OR SUITS SHALL NOT ENLARGE OR EXTEND THIS LIMIT.
|
102 |
+
|
103 |
+
These exclusions and limitations of liability shall apply regardless if NVIDIA or its affiliates have been advised of the possibility of such damages, and regardless of whether a remedy fails its essential purpose. These exclusions and limitations of liability form an essential basis of the bargain between the parties, and, absent any of these exclusions or limitations of liability, the provisions of this Agreement, including, without limitation, the economic terms, would be substantially different.
|
104 |
+
|
105 |
+
6. Termination.
|
106 |
+
|
107 |
+
6.1 This Agreement will continue to apply until terminated by either you or NVIDIA as described below.
|
108 |
+
|
109 |
+
6.2 If you want to terminate this Agreement, you may do so by stopping to use the SDK.
|
110 |
+
|
111 |
+
6.3 NVIDIA may, at any time, terminate this Agreement if: (i) you fail to comply with any term of this Agreement and the non-compliance is not fixed within thirty (30) days following notice from NVIDIA (or immediately if you violate NVIDIA’s intellectual property rights); (ii) you commence or participate in any legal proceeding against NVIDIA with respect to the SDK; or (iii) NVIDIA decides to no longer provide the SDK in a country or, in NVIDIA’s sole discretion, the continued use of it is no longer commercially viable.
|
112 |
+
|
113 |
+
6.4 Upon any termination of this Agreement, you agree to promptly discontinue use of the SDK and destroy all copies in your possession or control. Your prior distributions in accordance with this Agreement are not affected by the termination of this Agreement. Upon written request, you will certify in writing that you have complied with your commitments under this section. Upon any termination of this Agreement all provisions survive except for the licenses granted to you.
|
114 |
+
|
115 |
+
7. General.
|
116 |
+
|
117 |
+
If you wish to assign this Agreement or your rights and obligations, including by merger, consolidation, dissolution or operation of law, contact NVIDIA to ask for permission. Any attempted assignment not approved by NVIDIA in writing shall be void and of no effect. NVIDIA may assign, delegate or transfer this Agreement and its rights and obligations, and if to a non-affiliate you will be notified.
|
118 |
+
|
119 |
+
You agree to cooperate with NVIDIA and provide reasonably requested information to verify your compliance with this Agreement.
|
120 |
+
|
121 |
+
This Agreement will be governed in all respects by the laws of the United States and of the State of Delaware as those laws are applied to contracts entered into and performed entirely within Delaware by Delaware residents, without regard to the conflicts of laws principles. The United Nations Convention on Contracts for the International Sale of Goods is specifically disclaimed. You agree to all terms of this Agreement in the English language.
|
122 |
+
|
123 |
+
The state or federal courts residing in Santa Clara County, California shall have exclusive jurisdiction over any dispute or claim arising out of this Agreement. Notwithstanding this, you agree that NVIDIA shall still be allowed to apply for injunctive remedies or an equivalent type of urgent legal relief in any jurisdiction.
|
124 |
+
|
125 |
+
If any court of competent jurisdiction determines that any provision of this Agreement is illegal, invalid or unenforceable, such provision will be construed as limited to the extent necessary to be consistent with and fully enforceable under the law and the remaining provisions will remain in full force and effect. Unless otherwise specified, remedies are cumulative.
|
126 |
+
|
127 |
+
Each party acknowledges and agrees that the other is an independent contractor in the performance of this Agreement.
|
128 |
+
|
129 |
+
The SDK has been developed entirely at private expense and is “commercial items” consisting of “commercial computer software” and “commercial computer software documentation” provided with RESTRICTED RIGHTS. Use, duplication or disclosure by the U.S. Government or a U.S. Government subcontractor is subject to the restrictions in this Agreement pursuant to DFARS 227.7202-3(a) or as set forth in subparagraphs (b)(1) and (2) of the Commercial Computer Software - Restricted Rights clause at FAR 52.227-19, as applicable. Contractor/manufacturer is NVIDIA, 2788 San Tomas Expressway, Santa Clara, CA 95051.
|
130 |
+
|
131 |
+
The SDK is subject to United States export laws and regulations. You agree that you will not ship, transfer or export the SDK into any country, or use the SDK in any manner, prohibited by the United States Bureau of Industry and Security or economic sanctions regulations administered by the U.S. Department of Treasury’s Office of Foreign Assets Control (OFAC), or any applicable export laws, restrictions or regulations. These laws include restrictions on destinations, end users and end use. By accepting this Agreement, you confirm that you are not a resident or citizen of any country currently embargoed by the U.S. and that you are not otherwise prohibited from receiving the SDK.
|
132 |
+
|
133 |
+
Any notice delivered by NVIDIA to you under this Agreement will be delivered via mail, email or fax. You agree that any notices that NVIDIA sends you electronically will satisfy any legal communication requirements. Please direct your legal notices or other correspondence to NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, California 95051, United States of America, Attention: Legal Department.
|
134 |
+
|
135 |
+
This Agreement and any exhibits incorporated into this Agreement constitute the entire agreement of the parties with respect to the subject matter of this Agreement and supersede all prior negotiations or documentation exchanged between the parties relating to this SDK license. Any additional and/or conflicting terms on documents issued by you are null, void, and invalid. Any amendment or waiver under this Agreement shall be in writing and signed by representatives of both parties.
|
136 |
+
|
137 |
+
(v. January 28, 2020)
|
138 |
+
|
139 |
+
|
140 |
+
cuDNN SUPPLEMENT TO SOFTWARE LICENSE AGREEMENT FOR NVIDIA SOFTWARE DEVELOPMENT KITS
|
141 |
+
|
142 |
+
The terms in this supplement govern your use of the NVIDIA cuDNN SDK under the terms of your license agreement (“Agreement”) as modified by this supplement. Capitalized terms used but not defined below have the meaning assigned to them in the Agreement.
|
143 |
+
|
144 |
+
This supplement is an exhibit to the Agreement and is incorporated as an integral part of the Agreement. In the event of conflict between the terms in this supplement and the terms in the Agreement, the terms in this supplement govern.
|
145 |
+
|
146 |
+
4.1 License Scope. The SDK is licensed for you to develop applications only for use in systems with NVIDIA GPUs.
|
147 |
+
|
148 |
+
2. Distribution. The following portions of the SDK are distributable under the Agreement: the runtime files .so and .h, cudnn64_7.dll, and cudnn.lib.
|
149 |
+
|
150 |
+
In addition to the rights above, for parties that are developing software intended solely for use on Jetson development kits or Jetson modules and running Linux for Tegra software the following shall apply: the SDK may be distributed in its entirety, as provided by NVIDIA and without separation of its components, for you and/or your licensees to create software development kits for use only on the Jetson platform and running Linux for Tegra software.
|
151 |
+
|
152 |
+
3. Licensing. If the distribution terms in this Agreement are not suitable for your organization, or for any questions regarding this Agreement, please contact NVIDIA at [email protected].
|
153 |
+
(v. January 28, 2020)
|
154 |
+
|
env-llmeval/lib/python3.10/site-packages/nvidia_cudnn_cu12-8.9.2.26.dist-info/METADATA
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: nvidia-cudnn-cu12
|
3 |
+
Version: 8.9.2.26
|
4 |
+
Summary: cuDNN runtime libraries
|
5 |
+
Home-page: https://developer.nvidia.com/cuda-zone
|
6 |
+
Author: Nvidia CUDA Installer Team
|
7 |
+
Author-email: [email protected]
|
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 |
+
Requires-Dist: nvidia-cublas-cu12
|
35 |
+
|
36 |
+
cuDNN runtime libraries containing primitives for deep neural networks.
|
env-llmeval/lib/python3.10/site-packages/nvidia_cudnn_cu12-8.9.2.26.dist-info/RECORD
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
nvidia/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2 |
+
nvidia/__pycache__/__init__.cpython-310.pyc,,
|
3 |
+
nvidia/cudnn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4 |
+
nvidia/cudnn/__pycache__/__init__.cpython-310.pyc,,
|
5 |
+
nvidia/cudnn/include/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6 |
+
nvidia/cudnn/include/__pycache__/__init__.cpython-310.pyc,,
|
7 |
+
nvidia/cudnn/include/cudnn.h,sha256=tq-l2UFypIfK4cMhF38556O6nfSRRFPRmChaXFTtCXY,2968
|
8 |
+
nvidia/cudnn/include/cudnn_adv_infer.h,sha256=bQkFH6xmvorYhPutqYf43_nHKMNNfc7EmUSa3LjtuHU,29027
|
9 |
+
nvidia/cudnn/include/cudnn_adv_infer_v8.h,sha256=bQkFH6xmvorYhPutqYf43_nHKMNNfc7EmUSa3LjtuHU,29027
|
10 |
+
nvidia/cudnn/include/cudnn_adv_train.h,sha256=ckG1OvQWW2CHiVIWBkt52XpvWHuW2V7RjTc-jRzcqxw,27700
|
11 |
+
nvidia/cudnn/include/cudnn_adv_train_v8.h,sha256=ckG1OvQWW2CHiVIWBkt52XpvWHuW2V7RjTc-jRzcqxw,27700
|
12 |
+
nvidia/cudnn/include/cudnn_backend.h,sha256=boGGTGpV4u8iYOQNEoNOZZhO0yZtJg4PxtQfiszkZy4,25332
|
13 |
+
nvidia/cudnn/include/cudnn_backend_v8.h,sha256=boGGTGpV4u8iYOQNEoNOZZhO0yZtJg4PxtQfiszkZy4,25332
|
14 |
+
nvidia/cudnn/include/cudnn_cnn_infer.h,sha256=rff5rMGK9i7Kqh974MrT14FBXIK06yxtd0eMTdDDyxs,29083
|
15 |
+
nvidia/cudnn/include/cudnn_cnn_infer_v8.h,sha256=rff5rMGK9i7Kqh974MrT14FBXIK06yxtd0eMTdDDyxs,29083
|
16 |
+
nvidia/cudnn/include/cudnn_cnn_train.h,sha256=6Ofk5encwLyqofNRookwneGIOvTzVouFOIFT9E5GNz4,10217
|
17 |
+
nvidia/cudnn/include/cudnn_cnn_train_v8.h,sha256=6Ofk5encwLyqofNRookwneGIOvTzVouFOIFT9E5GNz4,10217
|
18 |
+
nvidia/cudnn/include/cudnn_ops_infer.h,sha256=YhgGSMuwmPVE6Bn_5BauDmg73-5CQLgBXGnRP24R9SE,49631
|
19 |
+
nvidia/cudnn/include/cudnn_ops_infer_v8.h,sha256=YhgGSMuwmPVE6Bn_5BauDmg73-5CQLgBXGnRP24R9SE,49631
|
20 |
+
nvidia/cudnn/include/cudnn_ops_train.h,sha256=fp2ghY0c73LAqBfEjWu-TcFMIwm9WfedreRBKP8qOjw,25733
|
21 |
+
nvidia/cudnn/include/cudnn_ops_train_v8.h,sha256=fp2ghY0c73LAqBfEjWu-TcFMIwm9WfedreRBKP8qOjw,25733
|
22 |
+
nvidia/cudnn/include/cudnn_v8.h,sha256=tq-l2UFypIfK4cMhF38556O6nfSRRFPRmChaXFTtCXY,2968
|
23 |
+
nvidia/cudnn/include/cudnn_version.h,sha256=Q8IGmDi7U0HcXT9ch56ZIEtqYGoQaUgRfE9IPeAXKHk,4019
|
24 |
+
nvidia/cudnn/include/cudnn_version_v8.h,sha256=Q8IGmDi7U0HcXT9ch56ZIEtqYGoQaUgRfE9IPeAXKHk,4019
|
25 |
+
nvidia/cudnn/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
26 |
+
nvidia/cudnn/lib/__pycache__/__init__.cpython-310.pyc,,
|
27 |
+
nvidia/cudnn/lib/libcudnn.so.8,sha256=zoqo90nmnP9egwWElfxVldHmqmP_JvJ_dFUhtuM07M4,150200
|
28 |
+
nvidia/cudnn/lib/libcudnn_adv_infer.so.8,sha256=UMAvlhd106yiZ2NpFWQ12WS1YVcZ-LRLSc1z7cISF_M,125141304
|
29 |
+
nvidia/cudnn/lib/libcudnn_adv_train.so.8,sha256=LIGAoSMreb2YIPPTvucq5dMNrd1G2zCSKnb6E6x-b98,116248176
|
30 |
+
nvidia/cudnn/lib/libcudnn_cnn_infer.so.8,sha256=fbihfSwhpvRoTZmgc8p5HGYA27v8Ree3hq2OQtDPEYs,647553136
|
31 |
+
nvidia/cudnn/lib/libcudnn_cnn_train.so.8,sha256=wHaPPuMZ4hfpYbqhtAhKfVKQDwiBwDZMNxMIux9YoiY,132457288
|
32 |
+
nvidia/cudnn/lib/libcudnn_ops_infer.so.8,sha256=5SC-cNarIuWsVlBJvbexWCSDcDtkHEQKfCHpLhJxXq4,90621456
|
33 |
+
nvidia/cudnn/lib/libcudnn_ops_train.so.8,sha256=yJ2chx0PHRs9EDcjSmbrsJ-ZDj1TJMUCXUWDXX2C1GI,70922856
|
34 |
+
nvidia_cudnn_cu12-8.9.2.26.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
35 |
+
nvidia_cudnn_cu12-8.9.2.26.dist-info/License.txt,sha256=Sc95vbNXNLUv5iAwE7O9dZ-B6ZjNMqosZcUduaiMYdI,18174
|
36 |
+
nvidia_cudnn_cu12-8.9.2.26.dist-info/METADATA,sha256=ANghqAslBQAo827_kxW66xQqlAqzsPv-pSjxESPV-Zg,1570
|
37 |
+
nvidia_cudnn_cu12-8.9.2.26.dist-info/RECORD,,
|
38 |
+
nvidia_cudnn_cu12-8.9.2.26.dist-info/WHEEL,sha256=-kQi_VMfvRQozZJT7HUPMfY-5vLo0LVTmAylNJ3Ft98,106
|
39 |
+
nvidia_cudnn_cu12-8.9.2.26.dist-info/top_level.txt,sha256=fTkAtiFuL16nUrB9ytDDtpytz2t0B4NvYTnRzwAhO14,7
|
env-llmeval/lib/python3.10/site-packages/nvidia_cudnn_cu12-8.9.2.26.dist-info/WHEEL
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.37.1)
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-manylinux1_x86_64
|
5 |
+
|
env-llmeval/lib/python3.10/site-packages/nvidia_cudnn_cu12-8.9.2.26.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
nvidia
|
env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/LICENSE
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
This software is made available under the terms of *either* of the licenses
|
2 |
+
found in LICENSE.APACHE or LICENSE.BSD. Contributions to this software is made
|
3 |
+
under the terms of *both* these licenses.
|
env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/LICENSE.APACHE
ADDED
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
Apache License
|
3 |
+
Version 2.0, January 2004
|
4 |
+
http://www.apache.org/licenses/
|
5 |
+
|
6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7 |
+
|
8 |
+
1. Definitions.
|
9 |
+
|
10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
12 |
+
|
13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14 |
+
the copyright owner that is granting the License.
|
15 |
+
|
16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
17 |
+
other entities that control, are controlled by, or are under common
|
18 |
+
control with that entity. For the purposes of this definition,
|
19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
20 |
+
direction or management of such entity, whether by contract or
|
21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23 |
+
|
24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25 |
+
exercising permissions granted by this License.
|
26 |
+
|
27 |
+
"Source" form shall mean the preferred form for making modifications,
|
28 |
+
including but not limited to software source code, documentation
|
29 |
+
source, and configuration files.
|
30 |
+
|
31 |
+
"Object" form shall mean any form resulting from mechanical
|
32 |
+
transformation or translation of a Source form, including but
|
33 |
+
not limited to compiled object code, generated documentation,
|
34 |
+
and conversions to other media types.
|
35 |
+
|
36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
37 |
+
Object form, made available under the License, as indicated by a
|
38 |
+
copyright notice that is included in or attached to the work
|
39 |
+
(an example is provided in the Appendix below).
|
40 |
+
|
41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42 |
+
form, that is based on (or derived from) the Work and for which the
|
43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
45 |
+
of this License, Derivative Works shall not include works that remain
|
46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47 |
+
the Work and Derivative Works thereof.
|
48 |
+
|
49 |
+
"Contribution" shall mean any work of authorship, including
|
50 |
+
the original version of the Work and any modifications or additions
|
51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
55 |
+
means any form of electronic, verbal, or written communication sent
|
56 |
+
to the Licensor or its representatives, including but not limited to
|
57 |
+
communication on electronic mailing lists, source code control systems,
|
58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
60 |
+
excluding communication that is conspicuously marked or otherwise
|
61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
62 |
+
|
63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
65 |
+
subsequently incorporated within the Work.
|
66 |
+
|
67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
72 |
+
Work and such Derivative Works in Source or Object form.
|
73 |
+
|
74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77 |
+
(except as stated in this section) patent license to make, have made,
|
78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79 |
+
where such license applies only to those patent claims licensable
|
80 |
+
by such Contributor that are necessarily infringed by their
|
81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
83 |
+
institute patent litigation against any entity (including a
|
84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85 |
+
or a Contribution incorporated within the Work constitutes direct
|
86 |
+
or contributory patent infringement, then any patent licenses
|
87 |
+
granted to You under this License for that Work shall terminate
|
88 |
+
as of the date such litigation is filed.
|
89 |
+
|
90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
91 |
+
Work or Derivative Works thereof in any medium, with or without
|
92 |
+
modifications, and in Source or Object form, provided that You
|
93 |
+
meet the following conditions:
|
94 |
+
|
95 |
+
(a) You must give any other recipients of the Work or
|
96 |
+
Derivative Works a copy of this License; and
|
97 |
+
|
98 |
+
(b) You must cause any modified files to carry prominent notices
|
99 |
+
stating that You changed the files; and
|
100 |
+
|
101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
102 |
+
that You distribute, all copyright, patent, trademark, and
|
103 |
+
attribution notices from the Source form of the Work,
|
104 |
+
excluding those notices that do not pertain to any part of
|
105 |
+
the Derivative Works; and
|
106 |
+
|
107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108 |
+
distribution, then any Derivative Works that You distribute must
|
109 |
+
include a readable copy of the attribution notices contained
|
110 |
+
within such NOTICE file, excluding those notices that do not
|
111 |
+
pertain to any part of the Derivative Works, in at least one
|
112 |
+
of the following places: within a NOTICE text file distributed
|
113 |
+
as part of the Derivative Works; within the Source form or
|
114 |
+
documentation, if provided along with the Derivative Works; or,
|
115 |
+
within a display generated by the Derivative Works, if and
|
116 |
+
wherever such third-party notices normally appear. The contents
|
117 |
+
of the NOTICE file are for informational purposes only and
|
118 |
+
do not modify the License. You may add Your own attribution
|
119 |
+
notices within Derivative Works that You distribute, alongside
|
120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
121 |
+
that such additional attribution notices cannot be construed
|
122 |
+
as modifying the License.
|
123 |
+
|
124 |
+
You may add Your own copyright statement to Your modifications and
|
125 |
+
may provide additional or different license terms and conditions
|
126 |
+
for use, reproduction, or distribution of Your modifications, or
|
127 |
+
for any such Derivative Works as a whole, provided Your use,
|
128 |
+
reproduction, and distribution of the Work otherwise complies with
|
129 |
+
the conditions stated in this License.
|
130 |
+
|
131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
133 |
+
by You to the Licensor shall be under the terms and conditions of
|
134 |
+
this License, without any additional terms or conditions.
|
135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136 |
+
the terms of any separate license agreement you may have executed
|
137 |
+
with Licensor regarding such Contributions.
|
138 |
+
|
139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
141 |
+
except as required for reasonable and customary use in describing the
|
142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
143 |
+
|
144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145 |
+
agreed to in writing, Licensor provides the Work (and each
|
146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148 |
+
implied, including, without limitation, any warranties or conditions
|
149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151 |
+
appropriateness of using or redistributing the Work and assume any
|
152 |
+
risks associated with Your exercise of permissions under this License.
|
153 |
+
|
154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
155 |
+
whether in tort (including negligence), contract, or otherwise,
|
156 |
+
unless required by applicable law (such as deliberate and grossly
|
157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158 |
+
liable to You for damages, including any direct, indirect, special,
|
159 |
+
incidental, or consequential damages of any character arising as a
|
160 |
+
result of this License or out of the use or inability to use the
|
161 |
+
Work (including but not limited to damages for loss of goodwill,
|
162 |
+
work stoppage, computer failure or malfunction, or any and all
|
163 |
+
other commercial damages or losses), even if such Contributor
|
164 |
+
has been advised of the possibility of such damages.
|
165 |
+
|
166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169 |
+
or other liability obligations and/or rights consistent with this
|
170 |
+
License. However, in accepting such obligations, You may act only
|
171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172 |
+
of any other Contributor, and only if You agree to indemnify,
|
173 |
+
defend, and hold each Contributor harmless for any liability
|
174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
175 |
+
of your accepting any such warranty or additional liability.
|
176 |
+
|
177 |
+
END OF TERMS AND CONDITIONS
|
env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/LICENSE.BSD
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright (c) Donald Stufft and individual contributors.
|
2 |
+
All rights reserved.
|
3 |
+
|
4 |
+
Redistribution and use in source and binary forms, with or without
|
5 |
+
modification, are permitted provided that the following conditions are met:
|
6 |
+
|
7 |
+
1. Redistributions of source code must retain the above copyright notice,
|
8 |
+
this list of conditions and the following disclaimer.
|
9 |
+
|
10 |
+
2. Redistributions in binary form must reproduce the above copyright
|
11 |
+
notice, this list of conditions and the following disclaimer in the
|
12 |
+
documentation and/or other materials provided with the distribution.
|
13 |
+
|
14 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
15 |
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
16 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
17 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
18 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
19 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
20 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
21 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
22 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
23 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/METADATA
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: packaging
|
3 |
+
Version: 24.0
|
4 |
+
Summary: Core utilities for Python packages
|
5 |
+
Author-email: Donald Stufft <[email protected]>
|
6 |
+
Requires-Python: >=3.7
|
7 |
+
Description-Content-Type: text/x-rst
|
8 |
+
Classifier: Development Status :: 5 - Production/Stable
|
9 |
+
Classifier: Intended Audience :: Developers
|
10 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
11 |
+
Classifier: License :: OSI Approved :: BSD License
|
12 |
+
Classifier: Programming Language :: Python
|
13 |
+
Classifier: Programming Language :: Python :: 3
|
14 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
15 |
+
Classifier: Programming Language :: Python :: 3.7
|
16 |
+
Classifier: Programming Language :: Python :: 3.8
|
17 |
+
Classifier: Programming Language :: Python :: 3.9
|
18 |
+
Classifier: Programming Language :: Python :: 3.10
|
19 |
+
Classifier: Programming Language :: Python :: 3.11
|
20 |
+
Classifier: Programming Language :: Python :: 3.12
|
21 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
22 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
23 |
+
Classifier: Typing :: Typed
|
24 |
+
Project-URL: Documentation, https://packaging.pypa.io/
|
25 |
+
Project-URL: Source, https://github.com/pypa/packaging
|
26 |
+
|
27 |
+
packaging
|
28 |
+
=========
|
29 |
+
|
30 |
+
.. start-intro
|
31 |
+
|
32 |
+
Reusable core utilities for various Python Packaging
|
33 |
+
`interoperability specifications <https://packaging.python.org/specifications/>`_.
|
34 |
+
|
35 |
+
This library provides utilities that implement the interoperability
|
36 |
+
specifications which have clearly one correct behaviour (eg: :pep:`440`)
|
37 |
+
or benefit greatly from having a single shared implementation (eg: :pep:`425`).
|
38 |
+
|
39 |
+
.. end-intro
|
40 |
+
|
41 |
+
The ``packaging`` project includes the following: version handling, specifiers,
|
42 |
+
markers, requirements, tags, utilities.
|
43 |
+
|
44 |
+
Documentation
|
45 |
+
-------------
|
46 |
+
|
47 |
+
The `documentation`_ provides information and the API for the following:
|
48 |
+
|
49 |
+
- Version Handling
|
50 |
+
- Specifiers
|
51 |
+
- Markers
|
52 |
+
- Requirements
|
53 |
+
- Tags
|
54 |
+
- Utilities
|
55 |
+
|
56 |
+
Installation
|
57 |
+
------------
|
58 |
+
|
59 |
+
Use ``pip`` to install these utilities::
|
60 |
+
|
61 |
+
pip install packaging
|
62 |
+
|
63 |
+
The ``packaging`` library uses calendar-based versioning (``YY.N``).
|
64 |
+
|
65 |
+
Discussion
|
66 |
+
----------
|
67 |
+
|
68 |
+
If you run into bugs, you can file them in our `issue tracker`_.
|
69 |
+
|
70 |
+
You can also join ``#pypa`` on Freenode to ask questions or get involved.
|
71 |
+
|
72 |
+
|
73 |
+
.. _`documentation`: https://packaging.pypa.io/
|
74 |
+
.. _`issue tracker`: https://github.com/pypa/packaging/issues
|
75 |
+
|
76 |
+
|
77 |
+
Code of Conduct
|
78 |
+
---------------
|
79 |
+
|
80 |
+
Everyone interacting in the packaging project's codebases, issue trackers, chat
|
81 |
+
rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.
|
82 |
+
|
83 |
+
.. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
|
84 |
+
|
85 |
+
Contributing
|
86 |
+
------------
|
87 |
+
|
88 |
+
The ``CONTRIBUTING.rst`` file outlines how to contribute to this project as
|
89 |
+
well as how to report a potential security issue. The documentation for this
|
90 |
+
project also covers information about `project development`_ and `security`_.
|
91 |
+
|
92 |
+
.. _`project development`: https://packaging.pypa.io/en/latest/development/
|
93 |
+
.. _`security`: https://packaging.pypa.io/en/latest/security/
|
94 |
+
|
95 |
+
Project History
|
96 |
+
---------------
|
97 |
+
|
98 |
+
Please review the ``CHANGELOG.rst`` file or the `Changelog documentation`_ for
|
99 |
+
recent changes and project history.
|
100 |
+
|
101 |
+
.. _`Changelog documentation`: https://packaging.pypa.io/en/latest/changelog/
|
102 |
+
|
env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/RECORD
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
packaging-24.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
packaging-24.0.dist-info/LICENSE,sha256=ytHvW9NA1z4HS6YU0m996spceUDD2MNIUuZcSQlobEg,197
|
3 |
+
packaging-24.0.dist-info/LICENSE.APACHE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
|
4 |
+
packaging-24.0.dist-info/LICENSE.BSD,sha256=tw5-m3QvHMb5SLNMFqo5_-zpQZY2S8iP8NIYDwAo-sU,1344
|
5 |
+
packaging-24.0.dist-info/METADATA,sha256=0dESdhY_wHValuOrbgdebiEw04EbX4dkujlxPdEsFus,3203
|
6 |
+
packaging-24.0.dist-info/RECORD,,
|
7 |
+
packaging-24.0.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
8 |
+
packaging/__init__.py,sha256=UzotcV07p8vcJzd80S-W0srhgY8NMVD_XvJcZ7JN-tA,496
|
9 |
+
packaging/__pycache__/__init__.cpython-310.pyc,,
|
10 |
+
packaging/__pycache__/_elffile.cpython-310.pyc,,
|
11 |
+
packaging/__pycache__/_manylinux.cpython-310.pyc,,
|
12 |
+
packaging/__pycache__/_musllinux.cpython-310.pyc,,
|
13 |
+
packaging/__pycache__/_parser.cpython-310.pyc,,
|
14 |
+
packaging/__pycache__/_structures.cpython-310.pyc,,
|
15 |
+
packaging/__pycache__/_tokenizer.cpython-310.pyc,,
|
16 |
+
packaging/__pycache__/markers.cpython-310.pyc,,
|
17 |
+
packaging/__pycache__/metadata.cpython-310.pyc,,
|
18 |
+
packaging/__pycache__/requirements.cpython-310.pyc,,
|
19 |
+
packaging/__pycache__/specifiers.cpython-310.pyc,,
|
20 |
+
packaging/__pycache__/tags.cpython-310.pyc,,
|
21 |
+
packaging/__pycache__/utils.cpython-310.pyc,,
|
22 |
+
packaging/__pycache__/version.cpython-310.pyc,,
|
23 |
+
packaging/_elffile.py,sha256=hbmK8OD6Z7fY6hwinHEUcD1by7czkGiNYu7ShnFEk2k,3266
|
24 |
+
packaging/_manylinux.py,sha256=1ng_TqyH49hY6s3W_zVHyoJIaogbJqbIF1jJ0fAehc4,9590
|
25 |
+
packaging/_musllinux.py,sha256=kgmBGLFybpy8609-KTvzmt2zChCPWYvhp5BWP4JX7dE,2676
|
26 |
+
packaging/_parser.py,sha256=zlsFB1FpMRjkUdQb6WLq7xON52ruQadxFpYsDXWhLb4,10347
|
27 |
+
packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431
|
28 |
+
packaging/_tokenizer.py,sha256=alCtbwXhOFAmFGZ6BQ-wCTSFoRAJ2z-ysIf7__MTJ_k,5292
|
29 |
+
packaging/markers.py,sha256=eH-txS2zq1HdNpTd9LcZUcVIwewAiNU0grmq5wjKnOk,8208
|
30 |
+
packaging/metadata.py,sha256=w7jPEg6mDf1FTZMn79aFxFuk4SKtynUJtxr2InTxlV4,33036
|
31 |
+
packaging/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
32 |
+
packaging/requirements.py,sha256=dgoBeVprPu2YE6Q8nGfwOPTjATHbRa_ZGLyXhFEln6Q,2933
|
33 |
+
packaging/specifiers.py,sha256=dB2DwbmvSbEuVilEyiIQ382YfW5JfwzXTfRRPVtaENY,39784
|
34 |
+
packaging/tags.py,sha256=fedHXiOHkBxNZTXotXv8uXPmMFU9ae-TKBujgYHigcA,18950
|
35 |
+
packaging/utils.py,sha256=XgdmP3yx9-wQEFjO7OvMj9RjEf5JlR5HFFR69v7SQ9E,5268
|
36 |
+
packaging/version.py,sha256=XjRBLNK17UMDgLeP8UHnqwiY3TdSi03xFQURtec211A,16236
|
env-llmeval/lib/python3.10/site-packages/packaging-24.0.dist-info/WHEEL
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: flit 3.9.0
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
env-llmeval/lib/python3.10/site-packages/pytablewriter-1.2.0.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
env-llmeval/lib/python3.10/site-packages/pytablewriter-1.2.0.dist-info/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The MIT License (MIT)
|
2 |
+
|
3 |
+
Copyright (c) 2016 Tsuyoshi Hombashi
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in all
|
13 |
+
copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
+
SOFTWARE.
|
env-llmeval/lib/python3.10/site-packages/pytablewriter-1.2.0.dist-info/METADATA
ADDED
@@ -0,0 +1,929 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: pytablewriter
|
3 |
+
Version: 1.2.0
|
4 |
+
Summary: pytablewriter is a Python library to write a table in various formats: AsciiDoc / CSV / Elasticsearch / HTML / JavaScript / JSON / LaTeX / LDJSON / LTSV / Markdown / MediaWiki / NumPy / Excel / Pandas / Python / reStructuredText / SQLite / TOML / TSV / YAML.
|
5 |
+
Home-page: https://github.com/thombashi/pytablewriter
|
6 |
+
Author: Tsuyoshi Hombashi
|
7 |
+
Author-email: [email protected]
|
8 |
+
License: MIT License
|
9 |
+
Project-URL: Changlog, https://github.com/thombashi/pytablewriter/releases
|
10 |
+
Project-URL: Documentation, https://pytablewriter.rtfd.io/
|
11 |
+
Project-URL: Funding, https://github.com/sponsors/thombashi
|
12 |
+
Project-URL: Source, https://github.com/thombashi/pytablewriter
|
13 |
+
Project-URL: Tracker, https://github.com/thombashi/pytablewriter/issues
|
14 |
+
Keywords: AsciiDoc,table,CSV,Excel,JavaScript,JSON,LaTeX,LTSV,Markdown,MediaWiki,HTML,pandas,reStructuredText,SQLite,TSV,TOML
|
15 |
+
Classifier: Development Status :: 5 - Production/Stable
|
16 |
+
Classifier: Intended Audience :: Developers
|
17 |
+
Classifier: Intended Audience :: Information Technology
|
18 |
+
Classifier: License :: OSI Approved :: MIT License
|
19 |
+
Classifier: Operating System :: OS Independent
|
20 |
+
Classifier: Programming Language :: Python :: 3
|
21 |
+
Classifier: Programming Language :: Python :: 3.7
|
22 |
+
Classifier: Programming Language :: Python :: 3.8
|
23 |
+
Classifier: Programming Language :: Python :: 3.9
|
24 |
+
Classifier: Programming Language :: Python :: 3.10
|
25 |
+
Classifier: Programming Language :: Python :: 3.11
|
26 |
+
Classifier: Programming Language :: Python :: 3.12
|
27 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
28 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
29 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
30 |
+
Classifier: Topic :: Software Development :: Code Generators
|
31 |
+
Classifier: Topic :: Software Development :: Libraries
|
32 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
33 |
+
Classifier: Topic :: Text Processing
|
34 |
+
Classifier: Topic :: Text Processing :: Markup :: HTML
|
35 |
+
Classifier: Topic :: Text Processing :: Markup :: LaTeX
|
36 |
+
Classifier: Topic :: Text Processing :: Markup :: Markdown
|
37 |
+
Classifier: Topic :: Text Processing :: Markup :: reStructuredText
|
38 |
+
Classifier: Typing :: Typed
|
39 |
+
Requires-Python: >=3.7
|
40 |
+
Description-Content-Type: text/x-rst
|
41 |
+
License-File: LICENSE
|
42 |
+
Requires-Dist: setuptools >=38.3.0
|
43 |
+
Requires-Dist: DataProperty <2,>=1.0.1
|
44 |
+
Requires-Dist: mbstrdecoder <2,>=1.0.0
|
45 |
+
Requires-Dist: pathvalidate <4,>=2.3.0
|
46 |
+
Requires-Dist: tabledata <2,>=1.3.1
|
47 |
+
Requires-Dist: tcolorpy <1,>=0.0.5
|
48 |
+
Requires-Dist: typepy[datetime] <2,>=1.3.2
|
49 |
+
Provides-Extra: all
|
50 |
+
Requires-Dist: xlwt ; extra == 'all'
|
51 |
+
Requires-Dist: XlsxWriter <4,>=0.9.6 ; extra == 'all'
|
52 |
+
Requires-Dist: elasticsearch <9,>=8.0.1 ; extra == 'all'
|
53 |
+
Requires-Dist: pytablereader <2,>=0.31.3 ; extra == 'all'
|
54 |
+
Requires-Dist: dominate <3,>=2.1.5 ; extra == 'all'
|
55 |
+
Requires-Dist: loguru <1,>=0.4.1 ; extra == 'all'
|
56 |
+
Requires-Dist: SimpleSQLite <2,>=1.3.2 ; extra == 'all'
|
57 |
+
Requires-Dist: pytablewriter-altrow-theme <1,>=0.2.0 ; extra == 'all'
|
58 |
+
Requires-Dist: pytablewriter-altcol-theme <1,>=0.1.0 ; extra == 'all'
|
59 |
+
Requires-Dist: toml <1,>=0.9.3 ; extra == 'all'
|
60 |
+
Requires-Dist: PyYAML <7,>=3.11 ; extra == 'all'
|
61 |
+
Requires-Dist: simplejson <4,>=3.8.1 ; extra == 'all'
|
62 |
+
Requires-Dist: pandas <3,>=0.25.3 ; extra == 'all'
|
63 |
+
Provides-Extra: docs
|
64 |
+
Requires-Dist: sphinx-rtd-theme >=1.2.2 ; extra == 'docs'
|
65 |
+
Requires-Dist: Sphinx >=2.4 ; extra == 'docs'
|
66 |
+
Requires-Dist: xlwt ; extra == 'docs'
|
67 |
+
Requires-Dist: XlsxWriter <4,>=0.9.6 ; extra == 'docs'
|
68 |
+
Requires-Dist: elasticsearch <9,>=8.0.1 ; extra == 'docs'
|
69 |
+
Requires-Dist: pytablereader <2,>=0.31.3 ; extra == 'docs'
|
70 |
+
Requires-Dist: dominate <3,>=2.1.5 ; extra == 'docs'
|
71 |
+
Requires-Dist: loguru <1,>=0.4.1 ; extra == 'docs'
|
72 |
+
Requires-Dist: SimpleSQLite <2,>=1.3.2 ; extra == 'docs'
|
73 |
+
Requires-Dist: pytablewriter-altrow-theme <1,>=0.2.0 ; extra == 'docs'
|
74 |
+
Requires-Dist: pytablewriter-altcol-theme <1,>=0.1.0 ; extra == 'docs'
|
75 |
+
Requires-Dist: toml <1,>=0.9.3 ; extra == 'docs'
|
76 |
+
Requires-Dist: PyYAML <7,>=3.11 ; extra == 'docs'
|
77 |
+
Requires-Dist: simplejson <4,>=3.8.1 ; extra == 'docs'
|
78 |
+
Requires-Dist: pandas <3,>=0.25.3 ; extra == 'docs'
|
79 |
+
Provides-Extra: es
|
80 |
+
Requires-Dist: elasticsearch <9,>=8.0.1 ; extra == 'es'
|
81 |
+
Provides-Extra: es8
|
82 |
+
Requires-Dist: elasticsearch <9,>=8.0.1 ; extra == 'es8'
|
83 |
+
Provides-Extra: excel
|
84 |
+
Requires-Dist: xlwt ; extra == 'excel'
|
85 |
+
Requires-Dist: XlsxWriter <4,>=0.9.6 ; extra == 'excel'
|
86 |
+
Provides-Extra: from
|
87 |
+
Requires-Dist: pytablereader <2,>=0.31.3 ; extra == 'from'
|
88 |
+
Provides-Extra: html
|
89 |
+
Requires-Dist: dominate <3,>=2.1.5 ; extra == 'html'
|
90 |
+
Provides-Extra: logging
|
91 |
+
Requires-Dist: loguru <1,>=0.4.1 ; extra == 'logging'
|
92 |
+
Provides-Extra: pandas
|
93 |
+
Requires-Dist: pandas <3,>=0.25.3 ; extra == 'pandas'
|
94 |
+
Provides-Extra: sqlite
|
95 |
+
Requires-Dist: SimpleSQLite <2,>=1.3.2 ; extra == 'sqlite'
|
96 |
+
Provides-Extra: test
|
97 |
+
Requires-Dist: pandas <3,>=0.25.3 ; extra == 'test'
|
98 |
+
Requires-Dist: XlsxWriter <4,>=0.9.6 ; extra == 'test'
|
99 |
+
Requires-Dist: beautifulsoup4 >=4.10 ; extra == 'test'
|
100 |
+
Requires-Dist: toml <1,>=0.9.3 ; extra == 'test'
|
101 |
+
Requires-Dist: pytablewriter-altcol-theme <1,>=0.1.0 ; extra == 'test'
|
102 |
+
Requires-Dist: pytest-md-report >=0.4.1 ; extra == 'test'
|
103 |
+
Requires-Dist: pytablereader <2,>=0.31.3 ; extra == 'test'
|
104 |
+
Requires-Dist: SimpleSQLite <2,>=1.3.2 ; extra == 'test'
|
105 |
+
Requires-Dist: dominate <3,>=2.1.5 ; extra == 'test'
|
106 |
+
Requires-Dist: pytablewriter-altrow-theme <1,>=0.2.0 ; extra == 'test'
|
107 |
+
Requires-Dist: loguru <1,>=0.4.1 ; extra == 'test'
|
108 |
+
Requires-Dist: xlwt ; extra == 'test'
|
109 |
+
Requires-Dist: PyYAML <7,>=3.11 ; extra == 'test'
|
110 |
+
Requires-Dist: elasticsearch <9,>=8.0.1 ; extra == 'test'
|
111 |
+
Requires-Dist: tablib >=3.2.0 ; extra == 'test'
|
112 |
+
Requires-Dist: pytablereader[excel,sqlite] >=0.31.3 ; extra == 'test'
|
113 |
+
Requires-Dist: simplejson <4,>=3.8.1 ; extra == 'test'
|
114 |
+
Requires-Dist: sqliteschema >=1.3.0 ; extra == 'test'
|
115 |
+
Requires-Dist: pytest >=6.0.1 ; extra == 'test'
|
116 |
+
Provides-Extra: theme
|
117 |
+
Requires-Dist: pytablewriter-altrow-theme <1,>=0.2.0 ; extra == 'theme'
|
118 |
+
Requires-Dist: pytablewriter-altcol-theme <1,>=0.1.0 ; extra == 'theme'
|
119 |
+
Provides-Extra: toml
|
120 |
+
Requires-Dist: toml <1,>=0.9.3 ; extra == 'toml'
|
121 |
+
Provides-Extra: yaml
|
122 |
+
Requires-Dist: PyYAML <7,>=3.11 ; extra == 'yaml'
|
123 |
+
|
124 |
+
.. contents:: **pytablewriter**
|
125 |
+
:backlinks: top
|
126 |
+
:depth: 2
|
127 |
+
|
128 |
+
Summary
|
129 |
+
=========
|
130 |
+
`pytablewriter <https://github.com/thombashi/pytablewriter>`__ is a Python library to write a table in various formats: AsciiDoc / CSV / Elasticsearch / HTML / JavaScript / JSON / LaTeX / LDJSON / LTSV / Markdown / MediaWiki / NumPy / Excel / Pandas / Python / reStructuredText / SQLite / TOML / TSV / YAML.
|
131 |
+
|
132 |
+
.. image:: https://badge.fury.io/py/pytablewriter.svg
|
133 |
+
:target: https://badge.fury.io/py/pytablewriter
|
134 |
+
:alt: PyPI package version
|
135 |
+
|
136 |
+
.. image:: https://anaconda.org/conda-forge/pytablewriter/badges/version.svg
|
137 |
+
:target: https://anaconda.org/conda-forge/pytablewriter
|
138 |
+
:alt: conda-forge package version
|
139 |
+
|
140 |
+
.. image:: https://img.shields.io/pypi/pyversions/pytablewriter.svg
|
141 |
+
:target: https://pypi.org/project/pytablewriter/
|
142 |
+
:alt: Supported Python versions
|
143 |
+
|
144 |
+
.. image:: https://img.shields.io/pypi/implementation/pytablewriter.svg
|
145 |
+
:target: https://pypi.org/project/pytablewriter
|
146 |
+
:alt: Supported Python implementations
|
147 |
+
|
148 |
+
.. image:: https://github.com/thombashi/pytablewriter/actions/workflows/ci.yml/badge.svg
|
149 |
+
:target: https://github.com/thombashi/pytablewriter/actions/workflows/ci.yml
|
150 |
+
:alt: CI status of Linux/macOS/Windows
|
151 |
+
|
152 |
+
.. image:: https://coveralls.io/repos/github/thombashi/pytablewriter/badge.svg?branch=master
|
153 |
+
:target: https://coveralls.io/github/thombashi/pytablewriter?branch=master
|
154 |
+
:alt: Test coverage
|
155 |
+
|
156 |
+
.. image:: https://github.com/thombashi/pytablewriter/actions/workflows/github-code-scanning/codeql/badge.svg
|
157 |
+
:target: https://github.com/thombashi/pytablewriter/actions/workflows/github-code-scanning/codeql
|
158 |
+
:alt: CodeQL
|
159 |
+
|
160 |
+
Features
|
161 |
+
--------
|
162 |
+
- Write a table in various formats:
|
163 |
+
- Text formats:
|
164 |
+
- `AsciiDoc <https://asciidoc.org/>`__
|
165 |
+
- CSV / Tab-separated values (TSV) / Space-separated values (SSV)
|
166 |
+
- HTML / CSS
|
167 |
+
- JSON / `Line-delimited JSON(LDJSON) <https://en.wikipedia.org/wiki/JSON_streaming#Line-delimited_JSON>`__
|
168 |
+
- `Labeled Tab-separated Values (LTSV) <http://ltsv.org/>`__
|
169 |
+
- LaTeX: ``tabular``/``array`` environment
|
170 |
+
- Markdown: CommonMark / `GitHub Flavored Markdown (GFM) <https://github.github.com/gfm/>`__ / `kramdown <https://kramdown.gettalong.org/>`__
|
171 |
+
- `MediaWiki <https://www.mediawiki.org/wiki/MediaWiki>`__
|
172 |
+
- reStructuredText: `Grid Tables <http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#grid-tables>`__/`Simple Tables <http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#simple-tables>`__/`CSV Table <http://docutils.sourceforge.net/docs/ref/rst/directives.html#id4>`__
|
173 |
+
- Source code (definition of a variable that represents tabular data)
|
174 |
+
- JavaScript / `NumPy <https://www.numpy.org/>`__ (`numpy.array <https://docs.scipy.org/doc/numpy/reference/generated/numpy.array.html>`__) / `Pandas <https://pandas.pydata.org/>`__ (`pandas.DataFrame <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html>`__) / Python
|
175 |
+
- `TOML <https://github.com/toml-lang/toml>`__
|
176 |
+
- `YAML <https://yaml.org/>`__
|
177 |
+
- Unicode
|
178 |
+
- Binary file formats:
|
179 |
+
- Microsoft Excel :superscript:`TM` (``.xlsx``/``.xls`` file format)
|
180 |
+
- `pandas.DataFrame <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html>`__ pickle file
|
181 |
+
- `SQLite <https://www.sqlite.org/index.html>`__ database
|
182 |
+
- Application-specific formats:
|
183 |
+
- `Elasticsearch <https://www.elastic.co/products/elasticsearch>`__
|
184 |
+
- Automatic table cell formatting:
|
185 |
+
- Alignment
|
186 |
+
- Padding
|
187 |
+
- Decimal places of numbers
|
188 |
+
- Customize table cell styles:
|
189 |
+
- Text/Background color
|
190 |
+
- Text alignment
|
191 |
+
- Font size/weight
|
192 |
+
- Thousand separator for numbers: e.g. ``1,000``/``1 000``
|
193 |
+
- Configure output:
|
194 |
+
- Write a table to a stream such as a file/standard-output/string-buffer/Jupyter-Notebook
|
195 |
+
- Get rendered tabular text
|
196 |
+
- Data sources:
|
197 |
+
- nested list
|
198 |
+
- CSV
|
199 |
+
- `pandas.DataFrame <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html>`__ / `pandas.Series <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.html>`__
|
200 |
+
- etc.
|
201 |
+
- Multibyte character support
|
202 |
+
- ANSI color support
|
203 |
+
|
204 |
+
Installation
|
205 |
+
============
|
206 |
+
|
207 |
+
Installation: pip
|
208 |
+
------------------------------
|
209 |
+
::
|
210 |
+
|
211 |
+
pip install pytablewriter
|
212 |
+
|
213 |
+
Some of the formats require additional dependency packages, you can install these packages as follows:
|
214 |
+
|
215 |
+
.. csv-table:: Installation of optional dependencies
|
216 |
+
:header: Installation example, Remark
|
217 |
+
|
218 |
+
``pip install pytablewriter[es]``, Elasticsearch
|
219 |
+
``pip install pytablewriter[excel]``, Excel
|
220 |
+
``pip install pytablewriter[html]``, HTML
|
221 |
+
``pip install pytablewriter[sqlite]``, SQLite database
|
222 |
+
``pip install pytablewriter[toml]``, TOML
|
223 |
+
``pip install pytablewriter[theme]``, pytablewriter theme plugins
|
224 |
+
``pip install pytablewriter[all]``, Install all of the optional dependencies
|
225 |
+
|
226 |
+
Installation: conda
|
227 |
+
------------------------------
|
228 |
+
::
|
229 |
+
|
230 |
+
conda install -c conda-forge pytablewriter
|
231 |
+
|
232 |
+
Installation: apt
|
233 |
+
------------------------------
|
234 |
+
::
|
235 |
+
|
236 |
+
sudo add-apt-repository ppa:thombashi/ppa
|
237 |
+
sudo apt update
|
238 |
+
sudo apt install python3-pytablewriter
|
239 |
+
|
240 |
+
Examples
|
241 |
+
==========
|
242 |
+
Write tables
|
243 |
+
--------------
|
244 |
+
Write a Markdown table
|
245 |
+
~~~~~~~~~~~~~~~~~~~~~~~~
|
246 |
+
:Sample Code:
|
247 |
+
.. code-block:: python
|
248 |
+
|
249 |
+
from pytablewriter import MarkdownTableWriter
|
250 |
+
|
251 |
+
def main():
|
252 |
+
writer = MarkdownTableWriter(
|
253 |
+
table_name="example_table",
|
254 |
+
headers=["int", "float", "str", "bool", "mix", "time"],
|
255 |
+
value_matrix=[
|
256 |
+
[0, 0.1, "hoge", True, 0, "2017-01-01 03:04:05+0900"],
|
257 |
+
[2, "-2.23", "foo", False, None, "2017-12-23 45:01:23+0900"],
|
258 |
+
[3, 0, "bar", "true", "inf", "2017-03-03 33:44:55+0900"],
|
259 |
+
[-10, -9.9, "", "FALSE", "nan", "2017-01-01 00:00:00+0900"],
|
260 |
+
],
|
261 |
+
)
|
262 |
+
writer.write_table()
|
263 |
+
|
264 |
+
if __name__ == "__main__":
|
265 |
+
main()
|
266 |
+
|
267 |
+
:Output:
|
268 |
+
.. code-block::
|
269 |
+
|
270 |
+
# example_table
|
271 |
+
|int|float|str |bool | mix | time |
|
272 |
+
|--:|----:|----|-----|-------:|------------------------|
|
273 |
+
| 0| 0.10|hoge|True | 0|2017-01-01 03:04:05+0900|
|
274 |
+
| 2|-2.23|foo |False| |2017-12-23 12:34:51+0900|
|
275 |
+
| 3| 0.00|bar |True |Infinity|2017-03-03 22:44:55+0900|
|
276 |
+
|-10|-9.90| |False| NaN|2017-01-01 00:00:00+0900|
|
277 |
+
|
278 |
+
:Rendering Result:
|
279 |
+
.. figure:: https://cdn.jsdelivr.net/gh/thombashi/pytablewriter@master/docs/pages/examples/table_format/text/ss/markdown.png
|
280 |
+
:scale: 80%
|
281 |
+
:alt: https://github.com/thombashi/pytablewriter/blob/master/docs/pages/examples/table_format/text/ss/markdown.png
|
282 |
+
|
283 |
+
Rendered markdown at GitHub
|
284 |
+
|
285 |
+
Write a Markdown table with margins
|
286 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
287 |
+
:Sample Code:
|
288 |
+
.. code-block:: python
|
289 |
+
|
290 |
+
from pytablewriter import MarkdownTableWriter
|
291 |
+
|
292 |
+
def main():
|
293 |
+
writer = MarkdownTableWriter(
|
294 |
+
table_name="write a table with margins",
|
295 |
+
headers=["int", "float", "str", "bool", "mix", "time"],
|
296 |
+
value_matrix=[
|
297 |
+
[0, 0.1, "hoge", True, 0, "2017-01-01 03:04:05+0900"],
|
298 |
+
[2, "-2.23", "foo", False, None, "2017-12-23 45:01:23+0900"],
|
299 |
+
[3, 0, "bar", "true", "inf", "2017-03-03 33:44:55+0900"],
|
300 |
+
[-10, -9.9, "", "FALSE", "nan", "2017-01-01 00:00:00+0900"],
|
301 |
+
],
|
302 |
+
margin=1 # add a whitespace for both sides of each cell
|
303 |
+
)
|
304 |
+
writer.write_table()
|
305 |
+
|
306 |
+
if __name__ == "__main__":
|
307 |
+
main()
|
308 |
+
|
309 |
+
:Output:
|
310 |
+
.. code-block::
|
311 |
+
|
312 |
+
# write a table with margins
|
313 |
+
| int | float | str | bool | mix | time |
|
314 |
+
| --: | ----: | ---- | ----- | -------: | ------------------------ |
|
315 |
+
| 0 | 0.10 | hoge | True | 0 | 2017-01-01 03:04:05+0900 |
|
316 |
+
| 2 | -2.23 | foo | False | | 2017-12-23 12:34:51+0900 |
|
317 |
+
| 3 | 0.00 | bar | True | Infinity | 2017-03-03 22:44:55+0900 |
|
318 |
+
| -10 | -9.90 | | False | NaN | 2017-01-01 00:00:00+0900 |
|
319 |
+
|
320 |
+
``margin`` attribute can be available for all of the text format writer classes.
|
321 |
+
|
322 |
+
Write a GitHub Flavored Markdown (GFM) table
|
323 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
324 |
+
If you set ``flavor`` keyword argument of ``MarkdownTableWriter`` class to ``"github"`` or ``"gfm"``, the writer will output markdown tables with GitHub flavor.
|
325 |
+
GFM can apply some additional styles to tables such as ``fg_color`` (text color).
|
326 |
+
|
327 |
+
:Sample Code:
|
328 |
+
.. code-block:: python
|
329 |
+
|
330 |
+
from pytablewriter import MarkdownTableWriter
|
331 |
+
from pytablewriter.style import Style
|
332 |
+
|
333 |
+
writer = MarkdownTableWriter(
|
334 |
+
column_styles=[
|
335 |
+
Style(fg_color="red"),
|
336 |
+
Style(fg_color="green", decoration_line="underline"),
|
337 |
+
],
|
338 |
+
headers=["A", "B"],
|
339 |
+
value_matrix=[
|
340 |
+
["abc", 1],
|
341 |
+
["efg", 2],
|
342 |
+
],
|
343 |
+
margin=1,
|
344 |
+
flavor="github",
|
345 |
+
enable_ansi_escape=False,
|
346 |
+
)
|
347 |
+
writer.write_table()
|
348 |
+
|
349 |
+
Rendered results can be found at `here <https://github.com/thombashi/pytablewriter/blob/master/docs/pages/examples/output/markdown/gfm.md>`__
|
350 |
+
|
351 |
+
Apply styles to GFM table with programmatically
|
352 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
353 |
+
Applying style filters to GFM allows for more flexible style settings for cells.
|
354 |
+
See also the `example <#style-filter>`_
|
355 |
+
|
356 |
+
Write a Markdown table to a stream or a file
|
357 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
358 |
+
`Refer an example <https://github.com/thombashi/pytablewriter/blob/master/examples/py/stream/configure_stream.py>`__
|
359 |
+
|
360 |
+
Write a table to an Excel sheet
|
361 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
362 |
+
:Sample Code:
|
363 |
+
.. code-block:: python
|
364 |
+
|
365 |
+
from pytablewriter import ExcelXlsxTableWriter
|
366 |
+
|
367 |
+
def main():
|
368 |
+
writer = ExcelXlsxTableWriter()
|
369 |
+
writer.table_name = "example"
|
370 |
+
writer.headers = ["int", "float", "str", "bool", "mix", "time"]
|
371 |
+
writer.value_matrix = [
|
372 |
+
[0, 0.1, "hoge", True, 0, "2017-01-01 03:04:05+0900"],
|
373 |
+
[2, "-2.23", "foo", False, None, "2017-12-23 12:34:51+0900"],
|
374 |
+
[3, 0, "bar", "true", "inf", "2017-03-03 22:44:55+0900"],
|
375 |
+
[-10, -9.9, "", "FALSE", "nan", "2017-01-01 00:00:00+0900"],
|
376 |
+
]
|
377 |
+
writer.dump("sample.xlsx")
|
378 |
+
|
379 |
+
if __name__ == "__main__":
|
380 |
+
main()
|
381 |
+
|
382 |
+
:Output:
|
383 |
+
.. figure:: https://cdn.jsdelivr.net/gh/thombashi/pytablewriter@master/docs/pages/examples/table_format/binary/spreadsheet/ss/excel_single.png
|
384 |
+
:scale: 100%
|
385 |
+
:alt: https://github.com/thombashi/pytablewriter/blob/master/docs/pages/examples/table_format/binary/spreadsheet/ss/excel_single.png
|
386 |
+
|
387 |
+
Output excel file (``sample_single.xlsx``)
|
388 |
+
|
389 |
+
Write a Unicode table
|
390 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
391 |
+
:Sample Code:
|
392 |
+
.. code-block:: python
|
393 |
+
|
394 |
+
from pytablewriter import UnicodeTableWriter
|
395 |
+
|
396 |
+
def main():
|
397 |
+
writer = UnicodeTableWriter(
|
398 |
+
table_name="example_table",
|
399 |
+
headers=["int", "float", "str", "bool", "mix", "time"],
|
400 |
+
value_matrix=[
|
401 |
+
[0, 0.1, "hoge", True, 0, "2017-01-01 03:04:05+0900"],
|
402 |
+
[2, "-2.23", "foo", False, None, "2017-12-23 45:01:23+0900"],
|
403 |
+
[3, 0, "bar", "true", "inf", "2017-03-03 33:44:55+0900"],
|
404 |
+
[-10, -9.9, "", "FALSE", "nan", "2017-01-01 00:00:00+0900"],
|
405 |
+
]
|
406 |
+
)
|
407 |
+
writer.write_table()
|
408 |
+
|
409 |
+
if __name__ == "__main__":
|
410 |
+
main()
|
411 |
+
|
412 |
+
:Output:
|
413 |
+
.. code-block::
|
414 |
+
|
415 |
+
┌───┬─────┬────┬─────┬────────┬────────────────────────┐
|
416 |
+
│int│float│str │bool │ mix │ time │
|
417 |
+
├───┼─────┼────┼─────┼────────┼────────────────────────┤
|
418 |
+
│ 0│ 0.10│hoge│True │ 0│2017-01-01 03:04:05+0900│
|
419 |
+
├───┼─────┼────┼─────┼────────┼────────────────────────┤
|
420 |
+
│ 2│-2.23│foo │False│ │2017-12-23 12:34:51+0900│
|
421 |
+
├───┼─────┼────┼─────┼────────┼────────────────────────┤
|
422 |
+
│ 3│ 0.00│bar │True │Infinity│2017-03-03 22:44:55+0900│
|
423 |
+
├───┼─────┼────┼─────┼────────┼────────────────────────┤
|
424 |
+
│-10│-9.90│ │False│ NaN│2017-01-01 00:00:00+0900│
|
425 |
+
└───┴─────┴────┴─────┴────────┴────────────────────────┘
|
426 |
+
|
427 |
+
Write a table with JavaScript format (as a nested list variable definition)
|
428 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
429 |
+
:Sample Code:
|
430 |
+
.. code-block:: python
|
431 |
+
|
432 |
+
import pytablewriter as ptw
|
433 |
+
|
434 |
+
|
435 |
+
def main():
|
436 |
+
writer = ptw.JavaScriptTableWriter(
|
437 |
+
table_name="js_variable",
|
438 |
+
headers=["int", "float", "str", "bool", "mix", "time"],
|
439 |
+
value_matrix=[
|
440 |
+
[0, 0.1, "hoge", True, 0, "2017-01-01 03:04:05+0900"],
|
441 |
+
[2, "-2.23", "foo", False, None, "2017-12-23 45:01:23+0900"],
|
442 |
+
[3, 0, "bar", "true", "inf", "2017-03-03 33:44:55+0900"],
|
443 |
+
[-10, -9.9, "", "FALSE", "nan", "2017-01-01 00:00:00+0900"],
|
444 |
+
],
|
445 |
+
)
|
446 |
+
|
447 |
+
writer.write_table()
|
448 |
+
|
449 |
+
|
450 |
+
if __name__ == "__main__":
|
451 |
+
main()
|
452 |
+
|
453 |
+
:Output:
|
454 |
+
.. code-block:: js
|
455 |
+
|
456 |
+
const js_variable = [
|
457 |
+
["int", "float", "str", "bool", "mix", "time"],
|
458 |
+
[0, 0.1, "hoge", true, 0, "2017-01-01 03:04:05+0900"],
|
459 |
+
[2, -2.23, "foo", false, null, "2017-12-23 45:01:23+0900"],
|
460 |
+
[3, 0, "bar", true, Infinity, "2017-03-03 33:44:55+0900"],
|
461 |
+
[-10, -9.9, "", "FALSE", NaN, "2017-01-01 00:00:00+0900"]
|
462 |
+
];
|
463 |
+
|
464 |
+
Write a Markdown table from ``pandas.DataFrame`` instance
|
465 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
466 |
+
``from_dataframe`` method of writer classes will set up tabular data from ``pandas.DataFrame``:
|
467 |
+
|
468 |
+
:Sample Code:
|
469 |
+
.. code-block:: python
|
470 |
+
|
471 |
+
from textwrap import dedent
|
472 |
+
import pandas as pd
|
473 |
+
import io
|
474 |
+
from pytablewriter import MarkdownTableWriter
|
475 |
+
|
476 |
+
def main():
|
477 |
+
csv_data = io.StringIO(dedent("""\
|
478 |
+
"i","f","c","if","ifc","bool","inf","nan","mix_num","time"
|
479 |
+
1,1.10,"aa",1.0,"1",True,Infinity,NaN,1,"2017-01-01 00:00:00+09:00"
|
480 |
+
2,2.20,"bbb",2.2,"2.2",False,Infinity,NaN,Infinity,"2017-01-02 03:04:05+09:00"
|
481 |
+
3,3.33,"cccc",-3.0,"ccc",True,Infinity,NaN,NaN,"2017-01-01 00:00:00+09:00"
|
482 |
+
"""))
|
483 |
+
df = pd.read_csv(csv_data, sep=',')
|
484 |
+
|
485 |
+
writer = MarkdownTableWriter(dataframe=df)
|
486 |
+
writer.write_table()
|
487 |
+
|
488 |
+
if __name__ == "__main__":
|
489 |
+
main()
|
490 |
+
|
491 |
+
:Output:
|
492 |
+
.. code-block::
|
493 |
+
|
494 |
+
| i | f | c | if |ifc|bool | inf |nan|mix_num | time |
|
495 |
+
|--:|---:|----|---:|---|-----|--------|---|-------:|-------------------------|
|
496 |
+
| 1|1.10|aa | 1.0| 1|True |Infinity|NaN| 1|2017-01-01 00:00:00+09:00|
|
497 |
+
| 2|2.20|bbb | 2.2|2.2|False|Infinity|NaN|Infinity|2017-01-02 03:04:05+09:00|
|
498 |
+
| 3|3.33|cccc|-3.0|ccc|True |Infinity|NaN| NaN|2017-01-01 00:00:00+09:00|
|
499 |
+
|
500 |
+
|
501 |
+
Adding a column of the DataFrame index if you specify ``add_index_column=True``:
|
502 |
+
|
503 |
+
:Sample Code:
|
504 |
+
.. code-block:: python
|
505 |
+
|
506 |
+
import pandas as pd
|
507 |
+
import pytablewriter as ptw
|
508 |
+
|
509 |
+
def main():
|
510 |
+
writer = ptw.MarkdownTableWriter(table_name="add_index_column")
|
511 |
+
writer.from_dataframe(
|
512 |
+
pd.DataFrame({"A": [1, 2], "B": [10, 11]}, index=["a", "b"]),
|
513 |
+
add_index_column=True,
|
514 |
+
)
|
515 |
+
writer.write_table()
|
516 |
+
|
517 |
+
if __name__ == "__main__":
|
518 |
+
main()
|
519 |
+
|
520 |
+
:Output:
|
521 |
+
.. code-block::
|
522 |
+
|
523 |
+
# add_index_column
|
524 |
+
| | A | B |
|
525 |
+
|---|--:|--:|
|
526 |
+
|a | 1| 10|
|
527 |
+
|b | 2| 11|
|
528 |
+
|
529 |
+
Write a Markdown table from space-separated values
|
530 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
531 |
+
:Sample Code:
|
532 |
+
.. code-block:: python
|
533 |
+
|
534 |
+
import pytablewriter as ptw
|
535 |
+
|
536 |
+
|
537 |
+
def main():
|
538 |
+
writer = ptw.MarkdownTableWriter(table_name="ps")
|
539 |
+
writer.from_csv(
|
540 |
+
"""
|
541 |
+
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
|
542 |
+
root 1 0.0 0.4 77664 8784 ? Ss May11 0:02 /sbin/init
|
543 |
+
root 2 0.0 0.0 0 0 ? S May11 0:00 [kthreadd]
|
544 |
+
root 4 0.0 0.0 0 0 ? I< May11 0:00 [kworker/0:0H]
|
545 |
+
root 6 0.0 0.0 0 0 ? I< May11 0:00 [mm_percpu_wq]
|
546 |
+
root 7 0.0 0.0 0 0 ? S May11 0:01 [ksoftirqd/0]
|
547 |
+
""",
|
548 |
+
delimiter=" ",
|
549 |
+
)
|
550 |
+
writer.write_table()
|
551 |
+
|
552 |
+
|
553 |
+
if __name__ == "__main__":
|
554 |
+
main()
|
555 |
+
|
556 |
+
:Output:
|
557 |
+
.. code-block::
|
558 |
+
|
559 |
+
# ps
|
560 |
+
|USER|PID|%CPU|%MEM| VSZ |RSS |TTY|STAT|START|TIME| COMMAND |
|
561 |
+
|----|--:|---:|---:|----:|---:|---|----|-----|----|--------------|
|
562 |
+
|root| 1| 0| 0.4|77664|8784|? |Ss |May11|0:02|/sbin/init |
|
563 |
+
|root| 2| 0| 0.0| 0| 0|? |S |May11|0:00|[kthreadd] |
|
564 |
+
|root| 4| 0| 0.0| 0| 0|? |I< |May11|0:00|[kworker/0:0H]|
|
565 |
+
|root| 6| 0| 0.0| 0| 0|? |I< |May11|0:00|[mm_percpu_wq]|
|
566 |
+
|root| 7| 0| 0.0| 0| 0|? |S |May11|0:01|[ksoftirqd/0] |
|
567 |
+
|
568 |
+
Get rendered tabular text as str
|
569 |
+
----------------------------------
|
570 |
+
``dumps`` method returns rendered tabular text.
|
571 |
+
``dumps`` only available for text format writers.
|
572 |
+
|
573 |
+
:Sample Code:
|
574 |
+
.. code-block:: python
|
575 |
+
|
576 |
+
import pytablewriter as ptw
|
577 |
+
|
578 |
+
|
579 |
+
def main():
|
580 |
+
writer = ptw.MarkdownTableWriter(
|
581 |
+
headers=["int", "float", "str", "bool", "mix", "time"],
|
582 |
+
value_matrix=[
|
583 |
+
[0, 0.1, "hoge", True, 0, "2017-01-01 03:04:05+0900"],
|
584 |
+
[2, "-2.23", "foo", False, None, "2017-12-23 45:01:23+0900"],
|
585 |
+
[3, 0, "bar", "true", "inf", "2017-03-03 33:44:55+0900"],
|
586 |
+
[-10, -9.9, "", "FALSE", "nan", "2017-01-01 00:00:00+0900"],
|
587 |
+
],
|
588 |
+
)
|
589 |
+
|
590 |
+
print(writer.dumps())
|
591 |
+
|
592 |
+
|
593 |
+
if __name__ == "__main__":
|
594 |
+
main()
|
595 |
+
|
596 |
+
:Output:
|
597 |
+
.. code-block::
|
598 |
+
|
599 |
+
|int|float|str |bool | mix | time |
|
600 |
+
|--:|----:|----|-----|-------:|------------------------|
|
601 |
+
| 0| 0.10|hoge|True | 0|2017-01-01 03:04:05+0900|
|
602 |
+
| 2|-2.23|foo |False| |2017-12-23 45:01:23+0900|
|
603 |
+
| 3| 0.00|bar |True |Infinity|2017-03-03 33:44:55+0900|
|
604 |
+
|-10|-9.90| |False| NaN|2017-01-01 00:00:00+0900|
|
605 |
+
|
606 |
+
Configure table styles
|
607 |
+
------------------------
|
608 |
+
Column styles
|
609 |
+
~~~~~~~~~~~~~~~
|
610 |
+
Writers can specify
|
611 |
+
`Style <https://pytablewriter.rtfd.io/en/latest/pages/reference/style.html>`__
|
612 |
+
for each column by ``column_styles`` attribute of writer classes.
|
613 |
+
|
614 |
+
:Sample Code:
|
615 |
+
.. code-block:: python
|
616 |
+
|
617 |
+
import pytablewriter as ptw
|
618 |
+
from pytablewriter.style import Style
|
619 |
+
|
620 |
+
|
621 |
+
def main():
|
622 |
+
writer = ptw.MarkdownTableWriter(
|
623 |
+
table_name="set style by column_styles",
|
624 |
+
headers=[
|
625 |
+
"auto align",
|
626 |
+
"left align",
|
627 |
+
"center align",
|
628 |
+
"bold",
|
629 |
+
"italic",
|
630 |
+
"bold italic ts",
|
631 |
+
],
|
632 |
+
value_matrix=[
|
633 |
+
[11, 11, 11, 11, 11, 11],
|
634 |
+
[1234, 1234, 1234, 1234, 1234, 1234],
|
635 |
+
],
|
636 |
+
column_styles=[
|
637 |
+
Style(),
|
638 |
+
Style(align="left"),
|
639 |
+
Style(align="center"),
|
640 |
+
Style(font_weight="bold"),
|
641 |
+
Style(font_style="italic"),
|
642 |
+
Style(font_weight="bold", font_style="italic", thousand_separator=","),
|
643 |
+
], # specify styles for each column
|
644 |
+
)
|
645 |
+
writer.write_table()
|
646 |
+
|
647 |
+
|
648 |
+
if __name__ == "__main__":
|
649 |
+
main()
|
650 |
+
|
651 |
+
:Output:
|
652 |
+
.. code-block::
|
653 |
+
|
654 |
+
# set style by styles
|
655 |
+
|auto align|left align|center align| bold |italic|bold italic ts|
|
656 |
+
|---------:|----------|:----------:|-------:|-----:|-------------:|
|
657 |
+
| 11|11 | 11 | **11**| _11_| _**11**_|
|
658 |
+
| 1234|1234 | 1234 |**1234**|_1234_| _**1,234**_|
|
659 |
+
|
660 |
+
`Rendering result <https://github.com/thombashi/pytablewriter/tree/master/docs/pages/examples/style/output.md>`__
|
661 |
+
|
662 |
+
|
663 |
+
You can also set ``Style`` to a specific column with an index or header by using ``set_style`` method:
|
664 |
+
|
665 |
+
:Sample Code:
|
666 |
+
.. code-block:: python
|
667 |
+
|
668 |
+
from pytablewriter import MarkdownTableWriter
|
669 |
+
from pytablewriter.style import Style
|
670 |
+
|
671 |
+
def main():
|
672 |
+
writer = MarkdownTableWriter()
|
673 |
+
writer.headers = ["A", "B", "C",]
|
674 |
+
writer.value_matrix = [[11, 11, 11], [1234, 1234, 1234]]
|
675 |
+
|
676 |
+
writer.table_name = "set style by column index"
|
677 |
+
writer.set_style(1, Style(align="center", font_weight="bold"))
|
678 |
+
writer.set_style(2, Style(thousand_separator=" "))
|
679 |
+
writer.write_table()
|
680 |
+
writer.write_null_line()
|
681 |
+
|
682 |
+
writer.table_name = "set style by header"
|
683 |
+
writer.set_style("B", Style(font_style="italic"))
|
684 |
+
writer.write_table()
|
685 |
+
|
686 |
+
if __name__ == "__main__":
|
687 |
+
main()
|
688 |
+
|
689 |
+
:Output:
|
690 |
+
.. code-block::
|
691 |
+
|
692 |
+
# set style by column index
|
693 |
+
| A | B | C |
|
694 |
+
|---:|:------:|----:|
|
695 |
+
| 11| **11** | 11|
|
696 |
+
|1234|**1234**|1 234|
|
697 |
+
|
698 |
+
# set style by header
|
699 |
+
| A | B | C |
|
700 |
+
|---:|-----:|----:|
|
701 |
+
| 11| _11_| 11|
|
702 |
+
|1234|_1234_|1 234|
|
703 |
+
|
704 |
+
Style filter
|
705 |
+
~~~~~~~~~~~~~~
|
706 |
+
You can apply styles to specific cells by using style filters.
|
707 |
+
Style filters will be written as Python functions.
|
708 |
+
Examples of a style filter function and how you apply it are as follows:
|
709 |
+
|
710 |
+
:Sample Code:
|
711 |
+
.. code-block:: python
|
712 |
+
|
713 |
+
from typing import Any, Optional
|
714 |
+
|
715 |
+
from pytablewriter import MarkdownTableWriter
|
716 |
+
from pytablewriter.style import Cell, Style
|
717 |
+
|
718 |
+
|
719 |
+
def style_filter(cell: Cell, **kwargs: Any) -> Optional[Style]:
|
720 |
+
if cell.is_header_row():
|
721 |
+
return None
|
722 |
+
|
723 |
+
if cell.col == 0:
|
724 |
+
return Style(font_weight="bold")
|
725 |
+
|
726 |
+
value = int(cell.value)
|
727 |
+
|
728 |
+
if value > 80:
|
729 |
+
return Style(fg_color="red", font_weight="bold", decoration_line="underline")
|
730 |
+
elif value > 50:
|
731 |
+
return Style(fg_color="yellow", font_weight="bold")
|
732 |
+
elif value > 20:
|
733 |
+
return Style(fg_color="green")
|
734 |
+
|
735 |
+
return Style(fg_color="lightblue")
|
736 |
+
|
737 |
+
|
738 |
+
writer = MarkdownTableWriter(
|
739 |
+
table_name="style filter example",
|
740 |
+
headers=["Key", "Value 1", "Value 2"],
|
741 |
+
value_matrix=[
|
742 |
+
["A", 95, 40],
|
743 |
+
["B", 55, 5],
|
744 |
+
["C", 30, 85],
|
745 |
+
["D", 0, 69],
|
746 |
+
],
|
747 |
+
flavor="github",
|
748 |
+
enable_ansi_escape=False,
|
749 |
+
)
|
750 |
+
writer.add_style_filter(style_filter)
|
751 |
+
writer.write_table()
|
752 |
+
|
753 |
+
Rendered results can be found at `here <https://github.com/thombashi/pytablewriter/blob/master/docs/pages/examples/output/markdown/style_filter.md>`__
|
754 |
+
|
755 |
+
Theme
|
756 |
+
~~~~~~~
|
757 |
+
Themes consists of a set of style filters.
|
758 |
+
The following command will install external predefined themes:
|
759 |
+
|
760 |
+
::
|
761 |
+
|
762 |
+
pip install pytablewriter[theme]
|
763 |
+
|
764 |
+
Themes can be set via the constructor of the writer classes or the ``set_theme`` method.
|
765 |
+
The following is an example of setting the ``altrow`` theme via the constructor.
|
766 |
+
``altrow`` theme will be colored rows alternatively:
|
767 |
+
|
768 |
+
:Sample Code:
|
769 |
+
.. code-block:: python
|
770 |
+
|
771 |
+
import pytablewriter as ptw
|
772 |
+
|
773 |
+
writer = ptw.TableWriterFactory.create_from_format_name(
|
774 |
+
"markdown",
|
775 |
+
headers=["INT", "STR"],
|
776 |
+
value_matrix=[[1, "hoge"], [2, "foo"], [3, "bar"]],
|
777 |
+
margin=1,
|
778 |
+
theme="altrow",
|
779 |
+
)
|
780 |
+
writer.write_table()
|
781 |
+
|
782 |
+
:Output:
|
783 |
+
.. figure:: https://cdn.jsdelivr.net/gh/thombashi/pytablewriter-altrow-theme@master/ss/ptw-altrow-theme_example_default.png
|
784 |
+
:scale: 100%
|
785 |
+
:alt: https://github.com/thombashi/pytablewriter-altrow-theme/blob/master/ss/ptw-altrow-theme_example_default.png
|
786 |
+
|
787 |
+
`[theme]` extras includes the following themes:
|
788 |
+
|
789 |
+
- `pytablewriter-altrow-theme <https://github.com/thombashi/pytablewriter-altrow-theme>`__
|
790 |
+
- `Generated HTML table example <https://thombashi.github.io/pytablewriter-altrow-theme/example.html>`__
|
791 |
+
- `pytablewriter-altcol-theme <https://github.com/thombashi/pytablewriter-altcol-theme>`__
|
792 |
+
- `Generated HTML table example <https://thombashi.github.io/pytablewriter-altcol-theme/example.html>`__
|
793 |
+
|
794 |
+
Make tables for specific applications
|
795 |
+
---------------------------------------
|
796 |
+
Render a table on Jupyter Notebook
|
797 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
798 |
+
All table writer class instances in ``pytablewriter`` can render in Jupyter Notebook.
|
799 |
+
To render writers at notebook cells, you will require the dependency packages to be installed either by:
|
800 |
+
|
801 |
+
- ``pip install pytablewriter[html]`` or
|
802 |
+
- ``pip install pytablewriter[all]``
|
803 |
+
|
804 |
+
Jupyter Notebook code examples can be found `here <https://nbviewer.jupyter.org/github/thombashi/pytablewriter/blob/master/examples/ipynb/jupyter_notebook_example.ipynb>`__:
|
805 |
+
|
806 |
+
.. figure:: https://cdn.jsdelivr.net/gh/thombashi/pytablewriter@master/ss/jupyter_notebook.png
|
807 |
+
:scale: 100%
|
808 |
+
:alt: https://github.com/thombashi/pytablewriter/blob/master/ss/jupyter_notebook.png
|
809 |
+
|
810 |
+
Table rendering results of Jupyter Notebook
|
811 |
+
|
812 |
+
Multibyte character support
|
813 |
+
-----------------------------
|
814 |
+
Write a table using multibyte character
|
815 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
816 |
+
You can use multibyte characters as table data.
|
817 |
+
Multibyte characters are also properly padded and aligned.
|
818 |
+
|
819 |
+
:Sample Code:
|
820 |
+
.. code-block:: python
|
821 |
+
|
822 |
+
import pytablewriter as ptw
|
823 |
+
|
824 |
+
|
825 |
+
def main():
|
826 |
+
writer = ptw.RstSimpleTableWriter(
|
827 |
+
table_name="生成に関するパターン",
|
828 |
+
headers=["パターン名", "概要", "GoF", "Code Complete[1]"],
|
829 |
+
value_matrix=[
|
830 |
+
["Abstract Factory", "関連する一連のインスタンスを状況に応じて、適切に生成する方法を提供する。", "Yes", "Yes"],
|
831 |
+
["Builder", "複合化されたインスタンスの生成過程を隠蔽する。", "Yes", "No"],
|
832 |
+
["Factory Method", "実際に生成されるインスタンスに依存しない、インスタンスの生成方法を提供する。", "Yes", "Yes"],
|
833 |
+
["Prototype", "同様のインスタンスを生成するために、原型のインスタンスを複製する。", "Yes", "No"],
|
834 |
+
["Singleton", "あるクラスについて、インスタンスが単一であることを保証する。", "Yes", "Yes"],
|
835 |
+
],
|
836 |
+
)
|
837 |
+
writer.write_table()
|
838 |
+
|
839 |
+
|
840 |
+
if __name__ == "__main__":
|
841 |
+
main()
|
842 |
+
|
843 |
+
:Output:
|
844 |
+
.. figure:: https://cdn.jsdelivr.net/gh/thombashi/pytablewriter@master/docs/pages/examples/multibyte/ss/multi_byte_char.png
|
845 |
+
:scale: 100%
|
846 |
+
:alt: https://github.com/thombashi/pytablewriter/blob/master/docs/pages/examples/multibyte/ss/multi_byte_char.png
|
847 |
+
|
848 |
+
Output of multi-byte character table
|
849 |
+
|
850 |
+
Multiprocessing
|
851 |
+
-----------------
|
852 |
+
You can increase the number of workers to process table data via ``max_workers`` attribute of a writer.
|
853 |
+
The more ``max_workers`` the less processing time when tabular data is large and the execution environment has available cores.
|
854 |
+
|
855 |
+
If you increase ``max_workers`` larger than one, recommend using main guarded as follows to avoid problems caused by multi-processing:
|
856 |
+
|
857 |
+
.. code-block:: python
|
858 |
+
|
859 |
+
from multiprocessing import cpu_count
|
860 |
+
import pytablewriter as ptw
|
861 |
+
|
862 |
+
def main():
|
863 |
+
writer = ptw.MarkdownTableWriter()
|
864 |
+
writer.max_workers = cpu_count()
|
865 |
+
...
|
866 |
+
|
867 |
+
if __name__ == "__main__":
|
868 |
+
main()
|
869 |
+
|
870 |
+
For more information
|
871 |
+
----------------------
|
872 |
+
More examples are available at
|
873 |
+
https://pytablewriter.rtfd.io/en/latest/pages/examples/index.html
|
874 |
+
|
875 |
+
Dependencies
|
876 |
+
============
|
877 |
+
- Python 3.7+
|
878 |
+
- `Python package dependencies (automatically installed) <https://github.com/thombashi/pytablewriter/network/dependencies>`__
|
879 |
+
|
880 |
+
|
881 |
+
Optional dependencies
|
882 |
+
---------------------
|
883 |
+
- ``logging`` extras
|
884 |
+
- `loguru <https://github.com/Delgan/loguru>`__: Used for logging if the package installed
|
885 |
+
- ``from`` extras
|
886 |
+
- `pytablereader <https://github.com/thombashi/pytablereader>`__
|
887 |
+
- ``es`` extra
|
888 |
+
- `elasticsearch <https://github.com/elastic/elasticsearch-py>`__
|
889 |
+
- ``excel`` extras
|
890 |
+
- `xlwt <http://www.python-excel.org/>`__
|
891 |
+
- `XlsxWriter <https://github.com/jmcnamara/XlsxWriter>`__
|
892 |
+
- ``html`` extras
|
893 |
+
- `dominate <https://github.com/Knio/dominate/>`__
|
894 |
+
- ``sqlite`` extras
|
895 |
+
- `SimpleSQLite <https://github.com/thombashi/SimpleSQLite>`__
|
896 |
+
- ``theme`` extras
|
897 |
+
- `pytablewriter-altrow-theme <https://github.com/thombashi/pytablewriter-altrow-theme>`__
|
898 |
+
- `pytablewriter-altcol-theme <https://github.com/thombashi/pytablewriter-altcol-theme>`__
|
899 |
+
- ``toml`` extras
|
900 |
+
- `toml <https://github.com/uiri/toml>`__
|
901 |
+
|
902 |
+
Documentation
|
903 |
+
===============
|
904 |
+
https://pytablewriter.rtfd.io/
|
905 |
+
|
906 |
+
Projects using pytablewriter
|
907 |
+
==================================
|
908 |
+
- `pytest-md-report <https://github.com/thombashi/pytest-md-report>`__
|
909 |
+
|
910 |
+
|
911 |
+
Related Projects
|
912 |
+
==================================
|
913 |
+
- `pytablereader <https://github.com/thombashi/pytablereader>`__
|
914 |
+
- Tabular data loaded by ``pytablereader`` can be written another tabular data format with ``pytablewriter``.
|
915 |
+
|
916 |
+
Sponsors
|
917 |
+
====================================
|
918 |
+
.. image:: https://avatars.githubusercontent.com/u/44389260?s=48&u=6da7176e51ae2654bcfd22564772ef8a3bb22318&v=4
|
919 |
+
:target: https://github.com/chasbecker
|
920 |
+
:alt: Charles Becker (chasbecker)
|
921 |
+
.. image:: https://avatars.githubusercontent.com/u/46711571?s=48&u=57687c0e02d5d6e8eeaf9177f7b7af4c9f275eb5&v=4
|
922 |
+
:target: https://github.com/Arturi0
|
923 |
+
:alt: onetime: Arturi0
|
924 |
+
.. image:: https://avatars.githubusercontent.com/u/3658062?s=48&v=4
|
925 |
+
:target: https://github.com/b4tman
|
926 |
+
:alt: onetime: Dmitry Belyaev (b4tman)
|
927 |
+
|
928 |
+
`Become a sponsor <https://github.com/sponsors/thombashi>`__
|
929 |
+
|
env-llmeval/lib/python3.10/site-packages/pytablewriter-1.2.0.dist-info/RECORD
ADDED
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pytablewriter-1.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
pytablewriter-1.2.0.dist-info/LICENSE,sha256=qT11vLB3TimQEGOAytrW3LLeGTxV1DX_xWujRaCLHcI,1084
|
3 |
+
pytablewriter-1.2.0.dist-info/METADATA,sha256=0Wnu9isWPIZJlWz2FbvlAtx2yycl-4II7DxUMD9yO_o,37921
|
4 |
+
pytablewriter-1.2.0.dist-info/RECORD,,
|
5 |
+
pytablewriter-1.2.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
6 |
+
pytablewriter-1.2.0.dist-info/top_level.txt,sha256=4qovxzrpT62Feu8LLdPGtIqYBswTr4QcU4mRmpM61-k,14
|
7 |
+
pytablewriter/__init__.py,sha256=E2Y4TxopUWgqMateYeM22S6pGZct8qa_S78a1J_x9ao,2942
|
8 |
+
pytablewriter/__pycache__/__init__.cpython-310.pyc,,
|
9 |
+
pytablewriter/__pycache__/__version__.cpython-310.pyc,,
|
10 |
+
pytablewriter/__pycache__/_converter.cpython-310.pyc,,
|
11 |
+
pytablewriter/__pycache__/_factory.cpython-310.pyc,,
|
12 |
+
pytablewriter/__pycache__/_function.cpython-310.pyc,,
|
13 |
+
pytablewriter/__pycache__/_table_format.cpython-310.pyc,,
|
14 |
+
pytablewriter/__pycache__/_typing.cpython-310.pyc,,
|
15 |
+
pytablewriter/__pycache__/error.cpython-310.pyc,,
|
16 |
+
pytablewriter/__version__.py,sha256=jMpcYYHOmAVqxHupt-XeoKSCb2KyHxAKYdLvxCET3VU,201
|
17 |
+
pytablewriter/_converter.py,sha256=iPlzCNzbGPJ4eSfgMz7DwD7GjaV0n1zxBm_iIzbvG7E,238
|
18 |
+
pytablewriter/_factory.py,sha256=jd12k0fPgy7YwdXjO26T4MK-XxEOLHZylUaUEcX4HH4,10839
|
19 |
+
pytablewriter/_function.py,sha256=rBDD1Uka9k7R4adjUf2syCAipN4me7ymNJXpAGoO7kk,2402
|
20 |
+
pytablewriter/_logger/__init__.py,sha256=DzORajZGSzcVR5wMlNgQ2b54Pr1CBgaN3OycGTp9s7g,107
|
21 |
+
pytablewriter/_logger/__pycache__/__init__.cpython-310.pyc,,
|
22 |
+
pytablewriter/_logger/__pycache__/_logger.cpython-310.pyc,,
|
23 |
+
pytablewriter/_logger/__pycache__/_null_logger.cpython-310.pyc,,
|
24 |
+
pytablewriter/_logger/_logger.py,sha256=-kcFift5s8FXFqB4ajALK7Dpnkyc9aWRGV6JrXZhpgI,3287
|
25 |
+
pytablewriter/_logger/_null_logger.py,sha256=QJuaErUIV_x6NjQ9qNX9eNSi_GB_9CrO7lKeXYZnuaw,1088
|
26 |
+
pytablewriter/_table_format.py,sha256=CowmtamVcQYT4zmvGbw6vIexTBadtSigoDmw9_FamlM,9446
|
27 |
+
pytablewriter/_typing.py,sha256=HRJjzKYxa8rxk0DOurr5LPTs57flr7aQKiKjBtkR4is,109604
|
28 |
+
pytablewriter/error.py,sha256=MwPbc4EtUklc7X3eVWADVCA6rrzelfsBcH16E0pJQeE,787
|
29 |
+
pytablewriter/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
30 |
+
pytablewriter/sanitizer/__init__.py,sha256=Ob9cbVV0DBI6W6fupmMIHEgoSCdaGeyxo_VhfvNizEM,703
|
31 |
+
pytablewriter/sanitizer/__pycache__/__init__.cpython-310.pyc,,
|
32 |
+
pytablewriter/sanitizer/__pycache__/_base.cpython-310.pyc,,
|
33 |
+
pytablewriter/sanitizer/__pycache__/_elasticsearch.cpython-310.pyc,,
|
34 |
+
pytablewriter/sanitizer/__pycache__/_excel.cpython-310.pyc,,
|
35 |
+
pytablewriter/sanitizer/__pycache__/_interface.cpython-310.pyc,,
|
36 |
+
pytablewriter/sanitizer/__pycache__/_javascript.cpython-310.pyc,,
|
37 |
+
pytablewriter/sanitizer/__pycache__/_python.cpython-310.pyc,,
|
38 |
+
pytablewriter/sanitizer/_base.py,sha256=njQCXCWzVmvgZuGH5qDKVNqMSAKj6hHBla1S36_g4qo,2898
|
39 |
+
pytablewriter/sanitizer/_elasticsearch.py,sha256=yTUCMks3ghGMrClpvE5jEplOi-8tZ0cJx0vObi1eOBM,733
|
40 |
+
pytablewriter/sanitizer/_excel.py,sha256=6zWWt6Umtt7kCCO7HPYeEqFQkj5OlkOJqMlJdPiMLFY,2458
|
41 |
+
pytablewriter/sanitizer/_interface.py,sha256=mH2SpdHYgvpENEfLmGZhQnfSs-1DD86PhT6g69fI5kE,913
|
42 |
+
pytablewriter/sanitizer/_javascript.py,sha256=UO2KzHncysO6pWYGiLstVWDMskVb5apzz2PfLsgzHrQ,3570
|
43 |
+
pytablewriter/sanitizer/_python.py,sha256=RYEzmPuCx7D1y5mhjoTzoeHhIaVVVaHpWbvwTFkFyJw,3072
|
44 |
+
pytablewriter/style/__init__.py,sha256=OmdQIAKEu8o5E9Xu9fN_kQ1SAtCZZPebFEY8QQjGFpQ,1107
|
45 |
+
pytablewriter/style/__pycache__/__init__.cpython-310.pyc,,
|
46 |
+
pytablewriter/style/__pycache__/_cell.cpython-310.pyc,,
|
47 |
+
pytablewriter/style/__pycache__/_font.cpython-310.pyc,,
|
48 |
+
pytablewriter/style/__pycache__/_style.cpython-310.pyc,,
|
49 |
+
pytablewriter/style/__pycache__/_styler.cpython-310.pyc,,
|
50 |
+
pytablewriter/style/__pycache__/_styler_interface.cpython-310.pyc,,
|
51 |
+
pytablewriter/style/__pycache__/_theme.cpython-310.pyc,,
|
52 |
+
pytablewriter/style/_cell.py,sha256=Ggaq9xm2r_oXUv_W2eV1YLZeI-U0AVsTpAJBfj1Dozw,549
|
53 |
+
pytablewriter/style/_font.py,sha256=f3e9bKB83JYu7Yow7EYA_6XCJvqyCSMvjrIXC-Uelfc,341
|
54 |
+
pytablewriter/style/_style.py,sha256=VRXE01qJRZk3VAPuIU9q2pxTJupz4qHwPOieD1elsvA,12523
|
55 |
+
pytablewriter/style/_styler.py,sha256=yfPSPGCiaKQvrzDZxMp36oChhGS13N6Jv1l9hxzBQSs,9920
|
56 |
+
pytablewriter/style/_styler_interface.py,sha256=rM1OX8rYIQsk9vtPmbrrcTlf4e0_So2XrHT3L4z1bF8,828
|
57 |
+
pytablewriter/style/_theme.py,sha256=A6t0Q-SkQhrwCTvXUVBE9rt-h-M-2VmNavtsMynzTLY,2948
|
58 |
+
pytablewriter/typehint/__init__.py,sha256=FDTB4uiJDm2b0A6IsYtTVO2Z994tb5o3kcXbwkDDKYQ,545
|
59 |
+
pytablewriter/typehint/__pycache__/__init__.cpython-310.pyc,,
|
60 |
+
pytablewriter/writer/__init__.py,sha256=r0ZSklAeSM84jA4xzvTFaXHVe0Il0GjAQ8vk2_mtplQ,1766
|
61 |
+
pytablewriter/writer/__pycache__/__init__.cpython-310.pyc,,
|
62 |
+
pytablewriter/writer/__pycache__/_common.cpython-310.pyc,,
|
63 |
+
pytablewriter/writer/__pycache__/_elasticsearch.cpython-310.pyc,,
|
64 |
+
pytablewriter/writer/__pycache__/_interface.cpython-310.pyc,,
|
65 |
+
pytablewriter/writer/__pycache__/_msgfy.cpython-310.pyc,,
|
66 |
+
pytablewriter/writer/__pycache__/_null.cpython-310.pyc,,
|
67 |
+
pytablewriter/writer/__pycache__/_table_writer.cpython-310.pyc,,
|
68 |
+
pytablewriter/writer/_common.py,sha256=BjKw-NvsyNQw9D8Zrpg8RyjLjgQjc0QiLbp1bQoGROE,221
|
69 |
+
pytablewriter/writer/_elasticsearch.py,sha256=tgcXdlIp_pX8J117mW99TEvCAP3vaz0TnxJnfo6B9NI,6272
|
70 |
+
pytablewriter/writer/_interface.py,sha256=Vg_5HlUcOca-PhyoqDuRxzvyQGcuqie1_f1U_lGZKL0,2647
|
71 |
+
pytablewriter/writer/_msgfy.py,sha256=Qf3VIhuCfstgGOEaYQswrW9R1lgYFknjw33YZJGNyFo,1777
|
72 |
+
pytablewriter/writer/_null.py,sha256=YPBm1lc23wCQbVHuYKPPOTtdlZKfZOBIEWpkuBKQEw4,1590
|
73 |
+
pytablewriter/writer/_table_writer.py,sha256=LHibO5UY8StL0fzcnLuc_FkbSoIv3f6D8CEZMWbD0Yk,41943
|
74 |
+
pytablewriter/writer/binary/__init__.py,sha256=akvPmDxtQjvKEac2yx9c-96CURTFx0809iPPskpa25c,281
|
75 |
+
pytablewriter/writer/binary/__pycache__/__init__.cpython-310.pyc,,
|
76 |
+
pytablewriter/writer/binary/__pycache__/_excel.cpython-310.pyc,,
|
77 |
+
pytablewriter/writer/binary/__pycache__/_excel_workbook.cpython-310.pyc,,
|
78 |
+
pytablewriter/writer/binary/__pycache__/_interface.cpython-310.pyc,,
|
79 |
+
pytablewriter/writer/binary/__pycache__/_pandas.cpython-310.pyc,,
|
80 |
+
pytablewriter/writer/binary/__pycache__/_sqlite.cpython-310.pyc,,
|
81 |
+
pytablewriter/writer/binary/_excel.py,sha256=66h62U0xbboSDkuMB2qO5xT_tXcqtf-18XCH-yqgjgI,15436
|
82 |
+
pytablewriter/writer/binary/_excel_workbook.py,sha256=E6xvw1zvTsYBhih5FeStRu23Q1bSJMgQ093pvxdVllI,3936
|
83 |
+
pytablewriter/writer/binary/_interface.py,sha256=U48pCiVMUgeYSKCINncSN5Sy9OnYQ90LMhC7Ls1C8O0,1487
|
84 |
+
pytablewriter/writer/binary/_pandas.py,sha256=__TzeKz31To7Kh4v7o8JKwTXfz0kYeNo27e_Bcs38LA,2633
|
85 |
+
pytablewriter/writer/binary/_sqlite.py,sha256=ZnXqvidGUri1SM-Cxls1NwgVg9riDaPkFnr9iQjGchQ,2982
|
86 |
+
pytablewriter/writer/text/__init__.py,sha256=_rk5sczp6H9sag4PXgKIbxSTrgW8HktmlJqN0cXR01M,1384
|
87 |
+
pytablewriter/writer/text/__pycache__/__init__.cpython-310.pyc,,
|
88 |
+
pytablewriter/writer/text/__pycache__/_asciidoc.cpython-310.pyc,,
|
89 |
+
pytablewriter/writer/text/__pycache__/_borderless.cpython-310.pyc,,
|
90 |
+
pytablewriter/writer/text/__pycache__/_common.cpython-310.pyc,,
|
91 |
+
pytablewriter/writer/text/__pycache__/_css.cpython-310.pyc,,
|
92 |
+
pytablewriter/writer/text/__pycache__/_csv.cpython-310.pyc,,
|
93 |
+
pytablewriter/writer/text/__pycache__/_html.cpython-310.pyc,,
|
94 |
+
pytablewriter/writer/text/__pycache__/_interface.cpython-310.pyc,,
|
95 |
+
pytablewriter/writer/text/__pycache__/_json.cpython-310.pyc,,
|
96 |
+
pytablewriter/writer/text/__pycache__/_jsonlines.cpython-310.pyc,,
|
97 |
+
pytablewriter/writer/text/__pycache__/_latex.cpython-310.pyc,,
|
98 |
+
pytablewriter/writer/text/__pycache__/_ltsv.cpython-310.pyc,,
|
99 |
+
pytablewriter/writer/text/__pycache__/_markdown.cpython-310.pyc,,
|
100 |
+
pytablewriter/writer/text/__pycache__/_mediawiki.cpython-310.pyc,,
|
101 |
+
pytablewriter/writer/text/__pycache__/_rst.cpython-310.pyc,,
|
102 |
+
pytablewriter/writer/text/__pycache__/_spacealigned.cpython-310.pyc,,
|
103 |
+
pytablewriter/writer/text/__pycache__/_text_writer.cpython-310.pyc,,
|
104 |
+
pytablewriter/writer/text/__pycache__/_toml.cpython-310.pyc,,
|
105 |
+
pytablewriter/writer/text/__pycache__/_tsv.cpython-310.pyc,,
|
106 |
+
pytablewriter/writer/text/__pycache__/_unicode.cpython-310.pyc,,
|
107 |
+
pytablewriter/writer/text/__pycache__/_yaml.cpython-310.pyc,,
|
108 |
+
pytablewriter/writer/text/_asciidoc.py,sha256=T7PQ2qpN68K0GgeORTUCmCy0uY7iq3xwpCU_7vxSrms,4362
|
109 |
+
pytablewriter/writer/text/_borderless.py,sha256=4RhWiSppkS2bRIl8osmqkSst-hwDzaAT-GaSyHyHft4,1010
|
110 |
+
pytablewriter/writer/text/_common.py,sha256=1YRanAyjyEgo9muaUM3n9pPieKsX0d5Y-_ktI92B_tA,554
|
111 |
+
pytablewriter/writer/text/_css.py,sha256=-271SLbV9wYm2YLqUf64HBrkoL2iBX1wxSUeyzyJOk4,5488
|
112 |
+
pytablewriter/writer/text/_csv.py,sha256=zfL8yUspvp98JYyqEi_OtB0Xp7wYp11CXQSVX3lhuiY,1490
|
113 |
+
pytablewriter/writer/text/_html.py,sha256=4zn3eXdvKS7s_gJbSlkQhb-dJoQjxf_pq9pms1XHkzw,6327
|
114 |
+
pytablewriter/writer/text/_interface.py,sha256=Qcwjq6w_dz5Lk7Txr42ESnomW0316-LqPBo1HmcRP7I,642
|
115 |
+
pytablewriter/writer/text/_json.py,sha256=djJKShELQfISL_S2XUNvl67ToFST08tw4E7WyGurvRs,5073
|
116 |
+
pytablewriter/writer/text/_jsonlines.py,sha256=5tQqMzsJQumpvIykCxiLNmjWF5PM875ci_TMIKOEjSM,1282
|
117 |
+
pytablewriter/writer/text/_latex.py,sha256=GacA95fAjdFtAPrfmsOtfw6UG0yU4rqUWOL2KxZ2XHM,6322
|
118 |
+
pytablewriter/writer/text/_ltsv.py,sha256=xsMAMMU2F5UdznagXnQJbz62-nstSiSbjm7vgHlLm_s,1517
|
119 |
+
pytablewriter/writer/text/_markdown.py,sha256=r_HATSDEYnAP57hoWoTImoNHFLh99c5IMEVNqwMOnnc,6193
|
120 |
+
pytablewriter/writer/text/_mediawiki.py,sha256=dwlBbkKQGgpvt2bZVy12AVjaWKRZyP9Q1Kzomyh1cTg,3271
|
121 |
+
pytablewriter/writer/text/_rst.py,sha256=MrJdVHxOvHRAwd0YoUXvLfGtfswKo0IRSS1fjTrVJUw,6912
|
122 |
+
pytablewriter/writer/text/_spacealigned.py,sha256=osMTS0cvNl8qWthlUkB6noAaKGlBUL02MW-YEvMXEgA,897
|
123 |
+
pytablewriter/writer/text/_text_writer.py,sha256=YTqd-SWS72coC9Y2nfkDqlpu44wDWiS49kBAX2AQ9JM,20542
|
124 |
+
pytablewriter/writer/text/_toml.py,sha256=oUQRIiNIXQ47ccGasVohbDGBksMMxDETv0mnbCngVC8,2265
|
125 |
+
pytablewriter/writer/text/_tsv.py,sha256=xLXiOznMZ8W8fKa-xfZCNlTl2Q4_HWFTUQlR4__DjuU,467
|
126 |
+
pytablewriter/writer/text/_unicode.py,sha256=-2W2O-FaBkPDAJuwBKLEutGS09y7DcasK4Q83K0GXiE,3532
|
127 |
+
pytablewriter/writer/text/_yaml.py,sha256=WfvH-hdBsWUt8JerzuBQ1xqJN88fLs-GMfcuJeU2QPs,1980
|
128 |
+
pytablewriter/writer/text/sourcecode/__init__.py,sha256=25ju5UpRUV7DBNsusSj4YLzOLY5akmmEW7gKegSVtu4,297
|
129 |
+
pytablewriter/writer/text/sourcecode/__pycache__/__init__.cpython-310.pyc,,
|
130 |
+
pytablewriter/writer/text/sourcecode/__pycache__/_javascript.cpython-310.pyc,,
|
131 |
+
pytablewriter/writer/text/sourcecode/__pycache__/_numpy.cpython-310.pyc,,
|
132 |
+
pytablewriter/writer/text/sourcecode/__pycache__/_pandas.cpython-310.pyc,,
|
133 |
+
pytablewriter/writer/text/sourcecode/__pycache__/_python.cpython-310.pyc,,
|
134 |
+
pytablewriter/writer/text/sourcecode/__pycache__/_sourcecode.cpython-310.pyc,,
|
135 |
+
pytablewriter/writer/text/sourcecode/_javascript.py,sha256=uTMT1sRuUoq-pbvE50Tjoi1j3Q6ywNFO5jK3mJljNxw,4710
|
136 |
+
pytablewriter/writer/text/sourcecode/_numpy.py,sha256=RwPtBXuAzbc2AoA530IpJr0enpOUe0gEaUR936yRuNs,1970
|
137 |
+
pytablewriter/writer/text/sourcecode/_pandas.py,sha256=I1RuFWVFExE1c3QX3RbdVN57B5oojXqNMwnOF0rXl_A,2556
|
138 |
+
pytablewriter/writer/text/sourcecode/_python.py,sha256=O5ii7UOGef_u92cBL673pG_888_wLS-s6TnLDyor7V8,2541
|
139 |
+
pytablewriter/writer/text/sourcecode/_sourcecode.py,sha256=EGKbj3qvj83LrnkgNjEUt0uzRYDXPWKJSmaXjhCaWAo,2245
|
env-llmeval/lib/python3.10/site-packages/pytablewriter-1.2.0.dist-info/WHEEL
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.41.2)
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
5 |
+
|
env-llmeval/lib/python3.10/site-packages/pytablewriter-1.2.0.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pytablewriter
|
env-llmeval/lib/python3.10/site-packages/rouge_score/__init__.py
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright 2022 The rouge_score Authors.
|
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 |
+
|
env-llmeval/lib/python3.10/site-packages/rouge_score/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (176 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/rouge_score/__pycache__/create_pyrouge_files.cpython-310.pyc
ADDED
Binary file (2.27 kB). View file
|
|