PyMieSimX 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- PyMieSimX/__init__.py +5 -0
- PyMieSimX/__main__.py +35 -0
- PyMieSimX/gui/__init__.py +5 -0
- PyMieSimX/gui/assets/card-state.js +41 -0
- PyMieSimX/gui/assets/dashboard.css +3352 -0
- PyMieSimX/gui/assets/default-settings.json +32 -0
- PyMieSimX/gui/assets/logo.png +0 -0
- PyMieSimX/gui/assets/pymiesim-favicon.svg +6 -0
- PyMieSimX/gui/assets/pymiesim-logo-dark.svg +15 -0
- PyMieSimX/gui/assets/pymiesim-logo.svg +39 -0
- PyMieSimX/gui/components/__init__.py +5 -0
- PyMieSimX/gui/components/cards.py +64 -0
- PyMieSimX/gui/defaults.py +18 -0
- PyMieSimX/gui/interface.py +688 -0
- PyMieSimX/gui/layout.py +329 -0
- PyMieSimX/gui/pages/__init__.py +9 -0
- PyMieSimX/gui/pages/citation.py +66 -0
- PyMieSimX/gui/pages/documentation.py +132 -0
- PyMieSimX/gui/pages/experiment/__init__.py +5 -0
- PyMieSimX/gui/pages/experiment/page.py +49 -0
- PyMieSimX/gui/pages/experiment/sections/__init__.py +5 -0
- PyMieSimX/gui/pages/experiment/sections/configuration.py +42 -0
- PyMieSimX/gui/pages/home.py +152 -0
- PyMieSimX/gui/pages/install_local.py +110 -0
- PyMieSimX/gui/pages/settings.py +87 -0
- PyMieSimX/gui/pages/single/__init__.py +5 -0
- PyMieSimX/gui/pages/single/page.py +28 -0
- PyMieSimX/gui/pages/single/sections/__init__.py +6 -0
- PyMieSimX/gui/pages/single/sections/representations.py +38 -0
- PyMieSimX/gui/pages/single/sections/setup.py +27 -0
- PyMieSimX/gui/parsing.py +149 -0
- PyMieSimX/gui/schemas.py +118 -0
- PyMieSimX/gui/services.py +735 -0
- pymiesimx-0.1.0.dist-info/METADATA +90 -0
- pymiesimx-0.1.0.dist-info/RECORD +39 -0
- pymiesimx-0.1.0.dist-info/WHEEL +5 -0
- pymiesimx-0.1.0.dist-info/entry_points.txt +2 -0
- pymiesimx-0.1.0.dist-info/licenses/LICENSE +21 -0
- pymiesimx-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: PyMieSimX
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Graphical Dash interface for PyMieSim.
|
|
5
|
+
Author-email: Martin Poinsinet de Sivry-Houle <martin.poinsinet.de.sivry@gmail.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2020 Martin Poinsinet de Sivry-Houle
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: Repository, https://github.com/MartinPdeS/PyMieSimX
|
|
29
|
+
Requires-Python: >=3.10
|
|
30
|
+
Description-Content-Type: text/x-rst
|
|
31
|
+
License-File: LICENSE
|
|
32
|
+
Requires-Dist: PyMieSim>=5.1.2
|
|
33
|
+
Requires-Dist: dash>=4.1.0
|
|
34
|
+
Requires-Dist: gunicorn>=23.0.0
|
|
35
|
+
Requires-Dist: numpy>=2.0
|
|
36
|
+
Requires-Dist: pandas>=2.2
|
|
37
|
+
Requires-Dist: plotly<7,>=5.24
|
|
38
|
+
Provides-Extra: testing
|
|
39
|
+
Requires-Dist: pytest>=8.0; extra == "testing"
|
|
40
|
+
Requires-Dist: pytest-cov>=5.0; extra == "testing"
|
|
41
|
+
Requires-Dist: coverage>=7.0; extra == "testing"
|
|
42
|
+
Provides-Extra: dev
|
|
43
|
+
Requires-Dist: build>=1.2; extra == "dev"
|
|
44
|
+
Requires-Dist: mypy==1.15.0; extra == "dev"
|
|
45
|
+
Requires-Dist: ruff==0.11.2; extra == "dev"
|
|
46
|
+
Dynamic: license-file
|
|
47
|
+
|
|
48
|
+
PyMieSimX
|
|
49
|
+
=========
|
|
50
|
+
|
|
51
|
+
PyMieSimX is the standalone graphical interface for `PyMieSim
|
|
52
|
+
<https://github.com/MartinPdeS/PyMieSim>`_. It provides a Dash application for
|
|
53
|
+
configuring optical setups, running parameter sweeps, exploring individual
|
|
54
|
+
particles, and exporting results.
|
|
55
|
+
|
|
56
|
+
Installation
|
|
57
|
+
------------
|
|
58
|
+
|
|
59
|
+
Install the GUI and its PyMieSim dependency with::
|
|
60
|
+
|
|
61
|
+
pip install PyMieSimX
|
|
62
|
+
|
|
63
|
+
Launch the dashboard with::
|
|
64
|
+
|
|
65
|
+
pymiesimx
|
|
66
|
+
|
|
67
|
+
Use ``pymiesimx --help`` to see the available host, port, browser, and debug
|
|
68
|
+
options.
|
|
69
|
+
|
|
70
|
+
Development
|
|
71
|
+
-----------
|
|
72
|
+
|
|
73
|
+
Install an editable checkout with::
|
|
74
|
+
|
|
75
|
+
pip install -e .
|
|
76
|
+
|
|
77
|
+
The GUI source lives in ``PyMieSimX/gui``. Scientific calculations are provided
|
|
78
|
+
by the installed ``PyMieSim`` package rather than duplicated here.
|
|
79
|
+
|
|
80
|
+
Testing and automation
|
|
81
|
+
----------------------
|
|
82
|
+
|
|
83
|
+
Run the GUI test suite with::
|
|
84
|
+
|
|
85
|
+
pip install -e ".[testing]"
|
|
86
|
+
python -m pytest
|
|
87
|
+
|
|
88
|
+
GitHub Actions includes quality checks, GUI tests, PyPI publishing, Conda
|
|
89
|
+
recipe publishing, and coverage deployment. The Conda recipe is in
|
|
90
|
+
``meta.yaml`` and the container entry point is defined in ``Dockerfile``.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
PyMieSimX/__init__.py,sha256=QdxD-EUr4qc-559hHkU5E22P-uH9K7QVcRZuRaa7UYg,165
|
|
2
|
+
PyMieSimX/__main__.py,sha256=URSX7YbmxgHkRsfyxB8Tw8WAV9v7IcHpjbw0DTuXRt8,1303
|
|
3
|
+
PyMieSimX/gui/__init__.py,sha256=F17-wuiFv8PmFL9rmtRelzgirP8Xnu8fAuPj8Kdg08o,195
|
|
4
|
+
PyMieSimX/gui/defaults.py,sha256=cNCg1vsbKTEAx8xqdmxpjsMiB0GuJPNBgCyyyOkHURI,603
|
|
5
|
+
PyMieSimX/gui/interface.py,sha256=hN-OqoMRt8YE-tgCuiP3UjWmMI21lS1kFAL1pImrowI,33559
|
|
6
|
+
PyMieSimX/gui/layout.py,sha256=he07zhslLjaXmrLdmlCV3H2HCzeRB4cihvxdGj4GTEw,13450
|
|
7
|
+
PyMieSimX/gui/parsing.py,sha256=YMOXEkhEjfyZ-5O5YY7YGDbUT0u-Ni0GapRkfdo5WAE,4570
|
|
8
|
+
PyMieSimX/gui/schemas.py,sha256=sO9Wt22HH-hVjUGizz8gbV3ZPdamkrSAcTsxIQJ4N08,5423
|
|
9
|
+
PyMieSimX/gui/services.py,sha256=i-as5QPkfDAl7OnRwl-BlOzYPpueyfo5C7Zb1MX_6So,30402
|
|
10
|
+
PyMieSimX/gui/assets/card-state.js,sha256=OtvORP11RadkYI161a12C6Ozl0UbccfB0ACQxURB3OI,1158
|
|
11
|
+
PyMieSimX/gui/assets/dashboard.css,sha256=VY-faQmwg0JHIgCcvR_LfnQToGoWsFA4tli0KuSfA2M,78371
|
|
12
|
+
PyMieSimX/gui/assets/default-settings.json,sha256=JVfDu0f_Xc2ah1gURyRSwFYnf0Spd6gCQE6CdSn1dZo,694
|
|
13
|
+
PyMieSimX/gui/assets/logo.png,sha256=nq91evFM75RS2Er6ypW_s4-_ig_bbwyhi5khxjQGpNo,375846
|
|
14
|
+
PyMieSimX/gui/assets/pymiesim-favicon.svg,sha256=pQ8W_YVXTJ1ZhlVrsNscyWf139vMuDiY7qdCOi_OPMQ,384
|
|
15
|
+
PyMieSimX/gui/assets/pymiesim-logo-dark.svg,sha256=PgZbIidG2-1jZ_GdL6m7fkRLMdyiV9JkbXc1h6bt-fI,1157
|
|
16
|
+
PyMieSimX/gui/assets/pymiesim-logo.svg,sha256=kg3vUUqSaPII9Is8ZAvB0Cf1c--w_jStWxG4MOqoKng,1384
|
|
17
|
+
PyMieSimX/gui/components/__init__.py,sha256=psJw1_gIV0narmcEzuXE_WSiTAt4ScLtXr6R1DcTfes,118
|
|
18
|
+
PyMieSimX/gui/components/cards.py,sha256=BqgVV6Z-dxET9R_IBkXnQ-6Uq3xWJEyi-wDU30YghBs,2540
|
|
19
|
+
PyMieSimX/gui/pages/__init__.py,sha256=Dc7mmd7bYl6n3SE0O-OAmxlkUUvPjLKobPTAajnfxfw,410
|
|
20
|
+
PyMieSimX/gui/pages/citation.py,sha256=QIzWAttwDTFDKOrwuztnshVZywXFK61dzwerZyb9mNY,2890
|
|
21
|
+
PyMieSimX/gui/pages/documentation.py,sha256=NG43Sb5jgpKIQ8mlzu9vtE12FhosVVX1JcR3xRGkb4Y,8659
|
|
22
|
+
PyMieSimX/gui/pages/home.py,sha256=2dtjNYln6Ajn851dx-L2Q52UVZ8owHmESXHnzyqfHcE,6721
|
|
23
|
+
PyMieSimX/gui/pages/install_local.py,sha256=KUjybke0ng2tMvE8jdJ0wqgKf5Iux4w1qHvoswaL57E,4907
|
|
24
|
+
PyMieSimX/gui/pages/settings.py,sha256=g8sDMilA_LtesposSWapQ0gooHzjVB3kdDG1DdVZk9I,6264
|
|
25
|
+
PyMieSimX/gui/pages/experiment/__init__.py,sha256=zmUdBVQ24TKzTsx_iY7ezX3F4NUor58MoA-SCsj7o_A,119
|
|
26
|
+
PyMieSimX/gui/pages/experiment/page.py,sha256=w27QFfsbeJFM_EfgUMEeQNl1v89G1wsO7uIH99ZXIcE,2738
|
|
27
|
+
PyMieSimX/gui/pages/experiment/sections/__init__.py,sha256=W-_JAStXJrBnLaS3E6uBJbIe2Y2gQZctDmtGXwQL378,223
|
|
28
|
+
PyMieSimX/gui/pages/experiment/sections/configuration.py,sha256=WEoZmhJupOwLsebC6cD2U-R1g9R2Cg9k8ajbcYt28I4,2453
|
|
29
|
+
PyMieSimX/gui/pages/single/__init__.py,sha256=FOdgf3LvtnFsR_nQpvTIkxPcLhoVQZUDzemHfpiWmrw,111
|
|
30
|
+
PyMieSimX/gui/pages/single/page.py,sha256=uQkwJDVCaZ5hUFC1TUZoJpOoArkKt0_lthiV2zTJKKY,2106
|
|
31
|
+
PyMieSimX/gui/pages/single/sections/__init__.py,sha256=seLIsx0VKoGFyBCJQzpkYkLHCBRO7rmKymdFX8ceIaY,270
|
|
32
|
+
PyMieSimX/gui/pages/single/sections/representations.py,sha256=c12jeMdHy_D3H6S_EcojdO1ltxqmVDSj9X2lgC8Fxpo,3864
|
|
33
|
+
PyMieSimX/gui/pages/single/sections/setup.py,sha256=xMZ0-2PyVQXM03qzdwNooykCRqn7XUS7aYwhgOx0oOk,1681
|
|
34
|
+
pymiesimx-0.1.0.dist-info/licenses/LICENSE,sha256=-QSWDJghhVqbAzChmEK86liqPX_eeQFgdwlrKTLLcIA,1088
|
|
35
|
+
pymiesimx-0.1.0.dist-info/METADATA,sha256=ilJAT2nXOdTIdPMb1cYoboMZfcjymjVJ4Uj2uZmF8cc,3205
|
|
36
|
+
pymiesimx-0.1.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
37
|
+
pymiesimx-0.1.0.dist-info/entry_points.txt,sha256=6jz5_6qyFCVOvtzrq9f4-B58JBVtR7Avd-B9IHSssnk,54
|
|
38
|
+
pymiesimx-0.1.0.dist-info/top_level.txt,sha256=66WvbfwNLAB1zxqNrL3wIrNI9DmrWVktjom2wRTCb2U,10
|
|
39
|
+
pymiesimx-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Martin Poinsinet de Sivry-Houle
|
|
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.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
PyMieSimX
|