simplemathsbysanyam 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.
@@ -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,87 @@
1
+ # SimpleMath
2
+
3
+ A lightweight Python package for performing basic mathematical operations.
4
+
5
+ ## Features
6
+
7
+ - ➕ Add two numbers
8
+ - ➖ Subtract two numbers
9
+ - ✖️ Multiply two numbers
10
+ - ➗ Divide two numbers
11
+
12
+ ## Requirements
13
+
14
+ - Python 3.8 or later
15
+
16
+ ## Installation
17
+
18
+ Install from PyPI:
19
+
20
+ ```bash
21
+ pip install simplemathsbysanyam
22
+ ```
23
+
24
+ Or install development requirements:
25
+
26
+ ```bash
27
+ pip install -r requirements.txt
28
+ ```
29
+
30
+ ## Usage
31
+
32
+ ```python
33
+ from simplemathsbysanyam import add, subtract, multiply, divide
34
+
35
+ print(add(10, 5))
36
+ print(subtract(10, 5))
37
+ print(multiply(10, 5))
38
+ print(divide(10, 5))
39
+ ```
40
+
41
+ ### Output
42
+
43
+ ```
44
+ 15
45
+ 5
46
+ 50
47
+ 2.0
48
+ ```
49
+
50
+ ## Functions
51
+
52
+ ### add(a, b)
53
+ Returns the sum of two numbers.
54
+
55
+ ### subtract(a, b)
56
+ Returns the difference of two numbers.
57
+
58
+ ### multiply(a, b)
59
+ Returns the product of two numbers.
60
+
61
+ ### divide(a, b)
62
+ Returns the quotient of two numbers.
63
+ Raises `ValueError` if the divisor is zero.
64
+
65
+ ## Project Structure
66
+
67
+ ```
68
+ simplemath/
69
+
70
+ ├── simplemath/
71
+ │ ├── __init__.py
72
+ │ └── main.py
73
+
74
+ ├── README.md
75
+ ├── LICENSE
76
+ ├── requirements.txt
77
+ ├── setup.py
78
+ └── pyproject.toml
79
+ ```
80
+
81
+ ## License
82
+
83
+ MIT License
84
+
85
+ ## Author
86
+
87
+ Sanyam jain
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,31 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ with open("README.md", "r", encoding="utf-8") as f:
4
+ long_description = f.read()
5
+
6
+ setup(
7
+ name="simplemathsbysanyam",
8
+ version="1.0.0",
9
+ author="sanyam jain",
10
+ author_email="sanyamjaincoding@gmail.com",
11
+ description="A lightweight Python package for basic mathematical operations.",
12
+ long_description=long_description,
13
+ long_description_content_type="text/markdown",
14
+ packages=find_packages(),
15
+ include_package_data=True,
16
+ install_requires=[],
17
+ python_requires=">=3.8",
18
+ classifiers=[
19
+ "Development Status :: 5 - Production/Stable",
20
+ "Intended Audience :: Developers",
21
+ "Programming Language :: Python :: 3",
22
+ "Programming Language :: Python :: 3.8",
23
+ "Programming Language :: Python :: 3.9",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ "Programming Language :: Python :: 3.12",
27
+ "License :: OSI Approved :: MIT License",
28
+ "Operating System :: OS Independent",
29
+ ],
30
+ keywords="math mathematics calculator add subtract multiply divide",
31
+ )
@@ -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,8 @@
1
+ README.md
2
+ setup.py
3
+ simplemathsbysanyam/__init__.py
4
+ simplemathsbysanyam/main.py
5
+ simplemathsbysanyam.egg-info/PKG-INFO
6
+ simplemathsbysanyam.egg-info/SOURCES.txt
7
+ simplemathsbysanyam.egg-info/dependency_links.txt
8
+ simplemathsbysanyam.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ simplemathsbysanyam