py-pilecore 0.2.1__tar.gz → 0.2.2__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 (31) hide show
  1. {py-pilecore-0.2.1/src/py_pilecore.egg-info → py-pilecore-0.2.2}/PKG-INFO +5 -4
  2. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/README.md +3 -2
  3. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/pyproject.toml +3 -3
  4. {py-pilecore-0.2.1 → py-pilecore-0.2.2/src/py_pilecore.egg-info}/PKG-INFO +5 -4
  5. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/py_pilecore.egg-info/requires.txt +1 -1
  6. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/_version.py +1 -1
  7. py-pilecore-0.2.2/src/pypilecore/input/__init__.py +19 -0
  8. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/input/grouper_properties.py +1 -1
  9. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/input/multi_cpt.py +2 -2
  10. py-pilecore-0.2.2/src/pypilecore/results/__init__.py +11 -0
  11. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/results/grouper_result.py +9 -0
  12. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/results/multi_cpt_results.py +7 -4
  13. py-pilecore-0.2.1/src/pypilecore/input/__init__.py +0 -13
  14. py-pilecore-0.2.1/src/pypilecore/results/__init__.py +0 -11
  15. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/LICENSE +0 -0
  16. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/setup.cfg +0 -0
  17. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/py_pilecore.egg-info/SOURCES.txt +0 -0
  18. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/py_pilecore.egg-info/dependency_links.txt +0 -0
  19. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/py_pilecore.egg-info/top_level.txt +0 -0
  20. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/__init__.py +0 -0
  21. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/api.py +0 -0
  22. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/exceptions.py +0 -0
  23. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/input/pile_properties.py +0 -0
  24. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/input/soil_properties.py +0 -0
  25. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/plot_utils.py +0 -0
  26. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/results/load_settlement.py +0 -0
  27. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/results/pile_properties.py +0 -0
  28. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/results/single_cpt_results.py +0 -0
  29. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/results/soil_properties.py +0 -0
  30. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/src/pypilecore/utils.py +0 -0
  31. {py-pilecore-0.2.1 → py-pilecore-0.2.2}/tests/test_input.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: py-pilecore
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Public python SDK for the CEMS PileCore web-API.
5
5
  License: MIT License
6
6
 
@@ -33,7 +33,7 @@ Requires-Dist: pygef<1,>0.8
33
33
  Requires-Dist: numpy<2,>1
34
34
  Requires-Dist: pandas<3,>2
35
35
  Requires-Dist: cems-nuclei[client]<1,>0.3
36
- Requires-Dist: matplotlib<4,>3
36
+ Requires-Dist: matplotlib<4,>=3.8
37
37
  Requires-Dist: tqdm[notebook]<5,>4
38
38
  Requires-Dist: natsort<9,>8
39
39
  Provides-Extra: test
