jarvisplot 1.2.4__tar.gz → 1.2.5__tar.gz

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.
Files changed (51) hide show
  1. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/PKG-INFO +1 -1
  2. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/inner_func.py +14 -19
  3. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot.egg-info/PKG-INFO +1 -1
  4. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/pyproject.toml +1 -1
  5. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/README.md +0 -0
  6. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/Figure/__init__.py +0 -0
  7. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/Figure/adapters.py +0 -0
  8. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/Figure/cards/std_axes_adapter_config.json +0 -0
  9. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/Figure/data_pipelines.py +0 -0
  10. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/Figure/figure.py +0 -0
  11. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/Figure/helper.py +0 -0
  12. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/Figure/load_data.py +0 -0
  13. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/Figure/method_registry.py +0 -0
  14. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/Figure/preprocessor.py +0 -0
  15. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/__init__.py +0 -0
  16. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cache_store.py +0 -0
  17. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/a4paper/1x1/ternary.json +0 -0
  18. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/a4paper/2x1/rect.json +0 -0
  19. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/a4paper/2x1/rect5x1.json +0 -0
  20. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/a4paper/2x1/rect_cmap.json +0 -0
  21. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/a4paper/2x1/ternary.json +0 -0
  22. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/a4paper/2x1/ternary_cmap.json +0 -0
  23. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/a4paper/4x1/rect.json +0 -0
  24. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/a4paper/4x1/rect_cmap.json +0 -0
  25. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/a4paper/4x1/ternary.json +0 -0
  26. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/a4paper/4x1/ternary_cmap.json +0 -0
  27. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/args.json +0 -0
  28. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/colors/colormaps.json +0 -0
  29. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/default/output.json +0 -0
  30. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/gambit/1x1/ternary.json +0 -0
  31. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/gambit/2x1/rect_cmap.json +0 -0
  32. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/gambit/2x1/ternary.json +0 -0
  33. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/gambit/2x1/ternary_cmap.json +0 -0
  34. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/icons/JarvisHEP.png +0 -0
  35. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/icons/gambit.png +0 -0
  36. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/icons/gambit_small.png +0 -0
  37. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cards/style_preference.json +0 -0
  38. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/cli.py +0 -0
  39. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/client.py +0 -0
  40. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/config.py +0 -0
  41. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/core.py +0 -0
  42. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/data_loader.py +0 -0
  43. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/utils/__init__.py +0 -0
  44. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/utils/cmaps.py +0 -0
  45. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot/utils/interpolator.py +0 -0
  46. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot.egg-info/SOURCES.txt +0 -0
  47. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot.egg-info/dependency_links.txt +0 -0
  48. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot.egg-info/entry_points.txt +0 -0
  49. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot.egg-info/requires.txt +0 -0
  50. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/jarvisplot.egg-info/top_level.txt +0 -0
  51. {jarvisplot-1.2.4 → jarvisplot-1.2.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jarvisplot
3
- Version: 1.2.4
3
+ Version: 1.2.5
4
4
  Summary: JarvisPLOT: YAML-driven plotting engine
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -136,23 +136,14 @@ def LogGauss(xx, mean, err):
136
136
  return prob
137
137
 
138
138
 
139
- def _extract_operas_full_name_map(func_locals, numeric_funcs):
140
- """Build `namespace.function -> callable` map from Jarvis-Operas dicts."""
141
- full_name_map = {}
142
- for namespace, ns_obj in (func_locals or {}).items():
143
- if not isinstance(namespace, str):
144
- continue
145
- attrs = getattr(ns_obj, "__dict__", None)
146
- if not isinstance(attrs, dict):
147
- continue
148
- for short_name, symbol_fn in attrs.items():
149
- if not isinstance(short_name, str):
150
- continue
151
- symbolic_name = str(symbol_fn)
152
- fn = numeric_funcs.get(symbolic_name)
153
- if callable(fn):
154
- full_name_map[f"{namespace}.{short_name}"] = fn
155
- return full_name_map
139
+ def _extract_operas_full_name_map():
140
+ """Build `namespace.function -> callable` map from Jarvis-Operas registry."""
141
+ try:
142
+ from jarvis_operas import build_register_dicts
143
+
144
+ return build_register_dicts()
145
+ except Exception:
146
+ return {}
156
147
 
157
148
 
158
149
  def _build_operas_eval_namespaces(full_name_map):
@@ -184,11 +175,15 @@ def update_funcs(funcs):
184
175
  # Keep both symbolic/numeric views for compatibility, and provide
185
176
  # namespace-style objects so plain `eval` can call `namespace.func(x)`.
186
177
  try:
187
- from jarvis_operas import func_locals, numeric_funcs
178
+ from jarvis_operas import build_sympy_dicts
188
179
 
180
+ operas_full_name_map = _extract_operas_full_name_map()
181
+ func_locals, numeric_funcs = build_sympy_dicts(
182
+ operas_full_name_map,
183
+ include_all=True,
184
+ )
189
185
  funcs.update(numeric_funcs)
190
186
  funcs.update(func_locals)
191
- operas_full_name_map = _extract_operas_full_name_map(func_locals, numeric_funcs)
192
187
  funcs.update(operas_full_name_map)
193
188
  funcs.update(_build_operas_eval_namespaces(operas_full_name_map))
194
189
  except Exception:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jarvisplot
3
- Version: 1.2.4
3
+ Version: 1.2.5
4
4
  Summary: JarvisPLOT: YAML-driven plotting engine
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "jarvisplot"
7
- version = "1.2.4"
7
+ version = "1.2.5"
8
8
  description = "JarvisPLOT: YAML-driven plotting engine"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
File without changes
File without changes
File without changes