py-pilecore 0.9.1__tar.gz → 1.0.0__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.

Potentially problematic release.


This version of py-pilecore might be problematic. Click here for more details.

Files changed (55) hide show
  1. {py_pilecore-0.9.1/src/py_pilecore.egg-info → py_pilecore-1.0.0}/PKG-INFO +31 -29
  2. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/pyproject.toml +44 -43
  3. {py_pilecore-0.9.1 → py_pilecore-1.0.0/src/py_pilecore.egg-info}/PKG-INFO +31 -29
  4. py_pilecore-1.0.0/src/py_pilecore.egg-info/requires.txt +38 -0
  5. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/_version.py +1 -1
  6. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/api.py +2 -0
  7. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/common/piles/main.py +21 -0
  8. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/common/piles/type.py +48 -0
  9. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/input/tension.py +17 -4
  10. py_pilecore-0.9.1/src/py_pilecore.egg-info/requires.txt +0 -37
  11. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/LICENSE +0 -0
  12. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/README.md +0 -0
  13. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/setup.cfg +0 -0
  14. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/py_pilecore.egg-info/SOURCES.txt +0 -0
  15. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/py_pilecore.egg-info/dependency_links.txt +0 -0
  16. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/py_pilecore.egg-info/top_level.txt +0 -0
  17. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/__init__.py +0 -0
  18. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/common/__init__.py +0 -0
  19. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/common/piles/__init__.py +0 -0
  20. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/common/piles/geometry/__init__.py +0 -0
  21. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/common/piles/geometry/components/__init__.py +0 -0
  22. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/common/piles/geometry/components/common.py +0 -0
  23. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/common/piles/geometry/components/rectangle.py +0 -0
  24. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/common/piles/geometry/components/round.py +0 -0
  25. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/common/piles/geometry/main.py +0 -0
  26. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/common/piles/geometry/materials.py +0 -0
  27. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/common/piles/grid.py +0 -0
  28. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/exceptions.py +0 -0
  29. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/input/__init__.py +0 -0
  30. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/input/grouper_properties.py +0 -0
  31. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/input/multi_cpt.py +0 -0
  32. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/input/soil_properties.py +0 -0
  33. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/plot_utils.py +0 -0
  34. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/results/__init__.py +0 -0
  35. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/results/cases_multi_cpt_results.py +0 -0
  36. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/results/compression/multi_cpt_results.py +0 -0
  37. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/results/compression/single_cpt_results.py +0 -0
  38. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/results/grouper_result.py +0 -0
  39. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/results/load_settlement.py +0 -0
  40. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/results/post_processing.py +0 -0
  41. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/results/result_definitions.py +0 -0
  42. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/results/soil_properties.py +0 -0
  43. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/results/tension/multi_cpt_results.py +0 -0
  44. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/results/tension/single_cpt_results.py +0 -0
  45. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/results/typing.py +0 -0
  46. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/utils.py +0 -0
  47. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/viewers/__init__.py +0 -0
  48. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/viewers/interactive_figures/__init__.py +0 -0
  49. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/viewers/interactive_figures/figure_cpt_group_results_versus_ptls.py +0 -0
  50. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/viewers/interactive_figures/figure_cpt_results_plan_view.py +0 -0
  51. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/viewers/interactive_figures/figure_cpt_results_versus_ptls.py +0 -0
  52. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/viewers/interactive_figures/utils.py +0 -0
  53. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/viewers/viewer_cpt_group_results.py +0 -0
  54. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/viewers/viewer_cpt_results.py +0 -0
  55. {py_pilecore-0.9.1 → py_pilecore-1.0.0}/src/pypilecore/viewers/viewer_cpt_results_plan_view.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: py-pilecore
3
- Version: 0.9.1
3
+ Version: 1.0.0
4
4
  Summary: Public python SDK for the CEMS PileCore web-API.
5
5
  License: MIT License
6
6
 
@@ -26,43 +26,45 @@ License: MIT License
26
26
 
