geolysis 0.13.0__py3-none-any.whl → 0.15.0__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.
geolysis/__init__.py CHANGED
@@ -1,5 +1,5 @@
1
1
  from . import bearing_capacity, foundation, soil_classifier, spt
2
2
 
3
- __version__ = "0.13.0"
3
+ __version__ = "0.15.0"
4
4
 
5
5
  __all__ = ["foundation", "soil_classifier", "spt", "bearing_capacity"]
@@ -33,9 +33,6 @@ class UBCType(AbstractStrEnum):
33
33
  the ultimate bearing capacity of soil.
34
34
  """
35
35
 
36
- HANSEN = enum.auto()
37
- """Hansen's method for calculating ultimate bearing capacity."""
38
-
39
36
  TERZAGHI = enum.auto()
40
37
  """Terzaghi's method for calculating ultimate bearing capacity."""
41
38
 
@@ -56,19 +53,19 @@ ubc_classes = {
56
53
 
57
54
  @validate_params
58
55
  def create_ubc_4_all_soil_types(
59
- friction_angle: float,
60
- cohesion: float,
61
- moist_unit_wgt: float,
62
- depth: float,
63
- width: float,
64
- length: Optional[float] = None,
65
- saturated_unit_wgt: float = 20.5,
66
- eccentricity: float = 0.0,
67
- ground_water_level: Optional[float] = inf,
68
- load_angle: float = 0.0,
69
- apply_local_shear: bool = False,
70
- shape: Shape | str = "square",
71
- ubc_type: Annotated[UBCType | str, MustBeMemberOf(UBCType)] = "vesic",
56
+ friction_angle: float,
57
+ cohesion: float,
58
+ moist_unit_wgt: float,
59
+ depth: float,
60
+ width: float,
61
+ length: Optional[float] = None,
62
+ saturated_unit_wgt: float = 20.5,
63
+ eccentricity: float = 0.0,
64
+ ground_water_level: Optional[float] = inf,
65
+ load_angle: float = 0.0,
66
+ apply_local_shear: bool = False,
67
+ shape: Shape | str = "square",
68
+ ubc_type: Annotated[UBCType | str, MustBeMemberOf(UBCType)] = "vesic",
72
69
  ) -> UltimateBearingCapacity:
73
70
  r"""A factory function that encapsulate the creation of ultimate
74
71
  bearing capacity.
geolysis/exceptions.py ADDED
@@ -0,0 +1,3 @@
1
+ from func_validator import ValidationError
2
+
3
+ __all__ = ["ValidationError"]
@@ -5,7 +5,7 @@ from typing import Callable
5
5
  from .math import *
6
6
  from . import math as m
7
7
 
8
- __all__ = ["AbstractStrEnum", "ValidationError", "add_repr", "round_"] + m.__all__
8
+ __all__ = ["AbstractStrEnum", "add_repr", "round_"] + m.__all__
9
9
 
10
10
 
11
11
  class StrEnumMeta(enum.EnumMeta):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: geolysis
3
- Version: 0.13.0
3
+ Version: 0.15.0
4
4
  Summary: geolysis is an opensource software for geotechnical engineering analysis and modeling.
5
5
  Author-email: Patrick Boateng <boatengpato.pb@gmail.com>
6
6
  License: MIT License
@@ -1,4 +1,5 @@
1
- geolysis/__init__.py,sha256=EyKIJ9MKUYf9yVr8OjAgDdXwk75Gt6ChVTRk4kSEsDU,161
1
+ geolysis/__init__.py,sha256=PT-PneT0JdgV5KOvFMVjC3ELQLwIL5VF8yNitl5ZfkM,161
2
+ geolysis/exceptions.py,sha256=NocUF7-vaFsBJyi0QmH2EBFCpO2RT90RLEB66BCW_X0,74
2
3
  geolysis/foundation.py,sha256=9o21R14Pm-HimSuQYqJXvbqQrWgS-z0XFjzjdyEIQ7Y,13319
3
4
  geolysis/soil_classifier.py,sha256=TII5tlI6Z5sKvMFkyEqAAvH9KUdFTGcpTQH9pqF82EI,27674
4
5
  geolysis/spt.py,sha256=7xa4KkzBjbtSFo0zoZleCCCyeE81w4d2eicjlFy3p28,17273
@@ -9,14 +10,14 @@ geolysis/bearing_capacity/abc/_cohl/_core.py,sha256=jFJAzFpd78QvzwMRSMr9HOwb8Hq6
9
10
  geolysis/bearing_capacity/abc/_cohl/bowles_abc.py,sha256=frjZXiVGTR53gRjYNYfYMlx-q9TLltyPHbJFpN7XOiY,2414
10
11
  geolysis/bearing_capacity/abc/_cohl/meyerhof_abc.py,sha256=vXDdtFwYzmD2vOXEQxSQb-jp1bPlB4blmcfNi1zAk78,2377
11
12
  geolysis/bearing_capacity/abc/_cohl/terzaghi_abc.py,sha256=D8-t9fKCnA4y_cSXk2dCfXPrkeUdNizAf8CDhOCLL0Y,3297
12
- geolysis/bearing_capacity/ubc/__init__.py,sha256=_ig85iPMuBxIp1l6hF-ZLqgkE7P_BqsWL7PVAUos0LY,4276
13
+ geolysis/bearing_capacity/ubc/__init__.py,sha256=EVfydz9_UeLTYOKSioJESiv14mjecA2wQiNfqD4N6oQ,4233
13
14
  geolysis/bearing_capacity/ubc/_core.py,sha256=WZUSzgC-RhPTR3t1ECh3A934SMRWeuPyytlNqwpE-0s,8126
14
15
  geolysis/bearing_capacity/ubc/_terzaghi_ubc.py,sha256=3g1kyugpuNy4lvcG_uZBOd3PWIkVJ_-VJWZxkrqX-p4,4322
15
16
  geolysis/bearing_capacity/ubc/_vesic_ubc.py,sha256=yZS1RH1NfHoYk9UNCKFSjjEOok-mLkStt2rg5X_zG7Y,6810
16
- geolysis/utils/__init__.py,sha256=U52nDxgnjMB4sJ8kORZz2r6aPjh7N26J0QmTSwjoRAc,1787
17
+ geolysis/utils/__init__.py,sha256=T4B8itFH9971MMFpOaAbOMzkIPfrAkZQtGa6jcaI_mY,1768
17
18
  geolysis/utils/math.py,sha256=Nqg6SFIy3peSC-n-rq0KjryOdWTqh9jCF2L_qvx5Yg8,1231
18
- geolysis-0.13.0.dist-info/licenses/LICENSE.txt,sha256=ap6sMs3lT7ICbEXBhgihwH1BTCVcjmCQkIkwVnil1Ak,1065
19
- geolysis-0.13.0.dist-info/METADATA,sha256=9tTw_CUBOxWz2t-k6-q42fLgIAMbVr4dkKemTGZiGFA,6833
20
- geolysis-0.13.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- geolysis-0.13.0.dist-info/top_level.txt,sha256=9mnQgOaCRr11dtXff8X-q3FfXjRONd6kHseSy5q2y8g,9
22
- geolysis-0.13.0.dist-info/RECORD,,
19
+ geolysis-0.15.0.dist-info/licenses/LICENSE.txt,sha256=ap6sMs3lT7ICbEXBhgihwH1BTCVcjmCQkIkwVnil1Ak,1065
20
+ geolysis-0.15.0.dist-info/METADATA,sha256=NmH4ukG2MvZ15FqWJhpE5k2ZUMRCCJZxj8VOWwjViFA,6833
21
+ geolysis-0.15.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
+ geolysis-0.15.0.dist-info/top_level.txt,sha256=9mnQgOaCRr11dtXff8X-q3FfXjRONd6kHseSy5q2y8g,9
23
+ geolysis-0.15.0.dist-info/RECORD,,