Calculator-k 1.0.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,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: Calculator_k
3
+ Version: 1.0.0
4
+ Summary: A simple beginner-friendly Python math package
5
+ Author: Kaveen Kumar
6
+ Requires-Python: >=3.9
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Dynamic: license-file
File without changes
@@ -0,0 +1,18 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+
6
+ [project]
7
+ name = "Calculator_k"
8
+ version = "1.0.0"
9
+ description = "A simple beginner-friendly Python math package"
10
+ readme = "README.md"
11
+ requires-python = ">=3.9"
12
+ authors = [
13
+ {name = "Kaveen Kumar"}
14
+ ]
15
+
16
+
17
+ [tool.setuptools.packages.find]
18
+ where = ["src"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,10 @@
1
+ def add(a, b):
2
+ return a + b
3
+ def subtract(a, b):
4
+ return a - b
5
+ def multiply(a, b):
6
+ return a * b
7
+ def divide(a, b):
8
+ if b == 0:
9
+ raise ValueError("Cannot divide by zero.")
10
+ return a / b
@@ -0,0 +1 @@
1
+ from Calculator import add, subtract, multiply, divide
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: Calculator_k
3
+ Version: 1.0.0
4
+ Summary: A simple beginner-friendly Python math package
5
+ Author: Kaveen Kumar
6
+ Requires-Python: >=3.9
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Dynamic: license-file
@@ -0,0 +1,10 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/Calculator_k/Calculator.py
5
+ src/Calculator_k/__init__.py
6
+ src/Calculator_k.egg-info/PKG-INFO
7
+ src/Calculator_k.egg-info/SOURCES.txt
8
+ src/Calculator_k.egg-info/dependency_links.txt
9
+ src/Calculator_k.egg-info/top_level.txt
10
+ test/test_calculator.py
@@ -0,0 +1 @@
1
+ Calculator_k
File without changes