hydroanomaly 0.1.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.
@@ -0,0 +1,15 @@
1
+ """
2
+ HydroAnomaly
3
+
4
+ A Python package for hydro anomaly detection.
5
+ """
6
+
7
+ __version__ = "0.1.0"
8
+ __author__ = "Your Name"
9
+ __email__ = "your.email@example.com"
10
+
11
+ # Import main modules for easy access
12
+ from .hello import greet
13
+ from .math_utils import add, multiply
14
+
15
+ __all__ = ["greet", "add", "multiply"]
hydroanomaly/hello.py ADDED
@@ -0,0 +1,29 @@
1
+ """
2
+ Hello module - provides greeting functionality
3
+ """
4
+
5
+
6
+ def greet(name="World"):
7
+ """
8
+ Greet someone with a friendly message.
9
+
10
+ Args:
11
+ name (str): The name of the person to greet. Defaults to "World".
12
+
13
+ Returns:
14
+ str: A greeting message.
15
+ """
16
+ return f"Hello, {name}!"
17
+
18
+
19
+ def say_goodbye(name="World"):
20
+ """
21
+ Say goodbye to someone.
22
+
23
+ Args:
24
+ name (str): The name of the person to say goodbye to. Defaults to "World".
25
+
26
+ Returns:
27
+ str: A goodbye message.
28
+ """
29
+ return f"Goodbye, {name}!"
@@ -0,0 +1,50 @@
1
+ """
2
+ Math utilities module - provides basic mathematical functions
3
+ """
4
+
5
+
6
+ def add(a, b):
7
+ """
8
+ Add two numbers together.
9
+
10
+ Args:
11
+ a (int/float): First number
12
+ b (int/float): Second number
13
+
14
+ Returns:
15
+ int/float: Sum of a and b
16
+ """
17
+ return a + b
18
+
19
+
20
+ def multiply(a, b):
21
+ """
22
+ Multiply two numbers together.
23
+
24
+ Args:
25
+ a (int/float): First number
26
+ b (int/float): Second number
27
+
28
+ Returns:
29
+ int/float: Product of a and b
30
+ """
31
+ return a * b
32
+
33
+
34
+ def divide(a, b):
35
+ """
36
+ Divide two numbers.
37
+
38
+ Args:
39
+ a (int/float): Dividend
40
+ b (int/float): Divisor
41
+
42
+ Returns:
43
+ float: Result of a divided by b
44
+
45
+ Raises:
46
+ ValueError: If b is zero
47
+ """
48
+ if b == 0:
49
+ raise ValueError("Cannot divide by zero")
50
+ return a / b
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.4
2
+ Name: hydroanomaly
3
+ Version: 0.1.0
4
+ Summary: A Python package for hydro anomaly detection
5
+ Home-page: https://github.com/yourusername/hydroanomaly
6
+ Author: Your Name
7
+ Author-email: Your Name <your.email@example.com>
8
+ License: MIT
9
+ Project-URL: Homepage, https://github.com/yourusername/hydroanomaly
10
+ Project-URL: Bug Reports, https://github.com/yourusername/hydroanomaly/issues
11
+ Project-URL: Source, https://github.com/yourusername/hydroanomaly
12
+ Keywords: python,package,hydro,anomaly,detection
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Operating System :: OS Independent
16
+ Requires-Python: >=3.6
17
+ Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+ Provides-Extra: dev
20
+ Requires-Dist: pytest>=6.0; extra == "dev"
21
+ Requires-Dist: black>=21.0; extra == "dev"
22
+ Requires-Dist: flake8>=3.8; extra == "dev"
23
+ Requires-Dist: mypy>=0.800; extra == "dev"
24
+ Dynamic: author
25
+ Dynamic: home-page
26
+ Dynamic: license-file
27
+ Dynamic: requires-python
28
+
29
+ # HydroAnomaly
30
+
31
+ A Python package for hydro anomaly detection.
32
+
33
+ ## Installation
34
+
35
+ ```bash
36
+ pip install hydroanomaly
37
+ ```
38
+
39
+ ## Usage
40
+
41
+ ```python
42
+ from hydroanomaly import hello
43
+
44
+ # Example usage
45
+ hello.greet("World")
46
+ ```
47
+
48
+ ## Features
49
+
50
+ - Feature 1
51
+ - Feature 2
52
+ - Feature 3
53
+
54
+ ## Contributing
55
+
56
+ Contributions are welcome! Please feel free to submit a Pull Request.
57
+
58
+ ## License
59
+
60
+ This project is licensed under the MIT License - see the LICENSE file for details.
@@ -0,0 +1,8 @@
1
+ hydroanomaly/__init__.py,sha256=kUDFH0OgO9N8JgiU66z4ivD_xVNxMqkU3X522ebiXas,295
2
+ hydroanomaly/hello.py,sha256=AhK7UKF_3TyZcWL4IDlZq_BXdKQzUP-is-jv59fgqk4,566
3
+ hydroanomaly/math_utils.py,sha256=CDOGWAiRlb2PK5SNFysumnzp7_LbZ9aleHLR_3lsGrs,856
4
+ hydroanomaly-0.1.0.dist-info/licenses/LICENSE,sha256=OphKV48tcMv6ep-7j-8T6nycykPT0g8ZlMJ9zbGvdPs,1066
5
+ hydroanomaly-0.1.0.dist-info/METADATA,sha256=xQoNIBUgw2D3cUJpyCvMbkUrfJSAdxqW_3AFjF-8ots,1458
6
+ hydroanomaly-0.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ hydroanomaly-0.1.0.dist-info/top_level.txt,sha256=t-5Lc-eTLlkxIhR_N1Cpp6_YZafKS3xLLk9D2CtbE7o,13
8
+ hydroanomaly-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Your Name
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.
@@ -0,0 +1 @@
1
+ hydroanomaly