scistackplotdb 0.2.2__tar.gz → 0.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: scistackplotdb
3
- Version: 0.2.2
3
+ Version: 0.2.5
4
4
  Summary: scidb-backed plotting: load variables into long tables and plot them with scistackplot
5
5
  Author: SciStack Contributors
6
6
  License-Expression: MIT
@@ -17,11 +17,11 @@ Classifier: Programming Language :: Python :: 3.13
17
17
  Classifier: Topic :: Scientific/Engineering :: Visualization
18
18
  Classifier: Typing :: Typed
19
19
  Requires-Python: >=3.10
20
- Requires-Dist: sciduckdb==0.2.2
21
- Requires-Dist: scifor==0.2.2
22
- Requires-Dist: scistack-db==0.2.2
23
- Requires-Dist: scistacklog==0.2.2
24
- Requires-Dist: scistackplot==0.2.2
20
+ Requires-Dist: sciduckdb==0.2.5
21
+ Requires-Dist: scifor==0.2.5
22
+ Requires-Dist: scistack-db==0.2.5
23
+ Requires-Dist: scistacklog==0.2.5
24
+ Requires-Dist: scistackplot==0.2.5
25
25
  Provides-Extra: dev
26
26
  Requires-Dist: matplotlib>=3.6; extra == 'dev'
27
27
  Requires-Dist: pytest-cov>=4.0; extra == 'dev'
@@ -133,7 +133,6 @@ for_each(
133
133
  },
134
134
  outputs=[StepLengthFigure],
135
135
  as_table=['df'],
136
- finalized=True,
137
136
  subject=[],
138
137
  )
139
138
  ```
@@ -145,7 +144,7 @@ those disagree, the exported pipeline is not what you previewed —
145
144
  `tests/test_fanout_parity.py` runs both paths against the same database and
146
145
  compares the figure sets.
147
146
 
148
- Everything about *recording* the figure — `finalized`, artifact stamping,
147
+ Everything about *recording* the figure — artifact stamping,
149
148
  `skip_computed`, `scidb report` — is SciDB's existing endpoint machinery and is
150
149
  untouched.
151
150
 
@@ -102,7 +102,6 @@ for_each(
102
102
  },
103
103
  outputs=[StepLengthFigure],
104
104
  as_table=['df'],
105
- finalized=True,
106
105
  subject=[],
107
106
  )
108
107
  ```
@@ -114,7 +113,7 @@ those disagree, the exported pipeline is not what you previewed —
114
113
  `tests/test_fanout_parity.py` runs both paths against the same database and
115
114
  compares the figure sets.
116
115
 
117
- Everything about *recording* the figure — `finalized`, artifact stamping,
116
+ Everything about *recording* the figure — artifact stamping,
118
117
  `skip_computed`, `scidb report` — is SciDB's existing endpoint machinery and is
119
118
  untouched.
120
119
 
@@ -23,7 +23,7 @@ from a finished spec.
23
23
  )
24
24
  figure = render(table, spec)
25
25
 
26
- Everything about recording a figure — ``finalized``, artifact stamping,
26
+ Everything about recording a figure — artifact stamping,
27
27
  ``scidb report`` — belongs to scidb's existing ``plot_`` endpoint machinery and
28
28
  is unchanged. See ``docs/claude/plotting-library-design.md``.
29
29
  """
@@ -14,8 +14,7 @@ If those two ever disagree, the exported pipeline is not what the user
14
14
  previewed — the worst failure mode this layer has, and what
15
15
  ``tests/test_fanout_parity.py`` exists to prevent.
16
16
 
17
- Everything else the endpoint needs already exists in scidb: ``finalized``,
18
- artifact stamping, ``skip_computed`` and ``scidb report`` are untouched.
17
+ Everything else the endpoint needs already exists in scidb: artifact stamping, ``skip_computed`` and ``scidb report`` are untouched.
19
18
  """
20
19
 
21
20
  from __future__ import annotations
@@ -61,7 +60,6 @@ def generate_endpoint(
61
60
  function_name: str | None = None,
62
61
  output_variable: str | None = None,
63
62
  path_template: str | None = None,
64
- finalized: bool = True,
65
63
  x_variable: str | None = None,
66
64
  ) -> EndpointCode:
67
65
  """
@@ -92,16 +90,14 @@ def generate_endpoint(
92
90
  output_variable=output,
93
91
  path_template=template,
94
92
  iterate_keys=iterate_keys,
95
- finalized=finalized,
96
93
  )
97
94
 
98
95
  Log.info(
99
- "generated endpoint %s: input=%s output=%s iterate=%s finalized=%s",
96
+ "generated endpoint %s: input=%s output=%s iterate=%s",
100
97
  name,
101
98
  input_variable,
102
99
  output,
103
100
  iterate_keys or "none",
104
- finalized,
105
101
  layer=LAYER,
106
102
  )
107
103
  return EndpointCode(
@@ -241,7 +237,6 @@ def _foreach_call(
241
237
  output_variable: str,
242
238
  path_template: str,
243
239
  iterate_keys: list[str],
244
- finalized: bool,
245
240
  ) -> str:
246
241
  variant_inputs = variant_params(spec)
247
242
  if variant_inputs:
@@ -306,7 +301,6 @@ def _foreach_call(
306
301
  # A plot_ function receives the long-format table (schema keys as
307
302
  # columns) — as_table defaults ON only for stat_, so say it explicitly.
308
303
  f" as_table={table_inputs!r},",
309
- f" finalized={finalized},",
310
304
  ]
311
305
  for key in iterate_keys:
312
306
  # [] means "every value present" — the same all-values resolution