calculator-seeker747 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.
File without changes
@@ -0,0 +1,24 @@
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
+ raise ValueError("Cannot divide by zero.")
13
+ return a / b
14
+
15
+ def power(a, b):
16
+ return a ** b
17
+
18
+ def sqrt(a):
19
+ if a < 0:
20
+ raise ValueError("Cannot take square root of negative number.")
21
+ return a ** 0.5
22
+
23
+ def modulus(a, b):
24
+ return a % b
@@ -0,0 +1,18 @@
1
+ Metadata-Version: 2.4
2
+ Name: calculator_seeker747
3
+ Version: 0.1.0
4
+ Summary: A simple calculator package
5
+ Author-email: imraan.mohamedhoesein@gmail.com
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/Seekers747/calculator_seeker747
8
+ Project-URL: Repository, https://github.com/Seekers747/calculator_seeker747
9
+ Keywords: calculator,math,arithmetic
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Operating System :: OS Independent
13
+ Requires-Python: >=3.7
14
+ Description-Content-Type: text/markdown
15
+
16
+ # Calculator Seekers747
17
+
18
+ A simple Python calculator package supporting add, subtract, multiply, divide, power, sqrt, and modulus.
@@ -0,0 +1,6 @@
1
+ calculator_seeker747/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ calculator_seeker747/calculator.py,sha256=y4H8ZsrA3peqnqXvKybM4Mt9W_VEWccIzkDVRRj1NB8,425
3
+ calculator_seeker747-0.1.0.dist-info/METADATA,sha256=zHQVjYN8oz2Tt6o7-g1J2mDc2Okyygi6f-SR-L63BVU,705
4
+ calculator_seeker747-0.1.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
5
+ calculator_seeker747-0.1.0.dist-info/top_level.txt,sha256=gqroZTb97NCM5zBSeoCRHyg_xsf4SWFCsMy3AO1E2k0,21
6
+ calculator_seeker747-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.10.2)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ calculator_seeker747