27
27
  Project-URL: repository, https://github.com/cemsbv/py-pilecore
28
28
  Keywords: API,PileCore,CEMS,CRUX
29
- Requires-Python: >=3.9
29
+ Requires-Python: >=3.11
30
30
  Description-Content-Type: text/markdown
31
31
  License-File: LICENSE
32
- Requires-Dist: pygef<1,>0.8
33
- Requires-Dist: numpy<2,>1
34
- Requires-Dist: pandas<3,>2
35
- Requires-Dist: cems-nuclei[client]<2,>=1
36
- Requires-Dist: matplotlib<4,>=3.8
37
- Requires-Dist: tqdm[notebook]<5,>4
38
- Requires-Dist: natsort<9,>8
39
- Requires-Dist: shapely<3,>=2
40
- Requires-Dist: scipy<2,>=1.13
41
- Requires-Dist: ipywidgets<9,>=8
42
- Requires-Dist: dash<3,>=2.17
32
+ Requires-Dist: anywidget==0.9.18
33
+ Requires-Dist: cems-nuclei[client]<3,>=2.0.0
34
+ Requires-Dist: dash<4,>=3.0.2
35
+ Requires-Dist: ipywidgets<9,>=8.1.5
36
+ Requires-Dist: matplotlib<4,>=3.10.1
37
+ Requires-Dist: natsort<9,>=8.4.0
38
+ Requires-Dist: numpy<3,>=2.2.4
39
+ Requires-Dist: pandas<3,>=2.2.3
43
40
  Requires-Dist: plotly-geo<2,>=1.0.0
44
- Requires-Dist: plotly<6,>=5
41
+ Requires-Dist: plotly<7,>=6.0.1
42
+ Requires-Dist: pygef<0.12,>=0.11.0
43
+ Requires-Dist: scipy<2,>=1.15.2
44
+ Requires-Dist: shapely<3,>=2.1.0
45
+ Requires-Dist: tqdm[notebook]<5,>=4.67.1
45
46
  Provides-Extra: test
46
47
  Requires-Dist: coveralls; extra == "test"
47
48
  Requires-Dist: pytest; extra == "test"
48
49
  Requires-Dist: openapi-core; extra == "test"
49
50
  Provides-Extra: docs
50
- Requires-Dist: Sphinx==6.1.3; extra == "docs"
51
- Requires-Dist: sphinx-autodoc-typehints==1.22; extra == "docs"
52
- Requires-Dist: ipython==8.11.0; extra == "docs"
51
+ Requires-Dist: Sphinx==8.2.3; extra == "docs"
53
52
  Requires-Dist: asteroid-sphinx-theme==0.0.3; extra == "docs"
54
- Requires-Dist: sphinx_rtd_theme==1.2.0; extra == "docs"
53
+ Requires-Dist: ipython==9.1.0; extra == "docs"
54
+ Requires-Dist: sphinx-autodoc-typehints==3.1.0; extra == "docs"
55
+ Requires-Dist: sphinx_rtd_theme==3.0.2; extra == "docs"
55
56
  Provides-Extra: lint
56
- Requires-Dist: ansible-lint==6.22.1; extra == "lint"
57
- Requires-Dist: black==23.11.0; extra == "lint"
58
- Requires-Dist: cfn-lint==0.83.3; extra == "lint"
59
- Requires-Dist: cpplint==1.6.1; extra == "lint"
60
- Requires-Dist: flake8==6.0.0; extra == "lint"
61
- Requires-Dist: isort==5.12.0; extra == "lint"
62
- Requires-Dist: mypy==1.7.1; extra == "lint"
63
- Requires-Dist: sqlfluff==2.3.5; extra == "lint"
64
- Requires-Dist: yamllint==1.33.0; extra == "lint"
65
- Requires-Dist: yq==3.2.3; extra == "lint"
57
+ Requires-Dist: ansible-lint==25.1.3; extra == "lint"
58
+ Requires-Dist: black==25.1.0; extra == "lint"
59
+ Requires-Dist: cfn-lint==1.25.1; extra == "lint"
60
+ Requires-Dist: cpplint==2.0.0; extra == "lint"
61
+ Requires-Dist: flake8==7.1.2; extra == "lint"
62
+ Requires-Dist: isort==6.0.0; extra == "lint"
63
+ Requires-Dist: mypy==1.15.0; extra == "lint"
64
+ Requires-Dist: sqlfluff==3.3.1; extra == "lint"
65
+ Requires-Dist: yamllint==1.35.1; extra == "lint"
66
+ Requires-Dist: yq==3.4.3; extra == "lint"
67
+ Dynamic: license-file
66
68
 
