sadiepy 0.0.1.dev0__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.
sadiepy/__init__.py ADDED
@@ -0,0 +1,11 @@
1
+ """SADIE: Simulation, Analysis, and Design In Ecohydraulics.
2
+
3
+ Physics-based prediction of wave damping by vegetation, with tradespace tools for
4
+ designing and analysing flume experiments.
5
+ """
6
+
7
+ from importlib.metadata import version as _version
8
+
9
+ __version__ = _version("sadiepy")
10
+
11
+ __all__ = ["__version__"]
@@ -0,0 +1 @@
1
+ """Analysis: post-experiment processing of flume data."""
@@ -0,0 +1 @@
1
+ """Simulation: linear wave theory, vegetation description, drag closures and solver."""
@@ -0,0 +1 @@
1
+ """Design: pre-experiment evaluation and tradespace analysis of flume experiments."""
@@ -0,0 +1 @@
1
+ """Vegetation presets with full citations."""
sadiepy/py.typed ADDED
File without changes
@@ -0,0 +1 @@
1
+ """Froude scaling between model and prototype."""
@@ -0,0 +1,114 @@
1
+ Metadata-Version: 2.5
2
+ Name: sadiepy
3
+ Version: 0.0.1.dev0
4
+ Summary: Physics-based prediction of wave damping by vegetation, with tradespace tools for designing and analysing flume experiments.
5
+ Project-URL: Repository, https://github.com/malbye/sadiepy
6
+ Project-URL: Issues, https://github.com/malbye/sadiepy/issues
7
+ Author-email: Mallory Byers <mgbyers@ucsc.edu>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Keywords: coastal engineering,ecohydraulics,flume experiments,vegetation,wave attenuation
11
+ Classifier: Development Status :: 2 - Pre-Alpha
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Topic :: Scientific/Engineering :: Physics
19
+ Classifier: Typing :: Typed
20
+ Requires-Python: >=3.10
21
+ Requires-Dist: numpy>=1.24
22
+ Requires-Dist: scipy>=1.10
23
+ Provides-Extra: dev
24
+ Requires-Dist: mypy>=1.11; extra == 'dev'
25
+ Requires-Dist: pytest>=8; extra == 'dev'
26
+ Requires-Dist: ruff>=0.6; extra == 'dev'
27
+ Description-Content-Type: text/markdown
28
+
29
+ # SADIE: Simulation, Analysis, and Design In Ecohydraulics
30
+
31
+ <!-- Badges to add once each exists: PyPI version, Python versions, documentation, DOI (Zenodo). -->
32
+ [![CI](https://github.com/malbye/sadiepy/actions/workflows/ci.yml/badge.svg)](https://github.com/malbye/sadiepy/actions/workflows/ci.yml)
33
+ [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/malbye/sadiepy/blob/main/LICENSE)
34
+
35
+ > **Status:** early development (pre-release).
36
+
37
+ Physics-based prediction of wave damping by vegetation, with tradespace tools for
38
+ designing and analysing flume experiments.
39
+
40
+ SADIE (`sadiepy`) predicts wave attenuation through patches of coastal vegetation
41
+ (mangroves, salt marsh, seagrass, kelp, or user-defined) described as a vertical stack
42
+ of layers, using linear wave theory and the Dalrymple et al. (1984) energy-dissipation
43
+ framework. It supports flume experiment design before an experiment (tradespace
44
+ analysis of candidate designs) and data analysis after it (reflection separation,
45
+ damping-factor fitting, and drag-coefficient back-calculation).
46
+
47
+ Repository: [https://github.com/malbye/sadiepy](https://github.com/malbye/sadiepy)
48
+
49
+ ## Installation
50
+
51
+ SADIE requires Python 3.10&ndash;3.12. Install the latest release from PyPI:
52
+ ```shell
53
+ pip install sadiepy
54
+ ```
55
+
56
+ ### Development Installation
57
+
58
+ To work with the source code, clone the repository and install the `sadiepy` library in "editable" mode:
59
+ ```shell
60
+ git clone https://github.com/malbye/sadiepy.git
61
+ cd sadiepy
62
+ pip install -e .
63
+ ```
64
+
65
+ Note: the following optional dependencies are available with bracket notation:
66
+ * `pip install -e ".[dev]"`: for development (unit testing, linting, and type checking)
67
+
68
+ ## Development Tools
69
+
70
+ Development tools are applicable when working with the source code.
71
+
72
+ ### Unit Tests
73
+
74
+ Run unit tests with pytest (installed with the `dev` optional dependencies):
75
+ ```shell
76
+ pytest
77
+ ```
78
+
79
+ Run a subset of tests by file, or by a keyword expression with `-k`:
80
+ ```shell
81
+ pytest tests/test_package.py -k "version"
82
+ ```
83
+
84
+ ### Code Style
85
+
86
+ This project uses ruff for linting and formatting, applied from the project root:
87
+ ```shell
88
+ ruff check .
89
+ ruff format .
90
+ ```
91
+
92
+ Type checking uses mypy in strict mode (configured in `pyproject.toml`):
93
+ ```shell
94
+ mypy
95
+ ```
96
+
97
+ ## License
98
+
99
+ This project is licensed under the MIT License &mdash; see
100
+ [LICENSE](https://github.com/malbye/sadiepy/blob/main/LICENSE) for details.
101
+
102
+ ## Citation
103
+
104
+ If you use SADIE in your research, please cite it using the metadata in
105
+ [CITATION.cff](https://github.com/malbye/sadiepy/blob/main/CITATION.cff).
106
+
107
+ ## Contact
108
+
109
+ Mallory Byers <mgbyers@ucsc.edu>
110
+
111
+ ## Acknowledgements
112
+
113
+ Current Project Team
114
+ * Mallory Byers, Independent Researcher, University of California, Santa Cruz
@@ -0,0 +1,11 @@
1
+ sadiepy/__init__.py,sha256=KH0I9e5ze2tlnPp8JgaNALf2dviTIFzvaGUxK_atHo0,305
2
+ sadiepy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ sadiepy/analysis/__init__.py,sha256=0pLOcPYl5qAhFdnQSng66lzz_OQokL5tyrQ8spsM1UY,58
4
+ sadiepy/core/__init__.py,sha256=HPRsyyMl1Gi7icyNa5PRCzb4jHO95IwgXUjG_hbYBe0,88
5
+ sadiepy/design/__init__.py,sha256=hqx6OllkzUJrgln0huofOyskKk8Z8oyE-Vk8_q6CTrM,86
6
+ sadiepy/presets/__init__.py,sha256=modjJljrQpmAS7z2ctsP2PHk08aFe0q_46QK2LsiAVw,46
7
+ sadiepy/scaling/__init__.py,sha256=BD5VOnhs39TlKKXRshfir45S4FiuOB-ZoiGjzm3zx7s,50
8
+ sadiepy-0.0.1.dev0.dist-info/METADATA,sha256=Egpbwyr66tp5auD1__B-Xli4DoWL0GKCky276cK1_p4,3902
9
+ sadiepy-0.0.1.dev0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
10
+ sadiepy-0.0.1.dev0.dist-info/licenses/LICENSE,sha256=Z0dP5Y6ozfrzIlJRecKM_CAmkQClMOvMHGsRUxUDMWE,1070
11
+ sadiepy-0.0.1.dev0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Mallory Byers
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.