jarvisplot 1.0.0__py3-none-any.whl → 1.0.2__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.
Potentially problematic release.
This version of jarvisplot might be problematic. Click here for more details.
- jarvisplot/Figure/__init__.py +1 -0
- jarvisplot/cli.py +2 -1
- jarvisplot/client.py +2 -1
- jarvisplot/core.py +2 -2
- {jarvisplot-1.0.0.dist-info → jarvisplot-1.0.2.dist-info}/METADATA +15 -22
- {jarvisplot-1.0.0.dist-info → jarvisplot-1.0.2.dist-info}/RECORD +9 -8
- {jarvisplot-1.0.0.dist-info → jarvisplot-1.0.2.dist-info}/WHEEL +0 -0
- {jarvisplot-1.0.0.dist-info → jarvisplot-1.0.2.dist-info}/entry_points.txt +0 -0
- {jarvisplot-1.0.0.dist-info → jarvisplot-1.0.2.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# JarvisPLOT Figure subpackage
|
jarvisplot/cli.py
CHANGED
|
@@ -6,7 +6,8 @@ import os, sys
|
|
|
6
6
|
|
|
7
7
|
# --- version import fallback ---
|
|
8
8
|
try:
|
|
9
|
-
from .
|
|
9
|
+
from importlib.metadata import version as _pkg_version
|
|
10
|
+
JPLOT_VERSION = _pkg_version("jarvisplot")
|
|
10
11
|
except Exception:
|
|
11
12
|
JPLOT_VERSION = "0.0.0"
|
|
12
13
|
|
jarvisplot/client.py
CHANGED
jarvisplot/core.py
CHANGED
|
@@ -16,14 +16,13 @@ from .Figure.data_pipelines import SharedContent, DataContext
|
|
|
16
16
|
|
|
17
17
|
class JarvisPLOT():
|
|
18
18
|
def __init__(self) -> None:
|
|
19
|
-
self.dataset = {}
|
|
20
19
|
self.variables = {}
|
|
21
20
|
self.yaml = ConfigLoader()
|
|
22
21
|
self.style = {}
|
|
23
22
|
self.profiles = {}
|
|
24
23
|
self.cli = CLI()
|
|
25
24
|
self.logger = None
|
|
26
|
-
self.dataset:
|
|
25
|
+
self.dataset: list[DataSet] = []
|
|
27
26
|
self.shared = None
|
|
28
27
|
self.ctx = None
|
|
29
28
|
self.interpolators = None
|
|
@@ -164,6 +163,7 @@ class JarvisPLOT():
|
|
|
164
163
|
self.cli.args.print_help()
|
|
165
164
|
help_text = buf.getvalue()
|
|
166
165
|
self.logger.warning("JarvisPLOT " + help_text)
|
|
166
|
+
sys.exit(2)
|
|
167
167
|
except Exception:
|
|
168
168
|
pass
|
|
169
169
|
return
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jarvisplot
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: JarvisPLOT: YAML-driven plotting engine
|
|
5
5
|
Requires-Python: >=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -20,25 +20,31 @@ It provides a simple command-line interface (CLI) to generate publication-qualit
|
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install jarvisplot
|
|
27
|
+
```
|
|
28
|
+
|
|
23
29
|
## Command-Line Usage
|
|
24
30
|
|
|
25
31
|
Display help information:
|
|
26
32
|
|
|
27
33
|
```bash
|
|
28
|
-
|
|
34
|
+
jplot -h
|
|
29
35
|
```
|
|
30
36
|
|
|
31
37
|
Run JarvisPLOT with one or more YAML configuration files:
|
|
32
38
|
|
|
33
39
|
```bash
|
|
34
|
-
|
|
40
|
+
jplot path/to/config.yaml
|
|
35
41
|
```
|
|
36
42
|
|
|
37
43
|
### Example: SUSYRun2 Ternary Plots
|
|
38
44
|
|
|
39
45
|
```bash
|
|
40
|
-
|
|
41
|
-
|
|
46
|
+
jplot ./bin/SUSYRun2_EWMSSM.yaml
|
|
47
|
+
jplot ./bin/SUSYRun2_GEWMSSM.yaml
|
|
42
48
|
```
|
|
43
49
|
|
|
44
50
|
> **Note:** The data file paths inside the YAML files must be updated to match your local setup.
|
|
@@ -67,24 +73,11 @@ Run JarvisPLOT with one or more YAML configuration files:
|
|
|
67
73
|
- `scipy` — numerical utilities
|
|
68
74
|
- `h5py` — required for loading HDF5 data files
|
|
69
75
|
|
|
70
|
-
###
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
## Installation
|
|
76
|
-
|
|
77
|
-
Editable install for development:
|
|
76
|
+
### Github Page
|
|
77
|
+
[https://github.com/Pengxuan-Zhu-Phys/Jarvis-PLOT](https://github.com/Pengxuan-Zhu-Phys/Jarvis-PLOT)
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
Or install minimal dependencies manually:
|
|
84
|
-
|
|
85
|
-
```bash
|
|
86
|
-
pip install numpy pandas matplotlib pyyaml jsonschema scipy h5py
|
|
87
|
-
```
|
|
79
|
+
### Documentation
|
|
80
|
+
[https://pengxuan-zhu-phys.github.io/Jarvis-Docs/](https://pengxuan-zhu-phys.github.io/Jarvis-Docs/)
|
|
88
81
|
|
|
89
82
|
---
|
|
90
83
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
jarvisplot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
jarvisplot/cli.py,sha256=
|
|
3
|
-
jarvisplot/client.py,sha256=
|
|
2
|
+
jarvisplot/cli.py,sha256=griJye-tkRnwFPa7QUS3dgZ9T5sqv22aGZjs5-f0FPo,2595
|
|
3
|
+
jarvisplot/client.py,sha256=oc_EU5-ZN0B4Cn7Xkb0_oI1mnrPwxMmKd6cnAL-_4fc,128
|
|
4
4
|
jarvisplot/config.py,sha256=edHNoumh4bDjzj7hP1dGM6chCz_El4qNPA_wL4M3LCQ,2282
|
|
5
|
-
jarvisplot/core.py,sha256=
|
|
5
|
+
jarvisplot/core.py,sha256=4MJM-Ixv2cR311a9SNAW3lrP5RvvRJ8wtOIszgjI2uE,8873
|
|
6
6
|
jarvisplot/data_loader.py,sha256=QIN3NZPSl63xGSH_3C2upmj1-aTfkZrLY-oK6g8Lrz4,16740
|
|
7
7
|
jarvisplot/inner_func.py,sha256=hQeoJzVeTVjIb8_qRbHPf0_5lj-y0QEdOZEy-Yowm88,4158
|
|
8
|
+
jarvisplot/Figure/__init__.py,sha256=X06Fgcfy5sALAD5DesZw68m_hs7EcVBLzM0AJVte5iA,30
|
|
8
9
|
jarvisplot/Figure/adapters.py,sha256=END12kkzmhnG_bJddfQ3CQy0P3DlrY5I6WRl2DfiKlU,28502
|
|
9
10
|
jarvisplot/Figure/data_pipelines.py,sha256=4mOHyYEHkqUCsEvDL2X7l2hE9ya2HyE0rmVqJLJ6b9E,3348
|
|
10
11
|
jarvisplot/Figure/figure.py,sha256=yPfKXiN-ahXuiR4x-xVAhzyRBoXdC41yofDAWF0S6a4,66593
|
|
@@ -35,8 +36,8 @@ jarvisplot/cards/icons/gambit_small.png,sha256=maQSLO4PPSn4_J9rqIqp0qvY4Rtpx9Gii
|
|
|
35
36
|
jarvisplot/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
37
|
jarvisplot/utils/cmaps.py,sha256=2IKOUzsOZb8KReEggbNCNAdzS6IhWrcMMSUw03CunpM,9449
|
|
37
38
|
jarvisplot/utils/interpolator.py,sha256=CG6Wi6BX2cAI-TdL0d51J9wXnjxawc4R_uPlNoXHfss,13126
|
|
38
|
-
jarvisplot-1.0.
|
|
39
|
-
jarvisplot-1.0.
|
|
40
|
-
jarvisplot-1.0.
|
|
41
|
-
jarvisplot-1.0.
|
|
42
|
-
jarvisplot-1.0.
|
|
39
|
+
jarvisplot-1.0.2.dist-info/METADATA,sha256=WPNRghjWfz1c46D9FP5Rh5Kt2dt1tis28yLZLgu7cHQ,1919
|
|
40
|
+
jarvisplot-1.0.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
41
|
+
jarvisplot-1.0.2.dist-info/entry_points.txt,sha256=1dvnP7V3PTjdtL3G8OIDEKopJlDFJccC0EzFKmvp4jM,49
|
|
42
|
+
jarvisplot-1.0.2.dist-info/top_level.txt,sha256=Rvy30upSt2sE_reLghmQejiBTIo5t6HXLnMwIsiKWS8,11
|
|
43
|
+
jarvisplot-1.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|