yosser-math 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,9 @@
1
+ """A simple arithmetic library by Mohammad Yosser Sayour.
2
+ Created: 20 October 2026
3
+ """
4
+
5
+ from .operations import plus, minus
6
+
7
+ __author__ = "Mohammad Yosser Sayour"
8
+ __date__ = "2026-10-20"
9
+ __version__ = "0.1.0"
@@ -0,0 +1,12 @@
1
+ # Author: Mohammad Yosser Sayour
2
+ # Date: 20 October 2026
3
+
4
+
5
+ def plus(a, b):
6
+ """Return the sum of two numbers."""
7
+ return a + b
8
+
9
+
10
+ def minus(a, b):
11
+ """Subtract b from a and return the result."""
12
+ return a - b
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.4
2
+ Name: yosser-math
3
+ Version: 0.1.0
4
+ Summary: A simple addition and subtraction library by Mohammad Yosser Sayour
5
+ Author: Mohammad Yosser Sayour
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
8
+
9
+ # Yosser Math
10
+
11
+ Author: Mohammad Yosser Sayour
12
+ Date: 20 October 2026
13
+
14
+ A Python library containing two functions. Each takes two arguments:
15
+ - `plus(a, b)` returns `a + b`.
16
+ - `minus(a, b)` returns `a - b`.
17
+
18
+ ## Run the example
19
+
20
+ Extract the ZIP, open a terminal in `yosser_math_project`, and run:
21
+
22
+ ```bash
23
+ python main.py
24
+ ```
25
+
26
+ Output:
27
+
28
+ ```text
29
+ 15
30
+ 5
31
+ ```
32
+
33
+ ## Import the library
34
+
35
+ When your script is next to the `yosser_math` folder:
36
+
37
+ ```python
38
+ from yosser_math import plus, minus
39
+
40
+ print(plus(10, 5))
41
+ print(minus(10, 5))
42
+ ```
43
+
44
+ `operations.py` defines the functions. `__init__.py` exposes them for import.
45
+
46
+ ## Optional installation
47
+
48
+ To use the package from other folders in the same Python environment,
49
+ run this command from the project folder:
50
+
51
+ ```bash
52
+ python -m pip install .
53
+ ```
54
+
55
+ ## Optional distribution build
56
+
57
+ The included `pyproject.toml` follows the package structure in the supplied
58
+ Create Your Module document. To create distribution files:
59
+
60
+ ```bash
61
+ python -m pip install build
62
+ python -m build
63
+ ```
64
+
65
+ Build output goes into `dist/`. This project has not been published to PyPI.
@@ -0,0 +1,6 @@
1
+ yosser_math/__init__.py,sha256=EGfjDlBCS0BZ7IXBpfv-i__XJXIT47qmuOo_MCcyln0,209
2
+ yosser_math/operations.py,sha256=vTRAdr9_rES5YofBY79DC28IUNh-f2AmA8lR3MKdUgI,220
3
+ yosser_math-0.1.0.dist-info/METADATA,sha256=dJXJq3dQ9eyoJZ2VkcB-139DrDXtqLo_7mWSiW3Cc_A,1368
4
+ yosser_math-0.1.0.dist-info/WHEEL,sha256=a-udL2m4V_6Yn8b-uKzWb12RjRxwwMo6ohYFM24tpaY,91
5
+ yosser_math-0.1.0.dist-info/top_level.txt,sha256=Tvi93IQz9XCek4w3nK7zQAO_8lkABWA5U2KsCZgWEaw,12
6
+ yosser_math-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ yosser_math