67
69
  # py-pilecore
68
70
  Public python SDK for the CEMS PileCore web-API
@@ -4,23 +4,24 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "py-pilecore"
7
- version = "0.9.1"
7
+ version = "1.0.0"
8
8
  description = "Public python SDK for the CEMS PileCore web-API."
9
- requires-python = ">=3.9"
9
+ requires-python = ">=3.11"
10
10
  dependencies = [
11
- 'pygef>0.8,<1',
12
- 'numpy>1,<2',
13
- 'pandas>2,<3',
14
- 'cems-nuclei[client]>=1,<2',
15
- 'matplotlib>=3.8,<4',
16
- "tqdm[notebook]>4,<5",
17
- "natsort>8,<9",
18
- "shapely>=2,<3",
19
- "scipy>=1.13, <2",
20
- "ipywidgets>=8, <9",
21
- "dash>=2.17, <3",
22
- "plotly-geo>=1.0.0, <2",
23
- "plotly>=5, <6",
11
+ "anywidget==0.9.18",
12
+ "cems-nuclei[client]>=2.0.0,<3",
13
+ "dash>=3.0.2,<4",
14
+ "ipywidgets>=8.1.5,<9",
15
+ "matplotlib>=3.10.1,<4",
16
+ "natsort>=8.4.0,<9",
17
+ "numpy>=2.2.4,<3",
18
+ "pandas>=2.2.3,<3",
19
+ "plotly-geo>=1.0.0,<2",
20
+ "plotly>=6.0.1,<7",
21
+ "pygef>=0.11.0,<0.12",
22
+ "scipy>=1.15.2,<2",
23
+ "shapely>=2.1.0,<3",
24
+ "tqdm[notebook]>=4.67.1,<5",
24
25
  ]
25
26
  license = { file = "LICENSE" }
26
27
  readme = "README.md"
@@ -32,27 +33,27 @@ repository = "https://github.com/cemsbv/py-pilecore"
32
33
  [project.optional-dependencies]
33
34
  test = ["coveralls", "pytest", "openapi-core"]
34
35
  docs = [
35
- "Sphinx==6.1.3",
36
- "sphinx-autodoc-typehints==1.22",
37
- "ipython==8.11.0",
38
- "asteroid-sphinx-theme==0.0.3",
39
- "sphinx_rtd_theme==1.2.0",
36
+ "Sphinx==8.2.3",
37
+ "asteroid-sphinx-theme==0.0.3",
38
+ "ipython==9.1.0",
39
+ "sphinx-autodoc-typehints==3.1.0",
40
+ "sphinx_rtd_theme==3.0.2",
40
41
  ]
41
42
  # lint dependencies from github super-linter
42
43
  # See https://github.com/super-linter/super-linter/tree/main/dependencies/python
43
44
  # Get a file with the latest requirements by running bash: `./get-super-linter-requirements.sh`
44
45
  # ignoring because redundant: snakemake, snakefmt, pylint
45
46
  lint = [
46
- "ansible-lint==6.22.1",
47
- "black==23.11.0",
48
- "cfn-lint==0.83.3",
49
- "cpplint==1.6.1",
50
- "flake8==6.0.0",
51
- "isort==5.12.0",
52
- "mypy==1.7.1",
53
- "sqlfluff==2.3.5",
54
- "yamllint==1.33.0",
55
- "yq==3.2.3",
47
+ "ansible-lint==25.1.3",
48
+ "black==25.1.0",
49
+ "cfn-lint==1.25.1",
50
+ "cpplint==2.0.0",
51
+ "flake8==7.1.2",
52
+ "isort==6.0.0",
53
+ "mypy==1.15.0",
54
+ "sqlfluff==3.3.1",
55
+ "yamllint==1.35.1",
56
+ "yq==3.4.3",
56
57
  ]
