ras-commander 0.54.0__py3-none-any.whl → 0.56.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.
- ras_commander/__init__.py +26 -36
- {ras_commander-0.54.0.dist-info → ras_commander-0.56.0.dist-info}/METADATA +18 -5
- {ras_commander-0.54.0.dist-info → ras_commander-0.56.0.dist-info}/RECORD +6 -6
- {ras_commander-0.54.0.dist-info → ras_commander-0.56.0.dist-info}/LICENSE +0 -0
- {ras_commander-0.54.0.dist-info → ras_commander-0.56.0.dist-info}/WHEEL +0 -0
- {ras_commander-0.54.0.dist-info → ras_commander-0.56.0.dist-info}/top_level.txt +0 -0
ras_commander/__init__.py
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
"""
|
2
|
+
ras-commander: A Python library for automating HEC-RAS operations
|
3
|
+
"""
|
4
|
+
|
1
5
|
from importlib.metadata import version, PackageNotFoundError
|
2
6
|
from .LoggingConfig import setup_logging, get_logger
|
3
7
|
from .Decorators import log_call, standardize_input
|
@@ -6,12 +10,12 @@ try:
|
|
6
10
|
__version__ = version("ras-commander")
|
7
11
|
except PackageNotFoundError:
|
8
12
|
# package is not installed
|
9
|
-
__version__ = "
|
13
|
+
__version__ = "0.54.0"
|
10
14
|
|
11
15
|
# Set up logging
|
12
16
|
setup_logging()
|
13
17
|
|
14
|
-
#
|
18
|
+
# Core functionality
|
15
19
|
from .RasPrj import RasPrj, init_ras_project, get_ras_exe, ras
|
16
20
|
from .RasPlan import RasPlan
|
17
21
|
from .RasGeo import RasGeo
|
@@ -19,11 +23,11 @@ from .RasUnsteady import RasUnsteady
|
|
19
23
|
from .RasUtils import RasUtils
|
20
24
|
from .RasExamples import RasExamples
|
21
25
|
from .RasCmdr import RasCmdr
|
22
|
-
from .RasGpt import RasGpt
|
26
|
+
from .RasGpt import RasGpt
|
23
27
|
from .RasToGo import RasToGo
|
24
28
|
from .HdfFluvialPluvial import HdfFluvialPluvial
|
25
29
|
|
26
|
-
#
|
30
|
+
# HDF handling
|
27
31
|
from .HdfBase import HdfBase
|
28
32
|
from .HdfBndry import HdfBndry
|
29
33
|
from .HdfMesh import HdfMesh
|
@@ -39,41 +43,27 @@ from .HdfPipe import HdfPipe
|
|
39
43
|
from .HdfInfiltration import HdfInfiltration
|
40
44
|
from .RasMapper import RasMapper
|
41
45
|
|
42
|
-
#
|
46
|
+
# Plotting functionality
|
43
47
|
from .HdfPlot import HdfPlot
|
44
48
|
from .HdfResultsPlot import HdfResultsPlot
|
45
49
|
|
46
50
|
# Define __all__ to specify what should be imported when using "from ras_commander import *"
|
47
51
|
__all__ = [
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
"ras",
|
66
|
-
"init_ras_project",
|
67
|
-
"get_ras_exe",
|
68
|
-
"RasPrj",
|
69
|
-
"RasPlan",
|
70
|
-
"RasGeo",
|
71
|
-
"RasUnsteady",
|
72
|
-
"RasCmdr",
|
73
|
-
"RasUtils",
|
74
|
-
"RasExamples",
|
75
|
-
"get_logger",
|
76
|
-
"log_call",
|
52
|
+
# Core functionality
|
53
|
+
'RasPrj', 'init_ras_project', 'get_ras_exe', 'ras',
|
54
|
+
'RasPlan', 'RasGeo', 'RasUnsteady', 'RasUtils',
|
55
|
+
'RasExamples', 'RasCmdr', 'RasGpt', 'RasToGo',
|
56
|
+
'HdfFluvialPluvial',
|
57
|
+
|
58
|
+
# HDF handling
|
59
|
+
'HdfBase', 'HdfBndry', 'HdfMesh', 'HdfPlan',
|
60
|
+
'HdfResultsMesh', 'HdfResultsPlan', 'HdfResultsXsec',
|
61
|
+
'HdfStruc', 'HdfUtils', 'HdfXsec', 'HdfPump',
|
62
|
+
'HdfPipe', 'HdfInfiltration', 'RasMapper',
|
63
|
+
|
64
|
+
# Plotting functionality
|
65
|
+
'HdfPlot', 'HdfResultsPlot',
|
66
|
+
|
67
|
+
# Utilities
|
68
|
+
'get_logger', 'log_call', 'standardize_input',
|
77
69
|
]
|
78
|
-
|
79
|
-
__version__ = "0.1.0"
|
@@ -1,18 +1,31 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: ras-commander
|
3
|
-
Version: 0.
|
4
|
-
Summary: A Python library for automating HEC-RAS operations
|
5
|
-
Home-page: https://github.com/
|
3
|
+
Version: 0.56.0
|
4
|
+
Summary: A Python library for automating HEC-RAS 6.x operations
|
5
|
+
Home-page: https://github.com/gpt-cmdr/ras-commander
|
6
6
|
Author: William M. Katzenmeyer
|
7
|
-
Author-email:
|
7
|
+
Author-email: heccommander@gmail.com
|
8
8
|
Requires-Python: >=3.10
|
9
9
|
Description-Content-Type: text/markdown
|
10
10
|
License-File: LICENSE
|
11
|
+
Requires-Dist: h5py
|
12
|
+
Requires-Dist: numpy
|
13
|
+
Requires-Dist: pandas
|
14
|
+
Requires-Dist: requests
|
15
|
+
Requires-Dist: tqdm
|
16
|
+
Requires-Dist: scipy
|
17
|
+
Requires-Dist: xarray
|
18
|
+
Requires-Dist: geopandas
|
19
|
+
Requires-Dist: matplotlib
|
20
|
+
Requires-Dist: shapely
|
21
|
+
Requires-Dist: pathlib
|
22
|
+
Requires-Dist: rasterstats
|
11
23
|
Dynamic: author
|
12
24
|
Dynamic: author-email
|
13
25
|
Dynamic: description
|
14
26
|
Dynamic: description-content-type
|
15
27
|
Dynamic: home-page
|
28
|
+
Dynamic: requires-dist
|
16
29
|
Dynamic: requires-python
|
17
30
|
Dynamic: summary
|
18
31
|
|
@@ -85,7 +98,7 @@ First, create a virtual environment with conda or venv (ask ChatGPT if you need
|
|
85
98
|
|
86
99
|
In your virtual environment, install ras-commander using pip:
|
87
100
|
```
|
88
|
-
pip install h5py numpy pandas requests tqdm scipy xarray geopandas matplotlib
|
101
|
+
pip install h5py numpy pandas requests tqdm scipy xarray geopandas matplotlib ipython tqdm psutil shapely fiona pathlib rtree rasterstats
|
89
102
|
pip install --upgrade ras-commander
|
90
103
|
```
|
91
104
|
If you have dependency issues with pip (especially if you have errors with numpy), try clearing your local pip packages 'C:\Users\your_username\AppData\Roaming\Python\' and then creating a new virtual environment.
|
@@ -26,9 +26,9 @@ ras_commander/RasPrj.py,sha256=9F0UVQZ2RfjhDf5717aJcEChL6z5BD8agGWAlUvqe0E,37472
|
|
26
26
|
ras_commander/RasToGo.py,sha256=TKujfaV1xQhFaOddF4g2ogGy6ky-CLlfelSMPD2J3Nk,1223
|
27
27
|
ras_commander/RasUnsteady.py,sha256=KfCXAag-_bPwwS3JbPZH-s4hbaoHACO0mlRnGrzbFgA,32092
|
28
28
|
ras_commander/RasUtils.py,sha256=P2-aBL61kdRINsjnBpstZVD6VVc7hI_D3RUXqr6ldmc,34863
|
29
|
-
ras_commander/__init__.py,sha256=
|
30
|
-
ras_commander-0.
|
31
|
-
ras_commander-0.
|
32
|
-
ras_commander-0.
|
33
|
-
ras_commander-0.
|
34
|
-
ras_commander-0.
|
29
|
+
ras_commander/__init__.py,sha256=mceEWRQJkDBi1o3zVg7DpG2qMrMnKHwwuK3GwyxoVr4,2132
|
30
|
+
ras_commander-0.56.0.dist-info/LICENSE,sha256=_pbd6qHnlsz1iQ-ozDW_49r86BZT6CRwO2iBtw0iN6M,457
|
31
|
+
ras_commander-0.56.0.dist-info/METADATA,sha256=Moc5O9hdyNuTXaaPtp_5zjnIIWJ_J3MJdMN9e5g9TD0,22275
|
32
|
+
ras_commander-0.56.0.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
33
|
+
ras_commander-0.56.0.dist-info/top_level.txt,sha256=i76S7eKLFC8doKcXDl3aiOr9RwT06G8adI6YuKbQDaA,14
|
34
|
+
ras_commander-0.56.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|