geolysis 0.6.0__py3-none-any.whl → 0.6.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.
- geolysis/__init__.py +1 -1
- geolysis/bearing_capacity/abc/cohl/__init__.py +1 -1
- geolysis/bearing_capacity/ubc/__init__.py +2 -3
- geolysis/foundation.py +1 -1
- geolysis/soil_classifier.py +1 -1
- geolysis/spt.py +4 -3
- geolysis/utils/__init__.py +4 -4
- {geolysis-0.6.0.dist-info → geolysis-0.6.2.dist-info}/METADATA +1 -1
- {geolysis-0.6.0.dist-info → geolysis-0.6.2.dist-info}/RECORD +12 -12
- {geolysis-0.6.0.dist-info → geolysis-0.6.2.dist-info}/WHEEL +0 -0
- {geolysis-0.6.0.dist-info → geolysis-0.6.2.dist-info}/licenses/LICENSE.txt +0 -0
- {geolysis-0.6.0.dist-info → geolysis-0.6.2.dist-info}/top_level.txt +0 -0
geolysis/__init__.py
CHANGED
@@ -6,7 +6,7 @@ import enum
|
|
6
6
|
from typing import Optional
|
7
7
|
|
8
8
|
from geolysis.foundation import FoundationType, Shape, create_foundation
|
9
|
-
from geolysis.utils import enum_repr, inf
|
9
|
+
from geolysis.utils import ErrorMsg, enum_repr, inf
|
10
10
|
|
11
11
|
from ._core import AllowableBearingCapacity
|
12
12
|
from .bowles_abc import BowlesABC4MatFoundation, BowlesABC4PadFoundation
|
@@ -7,14 +7,13 @@ import enum
|
|
7
7
|
from typing import Optional
|
8
8
|
|
9
9
|
from geolysis.foundation import Shape, create_foundation
|
10
|
-
from geolysis.utils import
|
10
|
+
from geolysis.utils import ErrorMsg, enum_repr
|
11
11
|
|
12
12
|
from ._core import UltimateBearingCapacity
|
13
13
|
from .hansen_ubc import HansenUltimateBearingCapacity
|
14
14
|
from .terzaghi_ubc import (TerzaghiUBC4CircularFooting,
|
15
15
|
TerzaghiUBC4RectangularFooting,
|
16
|
-
TerzaghiUBC4SquareFooting,
|
17
|
-
TerzaghiUBC4StripFooting)
|
16
|
+
TerzaghiUBC4SquareFooting, TerzaghiUBC4StripFooting)
|
18
17
|
from .vesic_ubc import VesicUltimateBearingCapacity
|
19
18
|
|
20
19
|
__all__ = ["UBCType",
|
geolysis/foundation.py
CHANGED
@@ -4,7 +4,7 @@ import enum
|
|
4
4
|
from abc import ABC, abstractmethod
|
5
5
|
from typing import Optional, TypeVar
|
6
6
|
|
7
|
-
from .utils import enum_repr, inf, isclose, validators
|
7
|
+
from .utils import ErrorMsg, enum_repr, inf, isclose, validators
|
8
8
|
|
9
9
|
__all__ = ["create_foundation",
|
10
10
|
"FoundationSize",
|
geolysis/soil_classifier.py
CHANGED
@@ -4,7 +4,7 @@ USCS and AASHTO, based on particle size distribution and Atterberg limits.
|
|
4
4
|
import enum
|
5
5
|
from typing import NamedTuple, Optional, Sequence
|
6
6
|
|
7
|
-
from .utils import enum_repr, isclose, round_, validators
|
7
|
+
from .utils import ErrorMsg, enum_repr, isclose, round_, validators
|
8
8
|
|
9
9
|
__all__ = ["ClfType",
|
10
10
|
"AtterbergLimits",
|
geolysis/spt.py
CHANGED
@@ -6,8 +6,8 @@ import enum
|
|
6
6
|
from abc import abstractmethod
|
7
7
|
from typing import Final, Sequence
|
8
8
|
|
9
|
-
from .utils import enum_repr, isclose, log10, mean, round_, sqrt,
|
10
|
-
|
9
|
+
from .utils import (ErrorMsg, enum_repr, isclose, log10, mean, round_, sqrt,
|
10
|
+
validators)
|
11
11
|
|
12
12
|
__all__ = ["SPTNDesign",
|
13
13
|
"HammerType",
|
@@ -99,7 +99,8 @@ class HammerType(enum.StrEnum):
|
|
99
99
|
DONUT_1 = enum.auto()
|
100
100
|
DONUT_2 = enum.auto()
|
101
101
|
SAFETY = enum.auto()
|
102
|
-
DROP =
|
102
|
+
DROP = enum.auto()
|
103
|
+
PIN = enum.auto()
|
103
104
|
|
104
105
|
|
105
106
|
@enum_repr
|
geolysis/utils/__init__.py
CHANGED
@@ -2,8 +2,8 @@ import functools
|
|
2
2
|
import math
|
3
3
|
from math import exp, inf, isclose, log10, pi, sqrt
|
4
4
|
from statistics import fmean as mean
|
5
|
-
from typing import
|
6
|
-
|
5
|
+
from typing import (Any, Callable, NotRequired, Optional, SupportsRound,
|
6
|
+
TypedDict, Unpack)
|
7
7
|
|
8
8
|
from . import validators
|
9
9
|
|
@@ -107,6 +107,6 @@ class ErrorMsg(str):
|
|
107
107
|
# Assume kwargs contains values for param_name, param_value,
|
108
108
|
# param_type, if not, KeyError exception is raised
|
109
109
|
|
110
|
-
msg = (f"Invalid value for {kw[
|
111
|
-
f"Supported types are: {list(kw[
|
110
|
+
msg = (f"Invalid value for {kw['param_name']}: {kw['param_value']}, "
|
111
|
+
f"Supported types are: {list(kw['param_type'])}")
|
112
112
|
return super().__new__(cls, msg)
|
@@ -1,23 +1,23 @@
|
|
1
|
-
geolysis/__init__.py,sha256=
|
2
|
-
geolysis/foundation.py,sha256=
|
3
|
-
geolysis/soil_classifier.py,sha256=
|
4
|
-
geolysis/spt.py,sha256
|
1
|
+
geolysis/__init__.py,sha256=alTIUitHv3ycqyUd5oyvqfDXUO18StbWiT2LXd6lF6Q,122
|
2
|
+
geolysis/foundation.py,sha256=bZ0LnONv1xvouhEesbAs9oGTg2YP4d_JEXDPx9Um19c,11528
|
3
|
+
geolysis/soil_classifier.py,sha256=dH1JdmnJpnqxwFRhI19hPkCdCUQaGqEyIyycWOcKVMk,26786
|
4
|
+
geolysis/spt.py,sha256=-9yJwzu2qEMbXogoozvDpwlWA0u6D1aNajgCzcY6ZrA,16901
|
5
5
|
geolysis/bearing_capacity/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
geolysis/bearing_capacity/abc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
-
geolysis/bearing_capacity/abc/cohl/__init__.py,sha256=
|
7
|
+
geolysis/bearing_capacity/abc/cohl/__init__.py,sha256=VwCd0zm5adeUP3T5lJr6ANzXNp2vaFttT1wtlG5ebpo,5345
|
8
8
|
geolysis/bearing_capacity/abc/cohl/_core.py,sha256=ddyVTCTIqolllOwcX7s-czYO2bPAmKTlkvFAj3LNRqc,1744
|
9
9
|
geolysis/bearing_capacity/abc/cohl/bowles_abc.py,sha256=kUAZWR5exvRNoOB6pXoxmyOiQorPNtnZwBoaXCk9z0I,4096
|
10
10
|
geolysis/bearing_capacity/abc/cohl/meyerhof_abc.py,sha256=3iriC_pQCKRf_4QtDm8163lnKNZUvJ9M7c7ZyRRrID8,4056
|
11
11
|
geolysis/bearing_capacity/abc/cohl/terzaghi_abc.py,sha256=EOGfA7_IM0vCa5gLBaBOiEgop4nKBtghoA5EZC7k9dM,5308
|
12
|
-
geolysis/bearing_capacity/ubc/__init__.py,sha256=
|
12
|
+
geolysis/bearing_capacity/ubc/__init__.py,sha256=7Ud0JbaIBiI0xmw-aRhG9lR6ZT0DMCel7lPtwKCBJNs,5943
|
13
13
|
geolysis/bearing_capacity/ubc/_core.py,sha256=CmhJyGi_GTy4DupX7m-PXlEdVmxZOgc2BVF9owByxOg,6160
|
14
14
|
geolysis/bearing_capacity/ubc/hansen_ubc.py,sha256=exkYLUG4W8AecJVbYC4lnE58KbssVUsjI0lJ7Mu5pqw,7170
|
15
15
|
geolysis/bearing_capacity/ubc/terzaghi_ubc.py,sha256=zoTf2pVTd1zN_6-yuNK9njo-8rn4o3CSccAEiivc2AE,6514
|
16
16
|
geolysis/bearing_capacity/ubc/vesic_ubc.py,sha256=zlFI26tY_L1LCb6T7q4NY4E0pTivdjYyTttp-VcIlvk,7405
|
17
|
-
geolysis/utils/__init__.py,sha256=
|
17
|
+
geolysis/utils/__init__.py,sha256=AY0FHUCElIqveYsB2uGl6OEpaesWVoRIDY0nHejB-0A,2989
|
18
18
|
geolysis/utils/validators.py,sha256=nMZi044cbAcsgiH4yxKDELhIFuUMy7Rn8kgGzXWjEcA,2674
|
19
|
-
geolysis-0.6.
|
20
|
-
geolysis-0.6.
|
21
|
-
geolysis-0.6.
|
22
|
-
geolysis-0.6.
|
23
|
-
geolysis-0.6.
|
19
|
+
geolysis-0.6.2.dist-info/licenses/LICENSE.txt,sha256=ap6sMs3lT7ICbEXBhgihwH1BTCVcjmCQkIkwVnil1Ak,1065
|
20
|
+
geolysis-0.6.2.dist-info/METADATA,sha256=vcECcPdALMlUhaUVhwVJ_C4aMq6X7cm9NrkYeBr0IJo,7368
|
21
|
+
geolysis-0.6.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
22
|
+
geolysis-0.6.2.dist-info/top_level.txt,sha256=9mnQgOaCRr11dtXff8X-q3FfXjRONd6kHseSy5q2y8g,9
|
23
|
+
geolysis-0.6.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|