57
58
 
58
59
  [tool.isort]
@@ -84,18 +85,18 @@ install_types = true
84
85
 
85
86
  [[tool.mypy.overrides]]
86
87
  module = [
87
- "matplotlib.*",
88
- "requests.*",
89
- "nuclei.*",
90
- "pygef.*",
91
- "natsort.*",
92
- "shapely.*",
93
- "pytest.*",
94
- "scipy.*",
95
- "numpy.*",
96
- "pandas.*",
97
- "IPython.*",
98
- "plotly.*",
99
- "ipywidgets.*",
88
+ "matplotlib.*",
89
+ "requests.*",
90
+ "nuclei.*",
91
+ "pygef.*",
92
+ "natsort.*",
93
+ "shapely.*",
94
+ "pytest.*",
95
+ "scipy.*",
96
+ "numpy.*",
97
+ "pandas.*",
98
+ "IPython.*",
99
+ "plotly.*",
100
+ "ipywidgets.*",
100
101
  ]
101
102
  ignore_missing_imports = true
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: py-pilecore
3
- Version: 0.9.1
3
+ Version: 1.0.0
4
4
  Summary: Public python SDK for the CEMS PileCore web-API.
5
5
  License: MIT License
6
6
 
@@ -26,43 +26,45 @@ License: MIT License
26
26
 
27
27
  Project-URL: repository, https://github.com/cemsbv/py-pilecore
28
28
  Keywords: API,PileCore,CEMS,CRUX
29
- Requires-Python: >=3.9
29
+ Requires-Python: >=3.11
30
30
  Description-Content-Type: text/markdown
31
31
  License-File: LICENSE
32
- Requires-Dist: pygef<1,>0.8
33
- Requires-Dist: numpy<2,>1
34
- Requires-Dist: pandas<3,>2
35
- Requires-Dist: cems-nuclei[client]<2,>=1
36
- Requires-Dist: matplotlib<4,>=3.8
37
- Requires-Dist: tqdm[notebook]<5,>4
38
- Requires-Dist: natsort<9,>8
39
- Requires-Dist: shapely<3,>=2
40
- Requires-Dist: scipy<2,>=1.13
41
- Requires-Dist: ipywidgets<9,>=8
42
- Requires-Dist: dash<3,>=2.17
32
+ Requires-Dist: anywidget==0.9.18
33
+ Requires-Dist: cems-nuclei[client]<3,>=2.0.0
34
+ Requires-Dist: dash<4,>=3.0.2
35
+ Requires-Dist: ipywidgets<9,>=8.1.5
36
+ Requires-Dist: matplotlib<4,>=3.10.1
37
+ Requires-Dist: natsort<9,>=8.4.0
38
+ Requires-Dist: numpy<3,>=2.2.4
39
+ Requires-Dist: pandas<3,>=2.2.3
43
40
  Requires-Dist: plotly-geo<2,>=1.0.0
44
- Requires-Dist: plotly<6,>=5
41
+ Requires-Dist: plotly<7,>=6.0.1
42
+ Requires-Dist: pygef<0.12,>=0.11.0
43
+ Requires-Dist: scipy<2,>=1.15.2
44
+ Requires-Dist: shapely<3,>=2.1.0
45
+ Requires-Dist: tqdm[notebook]<5,>=4.67.1
45
46
  Provides-Extra: test
46
47
  Requires-Dist: coveralls; extra == "test"
47
48
  Requires-Dist: pytest; extra == "test"
48
49
  Requires-Dist: openapi-core; extra == "test"
49
50
  Provides-Extra: docs
