calcutils-derfeb 0.1.0__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.
File without changes
@@ -0,0 +1,13 @@
1
+ Metadata-Version: 2.4
2
+ Name: calcutils_derfeb
3
+ Version: 0.1.0
4
+ Summary: A simple student tutorial math utility package
5
+ Author-email: Derick <bugingoderfeb@gmail.com>
6
+ Project-URL: Homepage, https://github.com/Der-Feb/calcutils
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Requires-Python: >=3.8
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENCE
13
+ Dynamic: license-file
File without changes
@@ -0,0 +1,22 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "calcutils_derfeb"
7
+ version = "0.1.0"
8
+ description = "A simple student tutorial math utility package"
9
+ readme = "README.md"
10
+ authors = [
11
+ { name = "Derick", email = "bugingoderfeb@gmail.com" }
12
+ ]
13
+ classifiers = [
14
+ "Programming Language :: Python :: 3",
15
+ "License :: OSI Approved :: MIT License",
16
+ "Operating System :: OS Independent",
17
+ ]
18
+ requires-python = ">=3.8"
19
+ dependencies = []
20
+
21
+ [project.urls]
22
+ Homepage = "https://github.com/Der-Feb/calcutils"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,2 @@
1
+ __version__ = "0.1.0"
2
+ from .operations import add, multiply, average
@@ -0,0 +1,17 @@
1
+ """operations.py
2
+ Core arithmetic and statistical helper functions for calcutils.
3
+ """
4
+
5
+ def add(a: float, b: float) -> float:
6
+ """Returns the sum of two numbers."""
7
+ return a + b
8
+
9
+ def multiply(a: float, b: float) -> float:
10
+ """Returns the product of two numbers."""
11
+ return a * b
12
+
13
+ def average(numbers: list) -> float:
14
+ """Returns the arithmetic mean of a list of numbers."""
15
+ if not numbers:
16
+ return 0.0
17
+ return sum(numbers) / len(numbers)
@@ -0,0 +1,13 @@
1
+ Metadata-Version: 2.4
2
+ Name: calcutils_derfeb
3
+ Version: 0.1.0
4
+ Summary: A simple student tutorial math utility package
5
+ Author-email: Derick <bugingoderfeb@gmail.com>
6
+ Project-URL: Homepage, https://github.com/Der-Feb/calcutils
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Requires-Python: >=3.8
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENCE
13
+ Dynamic: license-file
@@ -0,0 +1,9 @@
1
+ LICENCE
2
+ README.md
3
+ pyproject.toml
4
+ src/calcutils/__init__.py
5
+ src/calcutils/operations.py
6
+ src/calcutils_derfeb.egg-info/PKG-INFO
7
+ src/calcutils_derfeb.egg-info/SOURCES.txt
8
+ src/calcutils_derfeb.egg-info/dependency_links.txt
9
+ src/calcutils_derfeb.egg-info/top_level.txt