@@ -70,6 +70,7 @@ Public python SDK for the CEMS PileCore web-API
70
70
  [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
71
71
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
72
72
  [![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
73
+ [![Coverage Status](https://coveralls.io/repos/github/cemsbv/py-pilecore/badge.svg)](https://coveralls.io/github/cemsbv/py-pilecore)
73
74
 
74
75
 
75
76
  This repository is created by [CEMS BV](https://cemsbv.nl/) and is a public python wrapper around the CEMS [PileCore web-API](https://nuclei.cemsbv.io/#/pilecore/api).
@@ -97,7 +98,7 @@ Go to `personal-access-tokens` and create a new user token.
97
98
 
98
99
  ## Environment
99
100
 
100
- We recommend developing in Python3.9 with a clean virtual environment (using `virtualenv` or `conda`), installing the requirements from the requirements.txt file:
101
+ We recommend developing in Python3.10 with a clean virtual environment (using `virtualenv` or `conda`), installing the requirements from the requirements.txt file:
101
102
 
102
103
  Example using `virtualenv` and `pip` to install the dependencies in a new environment .env on Linux:
103
104
 
@@ -149,7 +150,7 @@ coverage run -m pytest
149
150
 
150
151
  ## Requirements
151
152
 
152
- Requirements are autogenerated by the `pip-compile` command with python 3.9
153
+ Requirements are autogenerated by the `pip-compile` command with python 3.10
153
154
 
154
155
  Install pip-tools with:
155
156
 
@@ -4,6 +4,7 @@ Public python SDK for the CEMS PileCore web-API
4
4
  [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
5
5
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
6
6
  [![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
7
+ [![Coverage Status](https://coveralls.io/repos/github/cemsbv/py-pilecore/badge.svg)](https://coveralls.io/github/cemsbv/py-pilecore)
7
8
 
8
9
 
9
10
  This repository is created by [CEMS BV](https://cemsbv.nl/) and is a public python wrapper around the CEMS [PileCore web-API](https://nuclei.cemsbv.io/#/pilecore/api).
@@ -31,7 +32,7 @@ Go to `personal-access-tokens` and create a new user token.
31
32
 
32
33
  ## Environment
33
34
 
34
- We recommend developing in Python3.9 with a clean virtual environment (using `virtualenv` or `conda`), installing the requirements from the requirements.txt file:
35
+ We recommend developing in Python3.10 with a clean virtual environment (using `virtualenv` or `conda`), installing the requirements from the requirements.txt file:
35
36
 
36
37
  Example using `virtualenv` and `pip` to install the dependencies in a new environment .env on Linux:
37
38
 
@@ -83,7 +84,7 @@ coverage run -m pytest
83
84
 
84
85
  ## Requirements
85
86
 
86
- Requirements are autogenerated by the `pip-compile` command with python 3.9
87
+ Requirements are autogenerated by the `pip-compile` command with python 3.10
87
88
 
88
89
  Install pip-tools with:
89
90
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "py-pilecore"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "Public python SDK for the CEMS PileCore web-API."
9
9
  requires-python = ">=3.9"
10
10
  dependencies = [
@@ -12,7 +12,7 @@ dependencies = [
12
12
  'numpy>1,<2',
13
13
  'pandas>2,<3',
14
14
  'cems-nuclei[client]>0.3,<1',
15
- 'matplotlib>3,<4',
15
+ 'matplotlib>=3.8,<4',
16
16
  "tqdm[notebook]>4,<5",
17
17
  "natsort>8,<9",
18
18
  ]
@@ -91,4 +91,4 @@ module = [
91
91
  "shapely.*",
92
92
  "pytest.*",
93
93
  ]
94
- ignore_missing_imports = true
94
+ ignore_missing_imports = true
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: py-pilecore
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Public python SDK for the CEMS PileCore web-API.
5
5
  License: MIT License
6
6
 
@@ -33,7 +33,7 @@ Requires-Dist: pygef<1,>0.8
33
33
  Requires-Dist: numpy<2,>1
34
34
  Requires-Dist: pandas<3,>2
35
35
  Requires-Dist: cems-nuclei[client]<1,>0.3
36
- Requires-Dist: matplotlib<4,>3
36
+ Requires-Dist: matplotlib<4,>=3.8
37
37
  Requires-Dist: tqdm[notebook]<5,>4
38
38
  Requires-Dist: natsort<9,>8
39
39
  Provides-Extra: test
@@ -70,6 +70,7 @@ Public python SDK for the CEMS PileCore web-API
70
70
  [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
71
71
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
72
72
  [![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
73
+ [![Coverage Status](https://coveralls.io/repos/github/cemsbv/py-pilecore/badge.svg)](https://coveralls.io/github/cemsbv/py-pilecore)
73
74
 
74
75
 
75
76
  This repository is created by [CEMS BV](https://cemsbv.nl/) and is a public python wrapper around the CEMS [PileCore web-API](https://nuclei.cemsbv.io/#/pilecore/api).
@@ -97,7 +98,7 @@ Go to `personal-access-tokens` and create a new user token.
97
98
 
98
99
  ## Environment
99
100
 
100
- We recommend developing in Python3.9 with a clean virtual environment (using `virtualenv` or `conda`), installing the requirements from the requirements.txt file:
101
+ We recommend developing in Python3.10 with a clean virtual environment (using `virtualenv` or `conda`), installing the requirements from the requirements.txt file:
101
102
 
102
103
  Example using `virtualenv` and `pip` to install the dependencies in a new environment .env on Linux:
103
104
 
@@ -149,7 +150,7 @@ coverage run -m pytest
149
150
 
150
151
  ## Requirements
151
152
 
152
- Requirements are autogenerated by the `pip-compile` command with python 3.9
153
+ Requirements are autogenerated by the `pip-compile` command with python 3.10
153
154
 
154
155
  Install pip-tools with:
155
156
 
@@ -2,7 +2,7 @@ pygef<1,>0.8
2
2
  numpy<2,>1
3
3
  pandas<3,>2
4
4
  cems-nuclei[client]<1,>0.3
5
- matplotlib<4,>3
5
+ matplotlib<4,>=3.8
6
6
  tqdm[notebook]<5,>4
7
7
  natsort<9,>8
8
8
 
@@ -4,4 +4,4 @@ try:
4
4
  __version__ = version("py-pilecore")
5
5
  # during CI
6
6
  except PackageNotFoundError:
7
- __version__ = "0.2.1"
7
+ __version__ = "0.2.2"
@@ -0,0 +1,19 @@
1
+ from pypilecore.input.grouper_properties import (
2
+ create_grouper_payload,
3
+ create_grouper_report_payload,
4
+ )
5
+ from pypilecore.input.multi_cpt import (
6
+ create_multi_cpt_payload,
7
+ create_multi_cpt_report_payload,
8
+ )
9
+ from pypilecore.input.pile_properties import create_pile_properties_payload
10
+ from pypilecore.input.soil_properties import create_soil_properties_payload
11
+
12
+ __all__ = [
13
+ "create_pile_properties_payload",
14
+ "create_soil_properties_payload",
15
+ "create_multi_cpt_payload",
16
+ "create_grouper_payload",
17
+ "create_grouper_report_payload",
18
+ "create_multi_cpt_report_payload",
19
+ ]
@@ -7,7 +7,7 @@ from typing import Any, Dict, List, Literal
7
7
  import numpy as np
8
8
  from shapely.geometry import Polygon, mapping
9
9
 
10
- from ..results import SingleCPTBearingResults
10
+ from pypilecore.results import SingleCPTBearingResults
11
11
 
12
12
  _dft_optimize_result_by = [
13
13
  "minimum_pile_level",
@@ -6,8 +6,8 @@ from typing import Dict, List, Literal, Mapping, Sequence, Tuple
6
6
 
7
7
  from pygef.cpt import CPTData
8
8
 
9
- from .pile_properties import create_pile_properties_payload
10
- from .soil_properties import create_soil_properties_payload
9
+ from pypilecore.input.pile_properties import create_pile_properties_payload
10
+ from pypilecore.input.soil_properties import create_soil_properties_payload
11
11
 
12
12
 
13
13
  def create_multi_cpt_payload(
@@ -0,0 +1,11 @@
1
+ from pypilecore.results.grouper_result import GrouperResults
2
+ from pypilecore.results.multi_cpt_results import MultiCPTBearingResults
3
+ from pypilecore.results.single_cpt_results import SingleCPTBearingResults
4
+ from pypilecore.results.soil_properties import SoilProperties
5
+
6
+ __all__ = [
7
+ "MultiCPTBearingResults",
8
+ "SingleCPTBearingResults",
9
+ "SoilProperties",
10
+ "GrouperResults",
11
+ ]
@@ -527,6 +527,15 @@ class GrouperResults:
527
527
  Plot contains the:
528
528
 
529
529
  - cpts within a subgroup
530
+ - green:
531
+ Subgroups is spatially coherent, which means there are no other CPTs in between the members
532
+ of the subgroup and follows the NEN9997-1 3.2.3 centre to centre validation
533
+ - orange:
534
+ Subgroups is spatially coherent, which means there are no other CPTs in between the members
535
+ of the subgroup and does not follow the NEN9997-1 3.2.3 centre to centre validation
536
+ - red:
537
+ Subgroups is not spatially coherent, which means there are other CPTs in between the
538
+ members of the subgroup and does not follow the NEN9997-1 3.2.3 centre to centre validation
530
539
  - valid depth of the subgroup
531
540
 
532
541
  Parameters
@@ -8,10 +8,13 @@ import numpy as np
8
8
  import pandas as pd
9
9
  from matplotlib.axes import Axes
10
10
 
11
- from ..exceptions import UserError
12
- from .load_settlement import get_load_settlement_plot
13
- from .pile_properties import PileProperties, create_pile_properties_from_api_response
14
- from .single_cpt_results import SingleCPTBearingResults
11
+ from pypilecore.exceptions import UserError
12
+ from pypilecore.results.load_settlement import get_load_settlement_plot
13
+ from pypilecore.results.pile_properties import (
14
+ PileProperties,
15
+ create_pile_properties_from_api_response,
16
+ )
17
+ from pypilecore.results.single_cpt_results import SingleCPTBearingResults
15
18
 
16
19
  Number = Union[float, int]
17
20
 
@@ -1,13 +0,0 @@
1
- from .grouper_properties import create_grouper_payload, create_grouper_report_payload
2
- from .multi_cpt import create_multi_cpt_payload, create_multi_cpt_report_payload
3
- from .pile_properties import create_pile_properties_payload
4
- from .soil_properties import create_soil_properties_payload
5
-
6
- __all__ = [
7
- "create_pile_properties_payload",
8
- "create_soil_properties_payload",
9
- "create_multi_cpt_payload",
10
- "create_grouper_payload",
11
- "create_grouper_report_payload",
12
- "create_multi_cpt_report_payload",
13
- ]
@@ -1,11 +0,0 @@
1
- from .grouper_result import GrouperResults
2
- from .multi_cpt_results import MultiCPTBearingResults
3
- from .single_cpt_results import SingleCPTBearingResults
4
- from .soil_properties import SoilProperties
5
-
6
- __all__ = [
7
- "MultiCPTBearingResults",
8
- "SingleCPTBearingResults",
9
- "SoilProperties",
10
- "GrouperResults",
11
- ]
File without changes
File without changes