librarycalc 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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Cade
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.4
2
+ Name: librarycalc
3
+ Version: 0.1.0
4
+ Summary: A library to help with building calculators
5
+ Author-email: Cade <cadey.matignas@gmail.com>
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Dynamic: license-file
13
+
14
+ # librarycalc
15
+
16
+
17
+
18
+ ## this is a library to help with building calculators
19
+
20
+
21
+
22
+ # Installation
23
+
24
+ ```bash
25
+
26
+ pip install librarycalc
27
+
28
+ ```
29
+
30
+ you can do anything with this library, mod it, break it, anything, but don't sue me
@@ -0,0 +1,17 @@
1
+ # librarycalc
2
+
3
+
4
+
5
+ ## this is a library to help with building calculators
6
+
7
+
8
+
9
+ # Installation
10
+
11
+ ```bash
12
+
13
+ pip install librarycalc
14
+
15
+ ```
16
+
17
+ you can do anything with this library, mod it, break it, anything, but don't sue me
@@ -0,0 +1 @@
1
+ from .core import *
@@ -0,0 +1,67 @@
1
+ import math
2
+ import random
3
+ import time
4
+
5
+
6
+ def add():
7
+ print("Enter first number:")
8
+ a = int(input())
9
+ print("Enter second number:")
10
+ b = int(input())
11
+ print("Calculating...")
12
+ time.sleep(1)
13
+ print(a + b)
14
+
15
+
16
+ def subtract():
17
+ print("Enter first number:")
18
+ a = int(input())
19
+ print("Enter second number:")
20
+ b = int(input())
21
+ print("Calculating...")
22
+ time.sleep(1)
23
+ print(a - b)
24
+
25
+
26
+ def multiply():
27
+ print("Enter first number:")
28
+ a = int(input())
29
+ print("Enter second number:")
30
+ b = int(input())
31
+ print("Calculating...")
32
+ time.sleep(1)
33
+ print(a * b)
34
+
35
+
36
+ def divide():
37
+ print("Enter first number:")
38
+ a = int(input())
39
+ print("Enter second number:")
40
+ b = int(input())
41
+ print("Calculating...")
42
+ time.sleep(1)
43
+ print(a / b)
44
+
45
+
46
+ def random_number():
47
+ print("Generating random number...")
48
+ time.sleep(1)
49
+ print(random.randint(1, 100))
50
+
51
+
52
+ def squareroot():
53
+ print("Enter number:")
54
+ a = int(input())
55
+ print("Calculating...")
56
+ time.sleep(1)
57
+ print(math.sqrt(a))
58
+
59
+
60
+ def exponent():
61
+ print("Enter number:")
62
+ a = int(input())
63
+ print("Enter exponent:")
64
+ b = int(input())
65
+ print("Calculating...")
66
+ time.sleep(1)
67
+ print(math.pow(a, b))
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.4
2
+ Name: librarycalc
3
+ Version: 0.1.0
4
+ Summary: A library to help with building calculators
5
+ Author-email: Cade <cadey.matignas@gmail.com>
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Dynamic: license-file
13
+
14
+ # librarycalc
15
+
16
+
17
+
18
+ ## this is a library to help with building calculators
19
+
20
+
21
+
22
+ # Installation
23
+
24
+ ```bash
25
+
26
+ pip install librarycalc
27
+
28
+ ```
29
+
30
+ you can do anything with this library, mod it, break it, anything, but don't sue me
@@ -0,0 +1,9 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ librarycalc/__init__.py
5
+ librarycalc/core.py
6
+ librarycalc.egg-info/PKG-INFO
7
+ librarycalc.egg-info/SOURCES.txt
8
+ librarycalc.egg-info/dependency_links.txt
9
+ librarycalc.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ librarycalc
@@ -0,0 +1,15 @@
1
+
2
+ [project]
3
+ name = "librarycalc"
4
+ version = "0.1.0"
5
+ authors = [
6
+ { name="Cade", email="cadey.matignas@gmail.com" },
7
+ ]
8
+ description = "A library to help with building calculators"
9
+ readme = "README.md"
10
+ requires-python = ">=3.8"
11
+ classifiers = [
12
+ "Programming Language :: Python :: 3",
13
+ "License :: OSI Approved :: MIT License",
14
+ "Operating System :: OS Independent",
15
+ ]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+