py-pilecore 1.0.1__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 py-pilecore might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: py-pilecore
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: Public python SDK for the CEMS PileCore web-API.
5
5
  License: MIT License
6
6
 
@@ -56,7 +56,7 @@ Requires-Dist: sphinx_rtd_theme==3.0.2; extra == "docs"
56
56
  Provides-Extra: lint
57
57
  Requires-Dist: ansible-lint==25.1.3; extra == "lint"
58
58
  Requires-Dist: black==25.1.0; extra == "lint"
59
- Requires-Dist: cfn-lint==1.25.1; extra == "lint"
59
+ Requires-Dist: cfn-lint==1.33.2; extra == "lint"
60
60
  Requires-Dist: cpplint==2.0.0; extra == "lint"
61
61
  Requires-Dist: flake8==7.1.2; extra == "lint"
62
62
  Requires-Dist: isort==6.0.0; extra == "lint"
@@ -1,6 +1,6 @@
1
- py_pilecore-1.0.1.dist-info/licenses/LICENSE,sha256=3OCAZXffN0Bettjeya8uF_ZYegyvvCfH1WUt6CrHb_0,1061
1
+ py_pilecore-1.0.2.dist-info/licenses/LICENSE,sha256=3OCAZXffN0Bettjeya8uF_ZYegyvvCfH1WUt6CrHb_0,1061
2
2
  pypilecore/__init__.py,sha256=oJvwYShj_7FyNVlUgQda4tTdYyLIi5H1asdiS_uYt9M,162
3
- pypilecore/_version.py,sha256=8e6PTKmoZdh9Cd0dOovoAh5Tws3B__EZBEZIzVp5hjI,175
3
+ pypilecore/_version.py,sha256=_rwWTWwSBaaR-pQJfJGXpvM5hd8P4tPjyR6kiEQyylk,175
4
4
  pypilecore/api.py,sha256=U41P6_N5ihwIv91kayrI7cs_KTo2M5HfJGqO6K6aJVE,9959
5
5
  pypilecore/exceptions.py,sha256=-MZOfsxyHLCI0k1-wZFfVsMxc1lya5buuhLks5rxlCo,89
6
6
  pypilecore/plot_utils.py,sha256=rK5_067-4-x7LzZgt_t6ahcGrZInxNrqHqsy0RzCnq8,954
@@ -39,11 +39,11 @@ pypilecore/viewers/viewer_cpt_group_results.py,sha256=uPm0xltU7yQhOgeS2tqTSFrmU0
39
39
  pypilecore/viewers/viewer_cpt_results.py,sha256=EWY8S_Xuabz8EGz4JWTD2RJ0dzz5zCmkRqtFt8VskZw,2999
40
40
  pypilecore/viewers/viewer_cpt_results_plan_view.py,sha256=BI8VSg55E6QATJsNKskEzmLFRtGSY3Kr_yWaC1QxRME,3689
41
41
  pypilecore/viewers/interactive_figures/__init__.py,sha256=u6fkLqDB35J2bdGvUewzRC8UEQUFF6AoXxR-_v8AX0A,481
42
- pypilecore/viewers/interactive_figures/figure_cpt_group_results_versus_ptls.py,sha256=RzNOYQmP_yT8oYeIMW9aYNl7aAKU-uFQfygxP9AwDsU,6471
43
- pypilecore/viewers/interactive_figures/figure_cpt_results_plan_view.py,sha256=cTR-huJn_RigWH_xdN19mi8kwngbKhDhUevgsDKcvjs,9287
44
- pypilecore/viewers/interactive_figures/figure_cpt_results_versus_ptls.py,sha256=6huCKcQ4bsBE-LNY-ZPa13IWuye0ENxPK4wT1dcCFRs,5964
42
+ pypilecore/viewers/interactive_figures/figure_cpt_group_results_versus_ptls.py,sha256=SraS2w3ByzJLDGxxm1sOqMg9zBYv4uq_-iVw2qHHoos,6541
43
+ pypilecore/viewers/interactive_figures/figure_cpt_results_plan_view.py,sha256=6je5ALYihQ_9bMbT_rinByCgHfQ61dWB6zzDhiL_iCQ,9380
44
+ pypilecore/viewers/interactive_figures/figure_cpt_results_versus_ptls.py,sha256=Kaaw1HT4d-fA5DJzvBHbE3yg-I-fWzxhE8gUxfPWahU,6046
45
45
  pypilecore/viewers/interactive_figures/utils.py,sha256=B2X8hbbmJqjm8E2VrS2EoX5F1yQ5qOQnQUG_vbsseT8,1692
46
- py_pilecore-1.0.1.dist-info/METADATA,sha256=Qwre36aasEnzHTZllQbinzgKF6mwMSsxqQWjbqSfQB0,5970
47
- py_pilecore-1.0.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
48
- py_pilecore-1.0.1.dist-info/top_level.txt,sha256=7BKIWZuSkbQtJ0ho5P1JvcaEbHzqADCcBuOduZmIaiI,11
49
- py_pilecore-1.0.1.dist-info/RECORD,,
46
+ py_pilecore-1.0.2.dist-info/METADATA,sha256=olPy9njwXecMcCuFxRjGrKEfPsvHkd97rfJsToLH3J8,5970
47
+ py_pilecore-1.0.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
48
+ py_pilecore-1.0.2.dist-info/top_level.txt,sha256=7BKIWZuSkbQtJ0ho5P1JvcaEbHzqADCcBuOduZmIaiI,11
49
+ py_pilecore-1.0.2.dist-info/RECORD,,
pypilecore/_version.py CHANGED
@@ -4,4 +4,4 @@ try:
4
4
  __version__ = version("py-pilecore")