50
- Requires-Dist: Sphinx==6.1.3; extra == "docs"
51
- Requires-Dist: sphinx-autodoc-typehints==1.22; extra == "docs"
52
- Requires-Dist: ipython==8.11.0; extra == "docs"
51
+ Requires-Dist: Sphinx==8.2.3; extra == "docs"
53
52
  Requires-Dist: asteroid-sphinx-theme==0.0.3; extra == "docs"
54
- Requires-Dist: sphinx_rtd_theme==1.2.0; extra == "docs"
53
+ Requires-Dist: ipython==9.1.0; extra == "docs"
54
+ Requires-Dist: sphinx-autodoc-typehints==3.1.0; extra == "docs"
55
+ Requires-Dist: sphinx_rtd_theme==3.0.2; extra == "docs"
55
56
  Provides-Extra: lint
56
- Requires-Dist: ansible-lint==6.22.1; extra == "lint"
57
- Requires-Dist: black==23.11.0; extra == "lint"
58
- Requires-Dist: cfn-lint==0.83.3; extra == "lint"
59
- Requires-Dist: cpplint==1.6.1; extra == "lint"
60
- Requires-Dist: flake8==6.0.0; extra == "lint"
61
- Requires-Dist: isort==5.12.0; extra == "lint"
62
- Requires-Dist: mypy==1.7.1; extra == "lint"
63
- Requires-Dist: sqlfluff==2.3.5; extra == "lint"
64
- Requires-Dist: yamllint==1.33.0; extra == "lint"
65
- Requires-Dist: yq==3.2.3; extra == "lint"
57
+ Requires-Dist: ansible-lint==25.1.3; extra == "lint"
58
+ Requires-Dist: black==25.1.0; extra == "lint"
59
+ Requires-Dist: cfn-lint==1.25.1; extra == "lint"
60
+ Requires-Dist: cpplint==2.0.0; extra == "lint"
61
+ Requires-Dist: flake8==7.1.2; extra == "lint"
62
+ Requires-Dist: isort==6.0.0; extra == "lint"
63
+ Requires-Dist: mypy==1.15.0; extra == "lint"
64
+ Requires-Dist: sqlfluff==3.3.1; extra == "lint"
65
+ Requires-Dist: yamllint==1.35.1; extra == "lint"
66
+ Requires-Dist: yq==3.4.3; extra == "lint"
67
+ Dynamic: license-file
66
68
 
67
69
  # py-pilecore
68
70
  Public python SDK for the CEMS PileCore web-API
@@ -0,0 +1,38 @@
1
+ anywidget==0.9.18
2
+ cems-nuclei[client]<3,>=2.0.0
3
+ dash<4,>=3.0.2
4
+ ipywidgets<9,>=8.1.5
5
+ matplotlib<4,>=3.10.1
6
+ natsort<9,>=8.4.0
7
+ numpy<3,>=2.2.4
8
+ pandas<3,>=2.2.3
9
+ plotly-geo<2,>=1.0.0
10
+ plotly<7,>=6.0.1
11
+ pygef<0.12,>=0.11.0
12
+ scipy<2,>=1.15.2
13
+ shapely<3,>=2.1.0
14
+ tqdm[notebook]<5,>=4.67.1
15
+
16
+ [docs]
17
+ Sphinx==8.2.3
18
+ asteroid-sphinx-theme==0.0.3
19
+ ipython==9.1.0
20
+ sphinx-autodoc-typehints==3.1.0
21
+ sphinx_rtd_theme==3.0.2
22
+
23
+ [lint]
24
+ ansible-lint==25.1.3
25
+ black==25.1.0
26
+ cfn-lint==1.25.1
27
+ cpplint==2.0.0
28
+ flake8==7.1.2
29
+ isort==6.0.0
30
+ mypy==1.15.0
31
+ sqlfluff==3.3.1
32
+ yamllint==1.35.1
33
+ yq==3.4.3
34
+
35
+ [test]
36
+ coveralls
37
+ pytest
38
+ openapi-core
@@ -4,4 +4,4 @@ try:
4
4
  __version__ = version("py-pilecore")
