themultilib 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,12 @@
1
+ Metadata-Version: 2.4
2
+ Name: themultilib
3
+ Version: 0.1.0
4
+ Summary:
5
+ Author: Victor
6
+ Author-email: victor.pacheco5001@gmail.com
7
+ Requires-Python: >=3.14
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.14
10
+ Description-Content-Type: text/markdown
11
+
12
+ Hi!
@@ -0,0 +1 @@
1
+ Hi!
@@ -0,0 +1,18 @@
1
+ [project]
2
+ name = "themultilib"
3
+ version = "0.1.0"
4
+ description = ""
5
+ authors = [
6
+ {name = "Victor",email = "victor.pacheco5001@gmail.com"}
7
+ ]
8
+ readme = "README.md"
9
+ requires-python = ">=3.14"
10
+ dependencies = [
11
+ ]
12
+
13
+ [tool.poetry]
14
+ packages = [{include = "multilib", from = "src"}]
15
+
16
+ [build-system]
17
+ requires = ["poetry-core>=2.0.0,<3.0.0"]
18
+ build-backend = "poetry.core.masonry.api"
@@ -0,0 +1,22 @@
1
+ from importlib.metadata import version, PackageNotFoundError
2
+
3
+ from .other import clear, printloop
4
+ from .calc import add, sub, multi, per, ctof
5
+ from .owner import newowner, showowner
6
+
7
+ try:
8
+ __version__ = version("multilib")
9
+ except PackageNotFoundError:
10
+ __version__ = "0.0.0"
11
+
12
+ __all__ = [
13
+ "clear",
14
+ "printloop",
15
+ "add",
16
+ "sub",
17
+ "multi",
18
+ "per",
19
+ "ctof",
20
+ "newowner",
21
+ "showowner",
22
+ ]
@@ -0,0 +1,10 @@
1
+ def add(a, b):
2
+ return a+b
3
+ def sub(a, b):
4
+ return a-b
5
+ def multi(a, b):
6
+ return a*b
7
+ def per(a, b):
8
+ return a/b
9
+ def ctof(a):
10
+ return a*9/5+32
@@ -0,0 +1,8 @@
1
+ import os
2
+
3
+ def clear():
4
+ os.system("cls" if os.name == "nt" else "clear")
5
+
6
+ def printloop(a, i):
7
+ for _ in range(i):
8
+ print(a)
@@ -0,0 +1,12 @@
1
+ owner = None
2
+
3
+ def newowner(a):
4
+ global owner
5
+ owner = a
6
+ return owner
7
+
8
+ def showowner():
9
+ if owner:
10
+ print(owner)
11
+ else:
12
+ print("No Owner Found")