geolysis 0.6.0__tar.gz → 0.6.1__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.
Files changed (32) hide show
  1. {geolysis-0.6.0 → geolysis-0.6.1}/PKG-INFO +1 -1
  2. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/__init__.py +1 -1
  3. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/bearing_capacity/abc/cohl/__init__.py +1 -1
  4. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/bearing_capacity/ubc/__init__.py +2 -3
  5. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/foundation.py +1 -1
  6. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/soil_classifier.py +1 -1
  7. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/spt.py +2 -2
  8. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/utils/__init__.py +4 -4
  9. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis.egg-info/PKG-INFO +1 -1
  10. {geolysis-0.6.0 → geolysis-0.6.1}/tests/test_foundation.py +3 -5
  11. {geolysis-0.6.0 → geolysis-0.6.1}/tests/test_spt.py +4 -11
  12. {geolysis-0.6.0 → geolysis-0.6.1}/LICENSE.txt +0 -0
  13. {geolysis-0.6.0 → geolysis-0.6.1}/README.md +0 -0
  14. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/bearing_capacity/__init__.py +0 -0
  15. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/bearing_capacity/abc/__init__.py +0 -0
  16. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/bearing_capacity/abc/cohl/_core.py +0 -0
  17. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/bearing_capacity/abc/cohl/bowles_abc.py +0 -0
  18. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/bearing_capacity/abc/cohl/meyerhof_abc.py +0 -0
  19. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/bearing_capacity/abc/cohl/terzaghi_abc.py +0 -0
  20. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/bearing_capacity/ubc/_core.py +0 -0
  21. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/bearing_capacity/ubc/hansen_ubc.py +0 -0
  22. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/bearing_capacity/ubc/terzaghi_ubc.py +0 -0
  23. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/bearing_capacity/ubc/vesic_ubc.py +0 -0
  24. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis/utils/validators.py +0 -0
  25. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis.egg-info/SOURCES.txt +0 -0
  26. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis.egg-info/dependency_links.txt +0 -0
  27. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis.egg-info/requires.txt +0 -0
  28. {geolysis-0.6.0 → geolysis-0.6.1}/geolysis.egg-info/top_level.txt +0 -0
  29. {geolysis-0.6.0 → geolysis-0.6.1}/pyproject.toml +0 -0
  30. {geolysis-0.6.0 → geolysis-0.6.1}/setup.cfg +0 -0
  31. {geolysis-0.6.0 → geolysis-0.6.1}/setup.py +0 -0
  32. {geolysis-0.6.0 → geolysis-0.6.1}/tests/test_soil_classifier.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: geolysis
3
- Version: 0.6.0
3
+ Version: 0.6.1
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,5 +1,5 @@
1
1
  from . import foundation, soil_classifier, spt
2
2
 
3
- __version__ = "0.6.0"
3
+ __version__ = "0.6.1"
4
4
 
5
5
  __all__ = ["foundation", "soil_classifier", "spt"]
@@ -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, ErrorMsg
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 enum_repr, ErrorMsg
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",
@@ -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, ErrorMsg
7
+ from .utils import ErrorMsg, enum_repr, inf, isclose, validators
8
8
 
9
9
  __all__ = ["create_foundation",
10
10
  "FoundationSize",
@@ -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, ErrorMsg
7
+ from .utils import ErrorMsg, enum_repr, isclose, round_, validators
8
8
 
9
9
  __all__ = ["ClfType",
10
10
  "AtterbergLimits",
@@ -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, validators, \
10
- ErrorMsg
9
+ from .utils import (ErrorMsg, enum_repr, isclose, log10, mean, round_, sqrt,
10
+ validators)
11
11
 
12
12
  __all__ = ["SPTNDesign",
13
13
  "HammerType",
@@ -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 Callable, SupportsRound, Iterable, Any, Optional, \
6
- NotRequired, TypedDict, Unpack
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["param_name"]}: {kw['param_value']}, "
111
- f"Supported types are: {list(kw["param_type"])}")
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: geolysis
3
- Version: 0.6.0
3
+ Version: 0.6.1
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,10 +1,8 @@
1
- from geolysis.foundation import (
2
- Shape, StripFooting, RectangularFooting,
3
- FoundationSize, create_foundation
4
- )
5
1
  import unittest
6
2
 
7
- from geolysis.foundation import CircularFooting, SquareFooting
3
+ from geolysis.foundation import (CircularFooting, FoundationSize,
4
+ RectangularFooting, Shape, SquareFooting,
5
+ StripFooting, create_foundation)
8
6
 
9
7
 
10
8
  class TestCircularFooting(unittest.TestCase):
@@ -1,16 +1,9 @@
1
1
  import pytest
2
2
 
3
- from geolysis.spt import (EnergyCorrection,
4
- BazaraaPeckOPC,
5
- DilatancyCorrection,
6
- GibbsHoltzOPC,
7
- LiaoWhitmanOPC,
8
- SkemptonOPC,
9
- PeckOPC,
10
- SPTNDesign,
11
- HammerType,
12
- SamplerType,
13
- create_overburden_pressure_correction)
3
+ from geolysis.spt import (BazaraaPeckOPC, DilatancyCorrection,
4
+ EnergyCorrection, GibbsHoltzOPC, HammerType,
5
+ LiaoWhitmanOPC, PeckOPC, SamplerType, SkemptonOPC,
6
+ SPTNDesign, create_overburden_pressure_correction)
14
7
 
15
8
 
16
9
  def test_create_spt_correction_errors():
File without changes
File without changes
File without changes
File without changes
File without changes