Spaces:
Runtime error
Runtime error
freemt
commited on
Commit
·
ed4da02
1
Parent(s):
a81d21a
Update app.py
Browse files- app.py +50 -0
- poetry.lock +350 -0
- pyproject.toml +16 -0
- requirements.txt +18 -0
- tests/__init__.py +0 -0
app.py
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Set up gradio api for cmataset."""
|
2 |
+
# pylint: disable=invalid-name
|
3 |
+
from typing import List, Tuple, Union
|
4 |
+
|
5 |
+
import gradio as gr
|
6 |
+
import numpy as np
|
7 |
+
from cmat2aset import cmat2aset as c2a
|
8 |
+
from logzero import logger
|
9 |
+
|
10 |
+
|
11 |
+
def cmat2aset(
|
12 |
+
cmat: Union[np.ndarray, List[List]],
|
13 |
+
eps: float = 10,
|
14 |
+
min_samples: int = 6,
|
15 |
+
) -> Union[
|
16 |
+
np.ndarray, List[Tuple[Union[int, str], Union[int, str], Union[float, str]]]
|
17 |
+
]:
|
18 |
+
"""Set up gradio api for cmataset."""
|
19 |
+
try:
|
20 |
+
return c2a(cmat, eps, min_samples)
|
21 |
+
except Exception as exc:
|
22 |
+
logger.exception(exc)
|
23 |
+
raise
|
24 |
+
|
25 |
+
|
26 |
+
inputs = [
|
27 |
+
"numpy",
|
28 |
+
gr.Slider(
|
29 |
+
minimum=1,
|
30 |
+
maximum=20,
|
31 |
+
step=0.1,
|
32 |
+
default=10,
|
33 |
+
),
|
34 |
+
gr.Slider(
|
35 |
+
minimum=1,
|
36 |
+
maximum=20,
|
37 |
+
step=1,
|
38 |
+
default=6,
|
39 |
+
),
|
40 |
+
]
|
41 |
+
iface = gr.Interface(
|
42 |
+
fn=cmat2aset,
|
43 |
+
inputs=inputs,
|
44 |
+
outputs="dataframe",
|
45 |
+
allow_flagging="never",
|
46 |
+
title="radio-cmat2aset",
|
47 |
+
)
|
48 |
+
iface.launch(
|
49 |
+
enable_queue=True,
|
50 |
+
)
|
poetry.lock
ADDED
@@ -0,0 +1,350 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[[package]]
|
2 |
+
name = "asttokens"
|
3 |
+
version = "2.0.5"
|
4 |
+
description = "Annotate AST trees with source code positions"
|
5 |
+
category = "main"
|
6 |
+
optional = false
|
7 |
+
python-versions = "*"
|
8 |
+
|
9 |
+
[package.dependencies]
|
10 |
+
six = "*"
|
11 |
+
|
12 |
+
[package.extras]
|
13 |
+
test = ["astroid", "pytest"]
|
14 |
+
|
15 |
+
[[package]]
|
16 |
+
name = "cmat2aset"
|
17 |
+
version = "0.1.0a7"
|
18 |
+
description = "correlation matrix to align set "
|
19 |
+
category = "main"
|
20 |
+
optional = false
|
21 |
+
python-versions = ">=3.8.3,<4.0"
|
22 |
+
|
23 |
+
[package.dependencies]
|
24 |
+
icecream = ">=2.1.1,<3.0.0"
|
25 |
+
install = ">=1.3.5,<2.0.0"
|
26 |
+
logzero = ">=1.7.0,<2.0.0"
|
27 |
+
numpy = ">=1.22.3,<2.0.0"
|
28 |
+
pandas = ">=1.4.1,<2.0.0"
|
29 |
+
sklearn = ">=0.0,<0.1"
|
30 |
+
|
31 |
+
[[package]]
|
32 |
+
name = "colorama"
|
33 |
+
version = "0.4.5"
|
34 |
+
description = "Cross-platform colored terminal text."
|
35 |
+
category = "main"
|
36 |
+
optional = false
|
37 |
+
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
|
38 |
+
|
39 |
+
[[package]]
|
40 |
+
name = "executing"
|
41 |
+
version = "0.8.3"
|
42 |
+
description = "Get the currently executing AST node of a frame, and other information"
|
43 |
+
category = "main"
|
44 |
+
optional = false
|
45 |
+
python-versions = "*"
|
46 |
+
|
47 |
+
[[package]]
|
48 |
+
name = "icecream"
|
49 |
+
version = "2.1.2"
|
50 |
+
description = "Never use print() to debug again; inspect variables, expressions, and program execution with a single, simple function call."
|
51 |
+
category = "main"
|
52 |
+
optional = false
|
53 |
+
python-versions = "*"
|
54 |
+
|
55 |
+
[package.dependencies]
|
56 |
+
asttokens = ">=2.0.1"
|
57 |
+
colorama = ">=0.3.9"
|
58 |
+
executing = ">=0.3.1"
|
59 |
+
pygments = ">=2.2.0"
|
60 |
+
|
61 |
+
[[package]]
|
62 |
+
name = "install"
|
63 |
+
version = "1.3.5"
|
64 |
+
description = "Install packages from within code"
|
65 |
+
category = "main"
|
66 |
+
optional = false
|
67 |
+
python-versions = ">=2.7, >=3.5"
|
68 |
+
|
69 |
+
[[package]]
|
70 |
+
name = "joblib"
|
71 |
+
version = "1.1.0"
|
72 |
+
description = "Lightweight pipelining with Python functions"
|
73 |
+
category = "main"
|
74 |
+
optional = false
|
75 |
+
python-versions = ">=3.6"
|
76 |
+
|
77 |
+
[[package]]
|
78 |
+
name = "logzero"
|
79 |
+
version = "1.7.0"
|
80 |
+
description = "Robust and effective logging for Python 2 and 3"
|
81 |
+
category = "main"
|
82 |
+
optional = false
|
83 |
+
python-versions = "*"
|
84 |
+
|
85 |
+
[package.dependencies]
|
86 |
+
colorama = {version = "*", markers = "sys_platform == \"win32\""}
|
87 |
+
|
88 |
+
[[package]]
|
89 |
+
name = "numpy"
|
90 |
+
version = "1.22.4"
|
91 |
+
description = "NumPy is the fundamental package for array computing with Python."
|
92 |
+
category = "main"
|
93 |
+
optional = false
|
94 |
+
python-versions = ">=3.8"
|
95 |
+
|
96 |
+
[[package]]
|
97 |
+
name = "pandas"
|
98 |
+
version = "1.4.2"
|
99 |
+
description = "Powerful data structures for data analysis, time series, and statistics"
|
100 |
+
category = "main"
|
101 |
+
optional = false
|
102 |
+
python-versions = ">=3.8"
|
103 |
+
|
104 |
+
[package.dependencies]
|
105 |
+
numpy = [
|
106 |
+
{version = ">=1.18.5", markers = "platform_machine != \"aarch64\" and platform_machine != \"arm64\" and python_version < \"3.10\""},
|
107 |
+
{version = ">=1.19.2", markers = "platform_machine == \"aarch64\" and python_version < \"3.10\""},
|
108 |
+
{version = ">=1.20.0", markers = "platform_machine == \"arm64\" and python_version < \"3.10\""},
|
109 |
+
{version = ">=1.21.0", markers = "python_version >= \"3.10\""},
|
110 |
+
]
|
111 |
+
python-dateutil = ">=2.8.1"
|
112 |
+
pytz = ">=2020.1"
|
113 |
+
|
114 |
+
[package.extras]
|
115 |
+
test = ["hypothesis (>=5.5.3)", "pytest (>=6.0)", "pytest-xdist (>=1.31)"]
|
116 |
+
|
117 |
+
[[package]]
|
118 |
+
name = "pygments"
|
119 |
+
version = "2.12.0"
|
120 |
+
description = "Pygments is a syntax highlighting package written in Python."
|
121 |
+
category = "main"
|
122 |
+
optional = false
|
123 |
+
python-versions = ">=3.6"
|
124 |
+
|
125 |
+
[[package]]
|
126 |
+
name = "python-dateutil"
|
127 |
+
version = "2.8.2"
|
128 |
+
description = "Extensions to the standard Python datetime module"
|
129 |
+
category = "main"
|
130 |
+
optional = false
|
131 |
+
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
|
132 |
+
|
133 |
+
[package.dependencies]
|
134 |
+
six = ">=1.5"
|
135 |
+
|
136 |
+
[[package]]
|
137 |
+
name = "pytz"
|
138 |
+
version = "2022.1"
|
139 |
+
description = "World timezone definitions, modern and historical"
|
140 |
+
category = "main"
|
141 |
+
optional = false
|
142 |
+
python-versions = "*"
|
143 |
+
|
144 |
+
[[package]]
|
145 |
+
name = "scikit-learn"
|
146 |
+
version = "1.1.1"
|
147 |
+
description = "A set of python modules for machine learning and data mining"
|
148 |
+
category = "main"
|
149 |
+
optional = false
|
150 |
+
python-versions = ">=3.8"
|
151 |
+
|
152 |
+
[package.dependencies]
|
153 |
+
joblib = ">=1.0.0"
|
154 |
+
numpy = ">=1.17.3"
|
155 |
+
scipy = ">=1.3.2"
|
156 |
+
threadpoolctl = ">=2.0.0"
|
157 |
+
|
158 |
+
[package.extras]
|
159 |
+
benchmark = ["matplotlib (>=3.1.2)", "pandas (>=1.0.5)", "memory-profiler (>=0.57.0)"]
|
160 |
+
docs = ["matplotlib (>=3.1.2)", "scikit-image (>=0.14.5)", "pandas (>=1.0.5)", "seaborn (>=0.9.0)", "memory-profiler (>=0.57.0)", "sphinx (>=4.0.1)", "sphinx-gallery (>=0.7.0)", "numpydoc (>=1.2.0)", "Pillow (>=7.1.2)", "sphinx-prompt (>=1.3.0)", "sphinxext-opengraph (>=0.4.2)"]
|
161 |
+
examples = ["matplotlib (>=3.1.2)", "scikit-image (>=0.14.5)", "pandas (>=1.0.5)", "seaborn (>=0.9.0)"]
|
162 |
+
tests = ["matplotlib (>=3.1.2)", "scikit-image (>=0.14.5)", "pandas (>=1.0.5)", "pytest (>=5.0.1)", "pytest-cov (>=2.9.0)", "flake8 (>=3.8.2)", "black (>=22.3.0)", "mypy (>=0.770)", "pyamg (>=4.0.0)", "numpydoc (>=1.2.0)"]
|
163 |
+
|
164 |
+
[[package]]
|
165 |
+
name = "scipy"
|
166 |
+
version = "1.6.1"
|
167 |
+
description = "SciPy: Scientific Library for Python"
|
168 |
+
category = "main"
|
169 |
+
optional = false
|
170 |
+
python-versions = ">=3.7"
|
171 |
+
|
172 |
+
[package.dependencies]
|
173 |
+
numpy = ">=1.16.5"
|
174 |
+
|
175 |
+
[[package]]
|
176 |
+
name = "six"
|
177 |
+
version = "1.16.0"
|
178 |
+
description = "Python 2 and 3 compatibility utilities"
|
179 |
+
category = "main"
|
180 |
+
optional = false
|
181 |
+
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
|
182 |
+
|
183 |
+
[[package]]
|
184 |
+
name = "sklearn"
|
185 |
+
version = "0.0"
|
186 |
+
description = "A set of python modules for machine learning and data mining"
|
187 |
+
category = "main"
|
188 |
+
optional = false
|
189 |
+
python-versions = "*"
|
190 |
+
|
191 |
+
[package.dependencies]
|
192 |
+
scikit-learn = "*"
|
193 |
+
|
194 |
+
[[package]]
|
195 |
+
name = "threadpoolctl"
|
196 |
+
version = "3.1.0"
|
197 |
+
description = "threadpoolctl"
|
198 |
+
category = "main"
|
199 |
+
optional = false
|
200 |
+
python-versions = ">=3.6"
|
201 |
+
|
202 |
+
[metadata]
|
203 |
+
lock-version = "1.1"
|
204 |
+
python-versions = "^3.8.3"
|
205 |
+
content-hash = "b63def7048bd4e9ff1bb23cf76ce5ca9d9fb4f8010dd9255b916505c1a53ac5f"
|
206 |
+
|
207 |
+
[metadata.files]
|
208 |
+
asttokens = [
|
209 |
+
{file = "asttokens-2.0.5-py2.py3-none-any.whl", hash = "sha256:0844691e88552595a6f4a4281a9f7f79b8dd45ca4ccea82e5e05b4bbdb76705c"},
|
210 |
+
{file = "asttokens-2.0.5.tar.gz", hash = "sha256:9a54c114f02c7a9480d56550932546a3f1fe71d8a02f1bc7ccd0ee3ee35cf4d5"},
|
211 |
+
]
|
212 |
+
cmat2aset = [
|
213 |
+
{file = "cmat2aset-0.1.0a7-py3-none-any.whl", hash = "sha256:53d9f514b99ed4735994ffc73213b53172fea10cec7633da3c2cb20fb8ce8426"},
|
214 |
+
{file = "cmat2aset-0.1.0a7.tar.gz", hash = "sha256:1d6d494c7658e648eb88e601e69b198e3ce076b34594593db2318fe9e9b466b8"},
|
215 |
+
]
|
216 |
+
colorama = [
|
217 |
+
{file = "colorama-0.4.5-py2.py3-none-any.whl", hash = "sha256:854bf444933e37f5824ae7bfc1e98d5bce2ebe4160d46b5edf346a89358e99da"},
|
218 |
+
{file = "colorama-0.4.5.tar.gz", hash = "sha256:e6c6b4334fc50988a639d9b98aa429a0b57da6e17b9a44f0451f930b6967b7a4"},
|
219 |
+
]
|
220 |
+
executing = [
|
221 |
+
{file = "executing-0.8.3-py2.py3-none-any.whl", hash = "sha256:d1eef132db1b83649a3905ca6dd8897f71ac6f8cac79a7e58a1a09cf137546c9"},
|
222 |
+
{file = "executing-0.8.3.tar.gz", hash = "sha256:c6554e21c6b060590a6d3be4b82fb78f8f0194d809de5ea7df1c093763311501"},
|
223 |
+
]
|
224 |
+
icecream = [
|
225 |
+
{file = "icecream-2.1.2-py2.py3-none-any.whl", hash = "sha256:04b9cea4d9931cf6960db0430ebf11fa34464ce7152e384ddf50f96d25b201b4"},
|
226 |
+
{file = "icecream-2.1.2.tar.gz", hash = "sha256:09300b2d1c678712410cbd47c95198eb1b580f66f311a554ccd6b9e758ece0ee"},
|
227 |
+
]
|
228 |
+
install = [
|
229 |
+
{file = "install-1.3.5-py3-none-any.whl", hash = "sha256:0d3fadf4aa62c95efe8d34757c8507eb46177f86c016c21c6551eafc6a53d5a9"},
|
230 |
+
{file = "install-1.3.5.tar.gz", hash = "sha256:e67c8a0be5ccf8cb4ffa17d090f3a61b6e820e6a7e21cd1d2c0f7bc59b18e647"},
|
231 |
+
]
|
232 |
+
joblib = [
|
233 |
+
{file = "joblib-1.1.0-py2.py3-none-any.whl", hash = "sha256:f21f109b3c7ff9d95f8387f752d0d9c34a02aa2f7060c2135f465da0e5160ff6"},
|
234 |
+
{file = "joblib-1.1.0.tar.gz", hash = "sha256:4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35"},
|
235 |
+
]
|
236 |
+
logzero = [
|
237 |
+
{file = "logzero-1.7.0-py2.py3-none-any.whl", hash = "sha256:23eb1f717a2736f9ab91ca0d43160fd2c996ad49ae6bad34652d47aba908769d"},
|
238 |
+
{file = "logzero-1.7.0.tar.gz", hash = "sha256:7f73ddd3ae393457236f081ffebd044a3aa2e423a47ae6ddb5179ab90d0ad082"},
|
239 |
+
]
|
240 |
+
numpy = [
|
241 |
+
{file = "numpy-1.22.4-cp310-cp310-macosx_10_14_x86_64.whl", hash = "sha256:ba9ead61dfb5d971d77b6c131a9dbee62294a932bf6a356e48c75ae684e635b3"},
|
242 |
+
{file = "numpy-1.22.4-cp310-cp310-macosx_10_15_x86_64.whl", hash = "sha256:1ce7ab2053e36c0a71e7a13a7475bd3b1f54750b4b433adc96313e127b870887"},
|
243 |
+
{file = "numpy-1.22.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:7228ad13744f63575b3a972d7ee4fd61815b2879998e70930d4ccf9ec721dce0"},
|
244 |
+
{file = "numpy-1.22.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:43a8ca7391b626b4c4fe20aefe79fec683279e31e7c79716863b4b25021e0e74"},
|
245 |
+
{file = "numpy-1.22.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a911e317e8c826ea632205e63ed8507e0dc877dcdc49744584dfc363df9ca08c"},
|
246 |
+
{file = "numpy-1.22.4-cp310-cp310-win32.whl", hash = "sha256:9ce7df0abeabe7fbd8ccbf343dc0db72f68549856b863ae3dd580255d009648e"},
|
247 |
+
{file = "numpy-1.22.4-cp310-cp310-win_amd64.whl", hash = "sha256:3e1ffa4748168e1cc8d3cde93f006fe92b5421396221a02f2274aab6ac83b077"},
|
248 |
+
{file = "numpy-1.22.4-cp38-cp38-macosx_10_15_x86_64.whl", hash = "sha256:59d55e634968b8f77d3fd674a3cf0b96e85147cd6556ec64ade018f27e9479e1"},
|
249 |
+
{file = "numpy-1.22.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:c1d937820db6e43bec43e8d016b9b3165dcb42892ea9f106c70fb13d430ffe72"},
|
250 |
+
{file = "numpy-1.22.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d4c5d5eb2ec8da0b4f50c9a843393971f31f1d60be87e0fb0917a49133d257d6"},
|
251 |
+
{file = "numpy-1.22.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:64f56fc53a2d18b1924abd15745e30d82a5782b2cab3429aceecc6875bd5add0"},
|
252 |
+
{file = "numpy-1.22.4-cp38-cp38-win32.whl", hash = "sha256:fb7a980c81dd932381f8228a426df8aeb70d59bbcda2af075b627bbc50207cba"},
|
253 |
+
{file = "numpy-1.22.4-cp38-cp38-win_amd64.whl", hash = "sha256:e96d7f3096a36c8754207ab89d4b3282ba7b49ea140e4973591852c77d09eb76"},
|
254 |
+
{file = "numpy-1.22.4-cp39-cp39-macosx_10_14_x86_64.whl", hash = "sha256:4c6036521f11a731ce0648f10c18ae66d7143865f19f7299943c985cdc95afb5"},
|
255 |
+
{file = "numpy-1.22.4-cp39-cp39-macosx_10_15_x86_64.whl", hash = "sha256:b89bf9b94b3d624e7bb480344e91f68c1c6c75f026ed6755955117de00917a7c"},
|
256 |
+
{file = "numpy-1.22.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:2d487e06ecbf1dc2f18e7efce82ded4f705f4bd0cd02677ffccfb39e5c284c7e"},
|
257 |
+
{file = "numpy-1.22.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f3eb268dbd5cfaffd9448113539e44e2dd1c5ca9ce25576f7c04a5453edc26fa"},
|
258 |
+
{file = "numpy-1.22.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:37431a77ceb9307c28382c9773da9f306435135fae6b80b62a11c53cfedd8802"},
|
259 |
+
{file = "numpy-1.22.4-cp39-cp39-win32.whl", hash = "sha256:cc7f00008eb7d3f2489fca6f334ec19ca63e31371be28fd5dad955b16ec285bd"},
|
260 |
+
{file = "numpy-1.22.4-cp39-cp39-win_amd64.whl", hash = "sha256:f0725df166cf4785c0bc4cbfb320203182b1ecd30fee6e541c8752a92df6aa32"},
|
261 |
+
{file = "numpy-1.22.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0791fbd1e43bf74b3502133207e378901272f3c156c4df4954cad833b1380207"},
|
262 |
+
{file = "numpy-1.22.4.zip", hash = "sha256:425b390e4619f58d8526b3dcf656dde069133ae5c240229821f01b5f44ea07af"},
|
263 |
+
]
|
264 |
+
pandas = [
|
265 |
+
{file = "pandas-1.4.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:be67c782c4f1b1f24c2f16a157e12c2693fd510f8df18e3287c77f33d124ed07"},
|
266 |
+
{file = "pandas-1.4.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5a206afa84ed20e07603f50d22b5f0db3fb556486d8c2462d8bc364831a4b417"},
|
267 |
+
{file = "pandas-1.4.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0010771bd9223f7afe5f051eb47c4a49534345dfa144f2f5470b27189a4dd3b5"},
|
268 |
+
{file = "pandas-1.4.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3228198333dd13c90b6434ddf61aa6d57deaca98cf7b654f4ad68a2db84f8cfe"},
|
269 |
+
{file = "pandas-1.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5b79af3a69e5175c6fa7b4e046b21a646c8b74e92c6581a9d825687d92071b51"},
|
270 |
+
{file = "pandas-1.4.2-cp310-cp310-win_amd64.whl", hash = "sha256:5586cc95692564b441f4747c47c8a9746792e87b40a4680a2feb7794defb1ce3"},
|
271 |
+
{file = "pandas-1.4.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:061609334a8182ab500a90fe66d46f6f387de62d3a9cb9aa7e62e3146c712167"},
|
272 |
+
{file = "pandas-1.4.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b8134651258bce418cb79c71adeff0a44090c98d955f6953168ba16cc285d9f7"},
|
273 |
+
{file = "pandas-1.4.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:df82739e00bb6daf4bba4479a40f38c718b598a84654cbd8bb498fd6b0aa8c16"},
|
274 |
+
{file = "pandas-1.4.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:385c52e85aaa8ea6a4c600a9b2821181a51f8be0aee3af6f2dcb41dafc4fc1d0"},
|
275 |
+
{file = "pandas-1.4.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:295872bf1a09758aba199992c3ecde455f01caf32266d50abc1a073e828a7b9d"},
|
276 |
+
{file = "pandas-1.4.2-cp38-cp38-win32.whl", hash = "sha256:95c1e422ced0199cf4a34385ff124b69412c4bc912011ce895582bee620dfcaa"},
|
277 |
+
{file = "pandas-1.4.2-cp38-cp38-win_amd64.whl", hash = "sha256:5c54ea4ef3823108cd4ec7fb27ccba4c3a775e0f83e39c5e17f5094cb17748bc"},
|
278 |
+
{file = "pandas-1.4.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:c072c7f06b9242c855ed8021ff970c0e8f8b10b35e2640c657d2a541c5950f59"},
|
279 |
+
{file = "pandas-1.4.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:f549097993744ff8c41b5e8f2f0d3cbfaabe89b4ae32c8c08ead6cc535b80139"},
|
280 |
+
{file = "pandas-1.4.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ff08a14ef21d94cdf18eef7c569d66f2e24e0bc89350bcd7d243dd804e3b5eb2"},
|
281 |
+
{file = "pandas-1.4.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8c5bf555b6b0075294b73965adaafb39cf71c312e38c5935c93d78f41c19828a"},
|
282 |
+
{file = "pandas-1.4.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:51649ef604a945f781105a6d2ecf88db7da0f4868ac5d45c51cb66081c4d9c73"},
|
283 |
+
{file = "pandas-1.4.2-cp39-cp39-win32.whl", hash = "sha256:d0d4f13e4be7ce89d7057a786023c461dd9370040bdb5efa0a7fe76b556867a0"},
|
284 |
+
{file = "pandas-1.4.2-cp39-cp39-win_amd64.whl", hash = "sha256:09d8be7dd9e1c4c98224c4dfe8abd60d145d934e9fc1f5f411266308ae683e6a"},
|
285 |
+
{file = "pandas-1.4.2.tar.gz", hash = "sha256:92bc1fc585f1463ca827b45535957815b7deb218c549b7c18402c322c7549a12"},
|
286 |
+
]
|
287 |
+
pygments = [
|
288 |
+
{file = "Pygments-2.12.0-py3-none-any.whl", hash = "sha256:dc9c10fb40944260f6ed4c688ece0cd2048414940f1cea51b8b226318411c519"},
|
289 |
+
{file = "Pygments-2.12.0.tar.gz", hash = "sha256:5eb116118f9612ff1ee89ac96437bb6b49e8f04d8a13b514ba26f620208e26eb"},
|
290 |
+
]
|
291 |
+
python-dateutil = [
|
292 |
+
{file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"},
|
293 |
+
{file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"},
|
294 |
+
]
|
295 |
+
pytz = [
|
296 |
+
{file = "pytz-2022.1-py2.py3-none-any.whl", hash = "sha256:e68985985296d9a66a881eb3193b0906246245294a881e7c8afe623866ac6a5c"},
|
297 |
+
{file = "pytz-2022.1.tar.gz", hash = "sha256:1e760e2fe6a8163bc0b3d9a19c4f84342afa0a2affebfaa84b01b978a02ecaa7"},
|
298 |
+
]
|
299 |
+
scikit-learn = [
|
300 |
+
{file = "scikit-learn-1.1.1.tar.gz", hash = "sha256:3e77b71e8e644f86c8b5be7f1c285ef597de4c384961389ee3e9ca36c445b256"},
|
301 |
+
{file = "scikit_learn-1.1.1-cp310-cp310-macosx_10_13_x86_64.whl", hash = "sha256:102f51797cd8944bf44a038d106848ddf2804f2c1edf7aea45fba81a4fdc4d80"},
|
302 |
+
{file = "scikit_learn-1.1.1-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:723cdb278b1fa57a55f68945bc4e501a2f12abe82f76e8d21e1806cbdbef6fc5"},
|
303 |
+
{file = "scikit_learn-1.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:33cf061ed0b79d647a3e4c3f6c52c412172836718a7cd4d11c1318d083300133"},
|
304 |
+
{file = "scikit_learn-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47464c110eaa9ed9d1fe108cb403510878c3d3a40f110618d2a19b2190a3e35c"},
|
305 |
+
{file = "scikit_learn-1.1.1-cp310-cp310-win_amd64.whl", hash = "sha256:542ccd2592fe7ad31f5c85fed3a3deb3e252383960a85e4b49a629353fffaba4"},
|
306 |
+
{file = "scikit_learn-1.1.1-cp38-cp38-macosx_10_13_x86_64.whl", hash = "sha256:3be10d8d325821ca366d4fe7083d87c40768f842f54371a9c908d97c45da16fc"},
|
307 |
+
{file = "scikit_learn-1.1.1-cp38-cp38-macosx_12_0_arm64.whl", hash = "sha256:b2db720e13e697d912a87c1a51194e6fb085dc6d8323caa5ca51369ca6948f78"},
|
308 |
+
{file = "scikit_learn-1.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e851f8874398dcd50d1e174e810e9331563d189356e945b3271c0e19ee6f4d6f"},
|
309 |
+
{file = "scikit_learn-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b928869072366dc138762fe0929e7dc88413f8a469aebc6a64adc10a9226180c"},
|
310 |
+
{file = "scikit_learn-1.1.1-cp38-cp38-win32.whl", hash = "sha256:e9d228ced1214d67904f26fb820c8abbea12b2889cd4aa8cda20a4ca0ed781c1"},
|
311 |
+
{file = "scikit_learn-1.1.1-cp38-cp38-win_amd64.whl", hash = "sha256:f2d5b5d6e87d482e17696a7bfa03fe9515fdfe27e462a4ad37f3d7774a5e2fd6"},
|
312 |
+
{file = "scikit_learn-1.1.1-cp39-cp39-macosx_10_13_x86_64.whl", hash = "sha256:0403ad13f283e27d43b0ad875f187ec7f5d964903d92d1ed06c51439560ecea0"},
|
313 |
+
{file = "scikit_learn-1.1.1-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:8fe80df08f5b9cee5dd008eccc672e543976198d790c07e5337f7dfb67eaac05"},
|
314 |
+
{file = "scikit_learn-1.1.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8ff56d07b9507fbe07ca0f4e5c8f3e171f74a429f998da03e308166251316b34"},
|
315 |
+
{file = "scikit_learn-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c2dad2bfc502344b869d4a3f4aa7271b2a5f4fe41f7328f404844c51612e2c58"},
|
316 |
+
{file = "scikit_learn-1.1.1-cp39-cp39-win32.whl", hash = "sha256:22145b60fef02e597a8e7f061ebc7c51739215f11ce7fcd2ca9af22c31aa9f86"},
|
317 |
+
{file = "scikit_learn-1.1.1-cp39-cp39-win_amd64.whl", hash = "sha256:45c0f6ae523353f1d99b85469d746f9c497410adff5ba8b24423705b6956a86e"},
|
318 |
+
]
|
319 |
+
scipy = [
|
320 |
+
{file = "scipy-1.6.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a15a1f3fc0abff33e792d6049161b7795909b40b97c6cc2934ed54384017ab76"},
|
321 |
+
{file = "scipy-1.6.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:e79570979ccdc3d165456dd62041d9556fb9733b86b4b6d818af7a0afc15f092"},
|
322 |
+
{file = "scipy-1.6.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:a423533c55fec61456dedee7b6ee7dce0bb6bfa395424ea374d25afa262be261"},
|
323 |
+
{file = "scipy-1.6.1-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:33d6b7df40d197bdd3049d64e8e680227151673465e5d85723b3b8f6b15a6ced"},
|
324 |
+
{file = "scipy-1.6.1-cp37-cp37m-win32.whl", hash = "sha256:6725e3fbb47da428794f243864f2297462e9ee448297c93ed1dcbc44335feb78"},
|
325 |
+
{file = "scipy-1.6.1-cp37-cp37m-win_amd64.whl", hash = "sha256:5fa9c6530b1661f1370bcd332a1e62ca7881785cc0f80c0d559b636567fab63c"},
|
326 |
+
{file = "scipy-1.6.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:bd50daf727f7c195e26f27467c85ce653d41df4358a25b32434a50d8870fc519"},
|
327 |
+
{file = "scipy-1.6.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:f46dd15335e8a320b0fb4685f58b7471702234cba8bb3442b69a3e1dc329c345"},
|
328 |
+
{file = "scipy-1.6.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:0e5b0ccf63155d90da576edd2768b66fb276446c371b73841e3503be1d63fb5d"},
|
329 |
+
{file = "scipy-1.6.1-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:2481efbb3740977e3c831edfd0bd9867be26387cacf24eb5e366a6a374d3d00d"},
|
330 |
+
{file = "scipy-1.6.1-cp38-cp38-win32.whl", hash = "sha256:68cb4c424112cd4be886b4d979c5497fba190714085f46b8ae67a5e4416c32b4"},
|
331 |
+
{file = "scipy-1.6.1-cp38-cp38-win_amd64.whl", hash = "sha256:5f331eeed0297232d2e6eea51b54e8278ed8bb10b099f69c44e2558c090d06bf"},
|
332 |
+
{file = "scipy-1.6.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:0c8a51d33556bf70367452d4d601d1742c0e806cd0194785914daf19775f0e67"},
|
333 |
+
{file = "scipy-1.6.1-cp39-cp39-manylinux1_i686.whl", hash = "sha256:83bf7c16245c15bc58ee76c5418e46ea1811edcc2e2b03041b804e46084ab627"},
|
334 |
+
{file = "scipy-1.6.1-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:794e768cc5f779736593046c9714e0f3a5940bc6dcc1dba885ad64cbfb28e9f0"},
|
335 |
+
{file = "scipy-1.6.1-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:5da5471aed911fe7e52b86bf9ea32fb55ae93e2f0fac66c32e58897cfb02fa07"},
|
336 |
+
{file = "scipy-1.6.1-cp39-cp39-win32.whl", hash = "sha256:8e403a337749ed40af60e537cc4d4c03febddcc56cd26e774c9b1b600a70d3e4"},
|
337 |
+
{file = "scipy-1.6.1-cp39-cp39-win_amd64.whl", hash = "sha256:a5193a098ae9f29af283dcf0041f762601faf2e595c0db1da929875b7570353f"},
|
338 |
+
{file = "scipy-1.6.1.tar.gz", hash = "sha256:c4fceb864890b6168e79b0e714c585dbe2fd4222768ee90bc1aa0f8218691b11"},
|
339 |
+
]
|
340 |
+
six = [
|
341 |
+
{file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"},
|
342 |
+
{file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"},
|
343 |
+
]
|
344 |
+
sklearn = [
|
345 |
+
{file = "sklearn-0.0.tar.gz", hash = "sha256:e23001573aa194b834122d2b9562459bf5ae494a2d59ca6b8aa22c85a44c0e31"},
|
346 |
+
]
|
347 |
+
threadpoolctl = [
|
348 |
+
{file = "threadpoolctl-3.1.0-py3-none-any.whl", hash = "sha256:8b99adda265feb6773280df41eece7b2e6561b772d21ffd52e372f999024907b"},
|
349 |
+
{file = "threadpoolctl-3.1.0.tar.gz", hash = "sha256:a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380"},
|
350 |
+
]
|
pyproject.toml
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[tool.poetry]
|
2 |
+
name = "radio-cmat2aset"
|
3 |
+
version = "0.1.0"
|
4 |
+
description = "gradio API for cmat2aset"
|
5 |
+
authors = ["ffreemt"]
|
6 |
+
license = "MIT"
|
7 |
+
|
8 |
+
[tool.poetry.dependencies]
|
9 |
+
python = "^3.8.3"
|
10 |
+
cmat2aset = "^0.1.0-alpha.7"
|
11 |
+
|
12 |
+
[tool.poetry.dev-dependencies]
|
13 |
+
|
14 |
+
[build-system]
|
15 |
+
requires = ["poetry-core>=1.0.0"]
|
16 |
+
build-backend = "poetry.core.masonry.api"
|
requirements.txt
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
asttokens==2.0.5; python_full_version >= "3.8.3" and python_version < "4.0"
|
2 |
+
cmat2aset==0.1.0a7; python_full_version >= "3.8.3" and python_version < "4.0"
|
3 |
+
colorama==0.4.5; python_full_version >= "3.8.3" and python_version < "4.0" and sys_platform == "win32"
|
4 |
+
executing==0.8.3; python_full_version >= "3.8.3" and python_version < "4.0"
|
5 |
+
icecream==2.1.2; python_full_version >= "3.8.3" and python_version < "4.0"
|
6 |
+
install==1.3.5; python_full_version >= "3.8.3" and python_version < "4.0" and python_version >= "3.5"
|
7 |
+
joblib==1.1.0; python_full_version >= "3.8.3" and python_version < "4.0" and python_version >= "3.8"
|
8 |
+
logzero==1.7.0; python_full_version >= "3.8.3" and python_version < "4.0"
|
9 |
+
numpy==1.22.4
|
10 |
+
pandas==1.4.2; python_full_version >= "3.8.3" and python_version < "4.0" and python_version >= "3.8"
|
11 |
+
pygments==2.12.0; python_full_version >= "3.8.3" and python_version < "4.0" and python_version >= "3.6"
|
12 |
+
python-dateutil==2.8.2; python_full_version >= "3.8.3" and python_version < "4.0" and python_version >= "3.8"
|
13 |
+
pytz==2022.1; python_full_version >= "3.8.3" and python_version < "4.0" and python_version >= "3.8"
|
14 |
+
scikit-learn==1.1.1; python_full_version >= "3.8.3" and python_version < "4.0" and python_version >= "3.8"
|
15 |
+
scipy==1.6.1; python_full_version >= "3.8.3" and python_version < "4.0" and python_version >= "3.8"
|
16 |
+
six==1.16.0; python_full_version >= "3.8.3" and python_version < "4.0" and python_version >= "3.8"
|
17 |
+
sklearn==0.0; python_full_version >= "3.8.3" and python_version < "4.0"
|
18 |
+
threadpoolctl==3.1.0; python_full_version >= "3.8.3" and python_version < "4.0" and python_version >= "3.8"
|
tests/__init__.py
ADDED
File without changes
|