yosser-math 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.
- yosser_math-0.1.0/PKG-INFO +65 -0
- yosser_math-0.1.0/README.md +57 -0
- yosser_math-0.1.0/pyproject.toml +15 -0
- yosser_math-0.1.0/setup.cfg +4 -0
- yosser_math-0.1.0/yosser_math/__init__.py +9 -0
- yosser_math-0.1.0/yosser_math/operations.py +12 -0
- yosser_math-0.1.0/yosser_math.egg-info/PKG-INFO +65 -0
- yosser_math-0.1.0/yosser_math.egg-info/SOURCES.txt +8 -0
- yosser_math-0.1.0/yosser_math.egg-info/dependency_links.txt +1 -0
- yosser_math-0.1.0/yosser_math.egg-info/top_level.txt +1 -0
|
@@ -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,57 @@
|
|
|
1
|
+
# Yosser Math
|
|
2
|
+
|
|
3
|
+
Author: Mohammad Yosser Sayour
|
|
4
|
+
Date: 20 October 2026
|
|
5
|
+
|
|
6
|
+
A Python library containing two functions. Each takes two arguments:
|
|
7
|
+
- `plus(a, b)` returns `a + b`.
|
|
8
|
+
- `minus(a, b)` returns `a - b`.
|
|
9
|
+
|
|
10
|
+
## Run the example
|
|
11
|
+
|
|
12
|
+
Extract the ZIP, open a terminal in `yosser_math_project`, and run:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
python main.py
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Output:
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
15
|
|
22
|
+
5
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Import the library
|
|
26
|
+
|
|
27
|
+
When your script is next to the `yosser_math` folder:
|
|
28
|
+
|
|
29
|
+
```python
|
|
30
|
+
from yosser_math import plus, minus
|
|
31
|
+
|
|
32
|
+
print(plus(10, 5))
|
|
33
|
+
print(minus(10, 5))
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
`operations.py` defines the functions. `__init__.py` exposes them for import.
|
|
37
|
+
|
|
38
|
+
## Optional installation
|
|
39
|
+
|
|
40
|
+
To use the package from other folders in the same Python environment,
|
|
41
|
+
run this command from the project folder:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
python -m pip install .
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Optional distribution build
|
|
48
|
+
|
|
49
|
+
The included `pyproject.toml` follows the package structure in the supplied
|
|
50
|
+
Create Your Module document. To create distribution files:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
python -m pip install build
|
|
54
|
+
python -m build
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Build output goes into `dist/`. This project has not been published to PyPI.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "yosser-math"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "A simple addition and subtraction library by Mohammad Yosser Sayour"
|
|
9
|
+
authors = [{name = "Mohammad Yosser Sayour"}]
|
|
10
|
+
readme = "README.md"
|
|
11
|
+
requires-python = ">=3.8"
|
|
12
|
+
dependencies = []
|
|
13
|
+
|
|
14
|
+
[tool.setuptools.packages.find]
|
|
15
|
+
include = ["yosser_math*"]
|
|
@@ -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 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
yosser_math
|