simplemathsbysanyam 1.0.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,5 @@
1
+ from .main import add
2
+ from .main import subtract
3
+ from .main import multiply
4
+ from .main import divide
5
+
@@ -0,0 +1,13 @@
1
+ def add(a, b):
2
+ return a + b
3
+
4
+ def subtract(a, b):
5
+ return a - b
6
+
7
+ def multiply(a, b):
8
+ return a * b
9
+
10
+ def divide(a, b):
11
+ if b == 0:
12
+ return "Cannot divide by zero"
13
+ return a / b
@@ -0,0 +1,115 @@
1
+ Metadata-Version: 2.4
2
+ Name: simplemathsbysanyam
3
+ Version: 1.0.0
4
+ Summary: A lightweight Python package for basic mathematical operations.
5
+ Author: sanyam jain
6
+ Author-email: sanyamjaincoding@gmail.com
7
+ Keywords: math mathematics calculator add subtract multiply divide
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.8
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Operating System :: OS Independent
18
+ Requires-Python: >=3.8
19
+ Description-Content-Type: text/markdown
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: classifier
23
+ Dynamic: description
24
+ Dynamic: description-content-type
25
+ Dynamic: keywords
26
+ Dynamic: requires-python
27
+ Dynamic: summary
28
+
29
+ # SimpleMath
30
+
31
+ A lightweight Python package for performing basic mathematical operations.
32
+
33
+ ## Features
34
+
35
+ - ➕ Add two numbers
36
+ - ➖ Subtract two numbers
37
+ - ✖️ Multiply two numbers
38
+ - ➗ Divide two numbers
39
+
40
+ ## Requirements
41
+
42
+ - Python 3.8 or later
43
+
44
+ ## Installation
45
+
46
+ Install from PyPI:
47
+
48
+ ```bash
49
+ pip install simplemathsbysanyam
50
+ ```
51
+
52
+ Or install development requirements:
53
+
54
+ ```bash
55
+ pip install -r requirements.txt
56
+ ```
57
+
58
+ ## Usage
59
+
60
+ ```python
61
+ from simplemathsbysanyam import add, subtract, multiply, divide
62
+
63
+ print(add(10, 5))
64
+ print(subtract(10, 5))
65
+ print(multiply(10, 5))
66
+ print(divide(10, 5))
67
+ ```
68
+
69
+ ### Output
70
+
71
+ ```
72
+ 15
73
+ 5
74
+ 50
75
+ 2.0
76
+ ```
77
+
78
+ ## Functions
79
+
80
+ ### add(a, b)
81
+ Returns the sum of two numbers.
82
+
83
+ ### subtract(a, b)
84
+ Returns the difference of two numbers.
85
+
86
+ ### multiply(a, b)
87
+ Returns the product of two numbers.
88
+
89
+ ### divide(a, b)
90
+ Returns the quotient of two numbers.
91
+ Raises `ValueError` if the divisor is zero.
92
+
93
+ ## Project Structure
94
+
95
+ ```
96
+ simplemath/
97
+
98
+ ├── simplemath/
99
+ │ ├── __init__.py
100
+ │ └── main.py
101
+
102
+ ├── README.md
103
+ ├── LICENSE
104
+ ├── requirements.txt
105
+ ├── setup.py
106
+ └── pyproject.toml
107
+ ```
108
+
109
+ ## License
110
+
111
+ MIT License
112
+
113
+ ## Author
114
+
115
+ Sanyam jain
@@ -0,0 +1,6 @@
1
+ simplemathsbysanyam/__init__.py,sha256=0Rp2ZUDjrTYPl1fwW1XTtE8vDmxd5irzbRyVQGe7qJQ,102
2
+ simplemathsbysanyam/main.py,sha256=W32obkq6mVnzOQsuJsUnWr8m64tauaA0ANCMx8Ays2M,197
3
+ simplemathsbysanyam-1.0.0.dist-info/METADATA,sha256=R752rgO2p4uXHnzbWT0_gIgkajvc1VLW9X9XCIhTcl8,2293
4
+ simplemathsbysanyam-1.0.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
5
+ simplemathsbysanyam-1.0.0.dist-info/top_level.txt,sha256=Pvg5K_kDavY01dX0oQqazYFS2xK3M8yn8pYsdZ8m3-Y,20
6
+ simplemathsbysanyam-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (83.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ simplemathsbysanyam