5
5
  # during CI
6
6
  except PackageNotFoundError:
7
- __version__ = "1.0.1"
7
+ __version__ = "1.0.2"
@@ -42,21 +42,7 @@ class FigureCPTGroupResultsVersusPtls:
42
42
  self._set_results(cases_multi_results)
43
43
 
44
44
  # Initialize the figure
45
- self._figure = go.FigureWidget(
46
- layout=go.Layout(
47
- height=800,
48
- width=800,
49
- title="CPT Group Results vs. Pile tip level for all cases<br>Result: ",
50
- legend_title="Case",
51
- colorway=px.colors.qualitative.Plotly,
52
- xaxis_title="",
53
- yaxis=go.layout.YAxis(
54
- title="Pile tip level [m NAP]",
55
- title_font_size=18,
56
- ),
57
- autosize=False,
58
- )
59
- )
45
+ self._figure = go.FigureWidget()
60
46
 
61
47
  def _set_results(self, value: CasesMultiCPTBearingResults) -> None:
62
48
  """Private setter for the results."""
@@ -176,6 +162,18 @@ class FigureCPTGroupResultsVersusPtls:
176
162
  title_font_size=18,
177
163
  ),
178
164
  showlegend=True,
165
+ # The following parameters shouldn't be necessary to update
166
+ # (and therefore could be assigned on initialization of self.figure),
167
+ # but they are needed to avoid a bug in plotly since dash > 3.0.
168
+ height=800,
169
+ width=800,
170
+ legend_title="Case",
171
+ colorway=px.colors.qualitative.Plotly,
172
+ yaxis=go.layout.YAxis(
173
+ title="Pile tip level [m NAP]",
174
+ title_font_size=18,
175
+ ),
176
+ autosize=False,
179
177
  )
180
178
 
181
179
  self.figure.update_traces(
@@ -43,24 +43,7 @@ class FigureCPTResultsPlanView:
43
43
  self._set_results(cases_multi_results)
44
44
 
45
45
  # Initialize the figure
46
- self._figure = go.FigureWidget(
47
- layout=go.Layout(
48
- height=800,
49
- width=1200,
50
- title="CPT Results in Plan View<br>Case: , Pile tip level [m NAP]: <br>Result: ",
51
- legend_title="CPT",
52
- colorway=px.colors.qualitative.Plotly,
53
- xaxis=go.layout.XAxis(
54
- title="X [m]",
55
- title_font_size=18,
56
- ),
57
- yaxis=go.layout.YAxis(
58
- title="Y [m]",
59
- title_font_size=18,
60
- ),
61
- autosize=False,
62
- )
63
- )
46
+ self._figure = go.FigureWidget()
64
47
 
65
48
  def _set_results(self, value: CasesMultiCPTBearingResults) -> None:
66
49
  """Private setter for the results."""
@@ -242,7 +225,23 @@ class FigureCPTResultsPlanView:
242
225
  self.figure.update_layout(
243
226
  title=f"CPT Results in Plan View<br>Case: {case_name}, "
244
227
  + f"Pile tip level [m NAP]: {pile_tip_level_nap}<br>"
245
- + f"Result: {result_definition.value.html} [{result_definition.value.unit}]"
228
+ + f"Result: {result_definition.value.html} [{result_definition.value.unit}]",
229
+ # The following parameters shouldn't be necessary to update
230
+ # (and therefore could be assigned on initialization of self.figure),
231
+ # but they are needed to avoid a bug in plotly since dash > 3.0.
232
+ height=800,
233
+ width=1200,
234
+ legend_title="CPT",
235
+ colorway=px.colors.qualitative.Plotly,
236
+ xaxis=go.layout.XAxis(
237
+ title="X [m]",
238
+ title_font_size=18,
239
+ ),
240
+ yaxis=go.layout.YAxis(
241
+ title="Y [m]",
242
+ title_font_size=18,
243
+ ),
244
+ autosize=False,
246
245
  )
247
246
 
248
247
  self.figure.update_traces(
@@ -41,21 +41,7 @@ class FigureCPTResultsVersusPtls:
41
41
  self._set_results(cases_multi_results)
42
42
 
43
43
  # Initialize the figure
44
- self._figure = go.FigureWidget(
45
- layout=go.Layout(
46
- height=800,
47
- width=800,
48
- title="CPT Results vs. Pile tip level<br>Case: , Result: ",
49
- legend_title="CPT",
50
- colorway=px.colors.qualitative.Plotly,
51
- xaxis_title="",
52
- yaxis=go.layout.YAxis(
53
- title="Pile tip level [m NAP]",
54
- title_font_size=18,
55
- ),
56
- autosize=False,
57
- )
58
- )
44
+ self._figure = go.FigureWidget()
59
45
 
60
46
  def _set_results(self, value: CasesMultiCPTBearingResults) -> None:
61
47
  """Private setter for the results."""
@@ -159,6 +145,18 @@ class FigureCPTResultsVersusPtls:
159
145
  title_font_size=18,
160
146
  ),
161
147
  showlegend=True,
148
+ # The following parameters shouldn't be necessary to update
149
+ # (and therefore could be assigned on initialization of self.figure),
150
+ # but they are needed to avoid a bug in plotly since dash > 3.0.
151
+ height=800,
152
+ width=800,
153
+ legend_title="CPT",
154
+ colorway=px.colors.qualitative.Plotly,
155
+ yaxis=go.layout.YAxis(
156
+ title="Pile tip level [m NAP]",
157
+ title_font_size=18,
158
+ ),
159
+ autosize=False,
162
160
  )
163
161
 
164
162
  self.figure.update_traces(