matekit 1.0.4.post3__tar.gz → 1.0.5__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.
Files changed (25) hide show
  1. {matekit-1.0.4.post3 → matekit-1.0.5}/PKG-INFO +6 -1
  2. matekit-1.0.5/matekit/cli.py +31 -0
  3. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit.egg-info/PKG-INFO +6 -1
  4. {matekit-1.0.4.post3 → matekit-1.0.5}/pyproject.toml +1 -1
  5. {matekit-1.0.4.post3 → matekit-1.0.5}/readme.md +5 -0
  6. matekit-1.0.4.post3/matekit/cli.py +0 -39
  7. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/__init__.py +0 -0
  8. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/algebra.py +0 -0
  9. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/aritmetica.py +0 -0
  10. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/calculadora.py +0 -0
  11. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/calculo.py +0 -0
  12. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/conversiones.py +0 -0
  13. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/estadistica.py +0 -0
  14. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/fisica.py +0 -0
  15. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/geometria.py +0 -0
  16. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/graficas.py +0 -0
  17. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/lineal.py +0 -0
  18. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/solver.py +0 -0
  19. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit/trigonometria.py +0 -0
  20. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit.egg-info/SOURCES.txt +0 -0
  21. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit.egg-info/dependency_links.txt +0 -0
  22. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit.egg-info/entry_points.txt +0 -0
  23. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit.egg-info/requires.txt +0 -0
  24. {matekit-1.0.4.post3 → matekit-1.0.5}/matekit.egg-info/top_level.txt +0 -0
  25. {matekit-1.0.4.post3 → matekit-1.0.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matekit
3
- Version: 1.0.4.post3
3
+ Version: 1.0.5
4
4
  Summary: Matekit is a modern Python mathematics library designed to make calculations, graphing, algebra, geometry, statistics, and mathematical utilities simple and powerful. It provides an easy-to-use API for students, developers, and anyone working with mathematics in Python.
5
5
  Author: Nico
6
6
  Description-Content-Type: text/markdown
@@ -52,3 +52,8 @@ pip install matekit
52
52
  pip install --upgrade matekit
53
53
  ```
54
54
 
55
+ ## Pagina Web
56
+ ```bash
57
+ https://sites.google.com/view/mateex-pypackage/
58
+ ```
59
+
@@ -0,0 +1,31 @@
1
+ import sys
2
+ import matekit
3
+
4
+ def main():
5
+ if len(sys.argv) < 2:
6
+ print("Usage: matekit <function> [args]")
7
+ return
8
+
9
+ func_name = sys.argv[1]
10
+ args = sys.argv[2:]
11
+
12
+ try:
13
+ func = getattr(matekit, func_name)
14
+
15
+ parsed_args = []
16
+
17
+ for arg in args:
18
+ try:
19
+ parsed_args.append(float(arg))
20
+ except:
21
+ parsed_args.append(arg)
22
+
23
+ result = func(*parsed_args)
24
+
25
+ print(result)
26
+
27
+ except AttributeError:
28
+ print(f"Function '{func_name}' not found")
29
+
30
+ if __name__ == "__main__":
31
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matekit
3
- Version: 1.0.4.post3
3
+ Version: 1.0.5
4
4
  Summary: Matekit is a modern Python mathematics library designed to make calculations, graphing, algebra, geometry, statistics, and mathematical utilities simple and powerful. It provides an easy-to-use API for students, developers, and anyone working with mathematics in Python.
5
5
  Author: Nico
6
6
  Description-Content-Type: text/markdown
@@ -52,3 +52,8 @@ pip install matekit
52
52
  pip install --upgrade matekit
53
53
  ```
54
54
 
55
+ ## Pagina Web
56
+ ```bash
57
+ https://sites.google.com/view/mateex-pypackage/
58
+ ```
59
+
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "matekit"
7
- version = "1.0.4.post3"
7
+ version = "1.0.5"
8
8
  description = "Matekit is a modern Python mathematics library designed to make calculations, graphing, algebra, geometry, statistics, and mathematical utilities simple and powerful. It provides an easy-to-use API for students, developers, and anyone working with mathematics in Python."
9
9
  authors = [
10
10
  {name = "Nico"}
@@ -44,3 +44,8 @@ pip install matekit
44
44
  pip install --upgrade matekit
45
45
  ```
46
46
 
47
+ ## Pagina Web
48
+ ```bash
49
+ https://sites.google.com/view/mateex-pypackage/
50
+ ```
51
+
@@ -1,39 +0,0 @@
1
- import sys
2
- import inspect
3
- import matekit
4
-
5
- def main():
6
- if len(sys.argv) < 2:
7
- print("Uso: matekit <funcion> [argumentos]")
8
- return
9
-
10
- nombre_funcion = sys.argv[1]
11
-
12
- # Verifica si la función existe
13
- if not hasattr(matekit, nombre_funcion):
14
- print(f"La funcion '{nombre_funcion}' no existe.")
15
- return
16
-
17
- funcion = getattr(matekit, nombre_funcion)
18
-
19
- # Verifica que sea función
20
- if not callable(funcion):
21
- print(f"'{nombre_funcion}' no es una funcion.")
22
- return
23
-
24
- try:
25
- # Convierte argumentos a float
26
- args = [float(arg) for arg in sys.argv[2:]]
27
-
28
- resultado = funcion(*args)
29
-
30
- print(resultado)
31
-
32
- except TypeError:
33
- print("Cantidad de argumentos incorrecta.")
34
-
35
- except ValueError:
36
- print("Los argumentos deben ser numeros.")
37
-
38
- if __name__ == "__main__":
39
- main()
File without changes
File without changes
File without changes
File without changes