5
5
  # during CI
6
6
  except PackageNotFoundError:
7
- __version__ = "0.9.1"
7
+ __version__ = "1.0.0"
@@ -266,6 +266,7 @@ def get_multi_cpt_api_result_tension(
266
266
  endpoint = "/tension/nen/multiple-cpt/results"
267
267
  else:
268
268
  endpoint = "/tension/cur/multiple-cpt/results"
269
+ payload.pop("construction_sequence", None)
269
270
 
270
271
  ticket = client.call_endpoint(
271
272
  "PileCore",
@@ -311,6 +312,7 @@ def get_multi_cpt_api_report_tension(
311
312
  endpoint = "/tension/nen/multiple-cpt/report"
312
313
  else:
313
314
  endpoint = "/tension/cur/multiple-cpt/report"
315
+ payload.pop("construction_sequence", None)
314
316
 
315
317
  ticket = client.call_endpoint(
316
318
  "PileCore",
@@ -117,6 +117,9 @@ def create_basic_pile(
117
117
  is_auger: bool | None = None,
118
118
  is_low_vibrating: bool | None = None,
119
119
  negative_fr_delta_factor: float | None = None,
120
+ qc_z_a_lesser_1m: float | None = None,
121
+ qc_z_a_greater_1m: float | None = None,
122
+ qb_max_limit: float | None = None,
120
123
  chamfered: float | None = None,
121
124
  ) -> PileProperties:
122
125
  """
@@ -195,6 +198,21 @@ def create_basic_pile(
195
198
  negative_fr_delta_factor : float, optional
196
199
  The negative friction delta factor of the pile, by default None.
197
200
  Required if no standard pile type was specified.
201
+ qc_z_a_lesser_1m : float, optional
202
+ Maximum cone resistance qc value allowed for layers with thickness < 1m in the calculation of positive skin friction resistance.
203
+ It must be less or equal to `qc_z_a_greater_1m`.
204
+ If None, then 12 MPa is used.
205
+ Default: None.
206
+ qc_z_a_greater_1m : float, optional
207
+ Maximum cone resistance qc value allowed for layers with thickness >= 1m in the calculation of positive skin friction resistance.
208
+ It must be greater or equal to `qc_z_a_lesser_1m`.
209
+ If None, then 15 MPa is used.
210
+ Default: None.
211
+ qb_max_limit : float, optional
212
+ Maximum value allowed for the pile tip resistance qb_max.
213
+ Note that is value will be used as a limit for qb_max unless use_almere_rules is true and a higher value than 12 MPa is specified.
214
+ If None, then 15 MPa is used.
215
+ Default: None.
198
216
  chamfered : float, optional
199
217
  The chamfered value of the pile type, by default None.
200
218
  Required if no standard pile type was specified.
@@ -300,6 +318,9 @@ def create_basic_pile(
300
318
  adhesion=adhesion,
301
319
  is_low_vibrating=is_low_vibrating,
302
320
  is_auger=is_auger,
321
+ qc_z_a_lesser_1m=qc_z_a_lesser_1m,
322
+ qc_z_a_greater_1m=qc_z_a_greater_1m,
323
+ qb_max_limit=qb_max_limit,
303
324
  chamfered=chamfered,
304
325
  )
305
326
 
@@ -19,6 +19,9 @@ class PileType:
19
19
  adhesion: float | None = None,
20
20
  is_low_vibrating: bool | None = None,
21
21
  is_auger: bool | None = None,
22
+ qc_z_a_lesser_1m: float | None = None,
23
+ qc_z_a_greater_1m: float | None = None,
24
+ qb_max_limit: float | None = None,
22
25
  chamfered: float | None = None,
23
26
  ):
24
27
  """
@@ -48,6 +51,21 @@ class PileType:
48
51
  The is_low_vibrating value of the pile type, by default None.
49
52
  is_auger : bool, optional
50
53
  The is_auger value of the pile type, by default None.
54
+ qc_z_a_lesser_1m : float, optional
55
+ Maximum cone resistance qc value allowed for layers with thickness < 1m in the calculation of positive skin friction resistance.
56
+ It must be less or equal to `qc_z_a_greater_1m`.
57
+ If None, then 12 MPa is used.
58
+ Default: None.
59
+ qc_z_a_greater_1m : float, optional
60
+ Maximum cone resistance qc value allowed for layers with thickness >= 1m in the calculation of positive skin friction resistance.
61
+ It must be greater or equal to `qc_z_a_lesser_1m`.
62
+ If None, then 15 MPa is used.
63
+ Default: None.
64
+ qb_max_limit : float, optional
65
+ Maximum value allowed for the pile tip resistance qb_max.
66
+ Note that is value will be used as a limit for qb_max unless use_almere_rules is true and a higher value than 12 MPa is specified.
67
+ If None, then 15 MPa is used.
68
+ Default: None.
51
69
  chamfered : float, optional
52
70
  The chamfered value of the pile type, by default None.
53
71
  """
@@ -62,6 +80,9 @@ class PileType:
62
80
  self._adhesion = adhesion
63
81
  self._is_low_vibrating = is_low_vibrating
64
82
  self._is_auger = is_auger
83
+ self._qc_z_a_lesser_1m = qc_z_a_lesser_1m
84
+ self._qc_z_a_greater_1m = qc_z_a_greater_1m
85
+ self._qb_max_limit = qb_max_limit
65
86
  self._chamfered = chamfered
66
87
 
67
88
  @classmethod
@@ -93,6 +114,9 @@ class PileType:
93
114
  adhesion=pile_type["properties"]["adhesion"],
94
115
  is_low_vibrating=pile_type["properties"]["is_low_vibrating"],
95
116
  is_auger=pile_type["properties"]["is_auger"],
117
+ qc_z_a_lesser_1m=pile_type["properties"].get("qc_z_a_lesser_1m", None),
118
+ qc_z_a_greater_1m=pile_type["properties"].get("qc_z_a_greater_1m", None),
119
+ qb_max_limit=pile_type["properties"].get("qb_max_limit", None),
96
120
  )
97
121
 
98
122
  @property
@@ -150,6 +174,21 @@ class PileType:
150
174
  """The is_auger value of the pile type"""
151
175
  return self._is_auger
152
176
 
177
+ @property
178
+ def qc_z_a_lesser_1m(self) -> float | None:
179
+ """Maximum cone resistance qc value allowed for layers with thickness < 1m in the calculation of positive skin friction resistance."""
180
+ return self._qc_z_a_lesser_1m
181
+
182
+ @property
183
+ def qc_z_a_greater_1m(self) -> float | None:
184
+ """Maximum cone resistance qc value allowed for layers with thickness >= 1m in the calculation of positive skin friction resistance."""
185
+ return self._qc_z_a_greater_1m
186
+
187
+ @property
188
+ def qb_max_limit(self) -> float | None:
189
+ """Maximum value allowed for the pile tip resistance qb_max."""
190
+ return self._qb_max_limit
191
+
153
192
  @property
154
193
  def chamfered(self) -> float | None:
155
194
  """The chamfered value of the pile type"""
@@ -212,6 +251,15 @@ class PileType:
212
251
  if self.is_auger is not None:
213
252
  custom_type_properties["is_auger"] = self.is_auger
214
253
 
254
+ if self.qc_z_a_lesser_1m is not None:
255
+ custom_type_properties["qc_z_a_lesser_1m"] = self.qc_z_a_lesser_1m
256
+
257
+ if self.qc_z_a_greater_1m is not None:
258
+ custom_type_properties["qc_z_a_greater_1m"] = self.qc_z_a_greater_1m
259
+
260
+ if self.qb_max_limit is not None:
261
+ custom_type_properties["qb_max_limit"] = self.qb_max_limit
262
+
215
263
  if self.chamfered is not None:
216
264
  custom_type_properties["chamfered"] = self.chamfered
217
265
 
@@ -36,10 +36,11 @@ def create_multi_cpt_payload(
36
36
  pile_load_sls_min: float = 0,
37
37
  gamma_s_t: float = 1.35,
38
38
  gamma_gamma: float = 1.1,
39
+ construction_sequence: Literal["cpt-pile", "pile-cpt"] = "cpt-pile",
39
40
  ) -> Tuple[dict, Dict[str, dict]]:
40
41
  """
41
- Creates a dictionary with the payload content for the PileCore endpoint
42
- "/compression/multi-cpt/results"
42
+ Creates a dictionary with the payload content for the PileCore endpoints
43
+ "/tension/nen/multi-cpt/results" or "/tension/cur/multi-cpt/results"
43
44
 
44
45
  This dictionary can be passed directly to `nuclei.client.call_endpoint()`.
45
46
 
@@ -150,13 +151,24 @@ def create_multi_cpt_payload(
150
151
  gamma_gamma:
151
152
  Partial factor for volumetric weight NEN 9997-1+C2:2017 A.3.2
152
153
  Default = 1.1
154
+ construction_sequence:
155
+ Value that indicates if CPT are performed before or after pile
156
+ installation according to 7.3.1 CUR 2001-4.
157
+ Default = "cpt-pile"
158
+
159
+ Notes:
160
+ - If standard "NEN9997-1" is used the following applies:
161
+ - `cpt-pile`, then the `f1` factor is computed according to NEN 9997-1+C2:2017 7.6.3.3(e).
162
+ - `pile-cpt`, then the `f1` factor is 1.0 at all depths.
163
+ - If standard "CUR236" is used `f1` is always 1.0 regardless of the construction sequence.
164
+
153
165
  Returns
154
166
  -------
155
167
  multi_cpt_payload:
156
168
  Dictionary with the payload content for the PileCore endpoint
157
- "/compression/multi-cpt/results"
169
+ "/tension/nen/multi-cpt/results" or "/tension/cur/multi-cpt/results" # TODO: check if valid for both
158
170
  results_kwargs:
159
- Dictionary with keyword arguments for the `pilecore.MultiCPTBearingResults`
171
+ Dictionary with keyword arguments for the `pilecore.MultiCPTTensionBearingResults`
160
172
  object.
161
173
 
162
174
  Raises
@@ -201,6 +213,7 @@ def create_multi_cpt_payload(
201
213
  pile_load_sls_min=pile_load_sls_min,
202
214
  gamma_s_t=gamma_s_t,
203
215
  gamma_gamma=gamma_gamma,
216
+ construction_sequence=construction_sequence,
204
217
  )
205
218
 
206
219
  # Add optional properties
@@ -1,37 +0,0 @@
1
- pygef<1,>0.8
2
- numpy<2,>1
3
- pandas<3,>2
4
- cems-nuclei[client]<2,>=1
5
- matplotlib<4,>=3.8
6
- tqdm[notebook]<5,>4
7
- natsort<9,>8
8
- shapely<3,>=2
9
- scipy<2,>=1.13
10
- ipywidgets<9,>=8
11
- dash<3,>=2.17
12
- plotly-geo<2,>=1.0.0
13
- plotly<6,>=5
14
-
15
- [docs]
16
- Sphinx==6.1.3
17
- sphinx-autodoc-typehints==1.22
18
- ipython==8.11.0
19
- asteroid-sphinx-theme==0.0.3
20
- sphinx_rtd_theme==1.2.0
21
-
22
- [lint]
23
- ansible-lint==6.22.1
24
- black==23.11.0
25
- cfn-lint==0.83.3
26
- cpplint==1.6.1
27
- flake8==6.0.0
28
- isort==5.12.0
29
- mypy==1.7.1
30
- sqlfluff==2.3.5
31
- yamllint==1.33.0
32
- yq==3.2.3
33
-
34
- [test]
35
- coveralls
36
- pytest
37
- openapi-core
File without changes
File without changes
File without changes