axiom-math 3.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,22 @@
1
+
2
+ MIT License
3
+
4
+ Copyright (c) 2025 RK RIAD & RK STUDIO 585
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
@@ -0,0 +1,114 @@
1
+ Metadata-Version: 2.4
2
+ Name: axiom-math
3
+ Version: 3.0.0
4
+ Summary: A powerful Python mathematics engine for computation and education.
5
+ Home-page: https://github.com/rkstudio585/AxiomPy
6
+ Author: RK RIAD & RK STUDIO 585
7
+ Author-email: rkriad.official@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
14
+ Requires-Python: >=3.6
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Requires-Dist: numpy>=1.20.0
18
+ Dynamic: author
19
+ Dynamic: author-email
20
+ Dynamic: classifier
21
+ Dynamic: description
22
+ Dynamic: description-content-type
23
+ Dynamic: home-page
24
+ Dynamic: license-file
25
+ Dynamic: requires-dist
26
+ Dynamic: requires-python
27
+ Dynamic: summary
28
+
29
+ # AxiomPy: The Python Mathematics & Computation Engine
30
+
31
+ [![PyPI version](https://img.shields.io/pypi/v/axiompy.svg)](https://pypi.org/project/axiompy/)
32
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
33
+ [![Python Versions](https://img.shields.io/pypi/pyversions/axiompy.svg)](https://pypi.org/project/axiompy/)
34
+
35
+ **Author:** RK RIAD & RK STUDIO 585
36
+ **GitHub:** [rkstudio585](https://github.com/rkstudio585)
37
+
38
+ ---
39
+
40
+ ## Overview
41
+
42
+ **AxiomPy** is a powerful and elegant Python mathematics engine designed for both computation and education. Built from first principles, it provides a vast array of mathematical functionalities, from basic arithmetic to advanced calculus, linear algebra, number theory, and even specialized domains like graph analysis and automatic differentiation.
43
+
44
+ The core philosophy of AxiomPy is to expose the inner workings of mathematical algorithms. By implementing them from the ground up, it serves not only as a high-performance tool for scientists and developers but also as a valuable educational resource for students and enthusiasts who wish to explore the beauty of mathematics. Its clean, object-oriented design and unified API make complex computations intuitive and straightforward.
45
+
46
+ ## Features
47
+
48
+ - **First-Principle Implementations:** Understand the core logic behind the algorithms you use.
49
+ - **Comprehensive Functionality:** Covers a wide spectrum of mathematical fields:
50
+ - Linear Algebra (Vectors, Matrices, Decompositions)
51
+ - Calculus (Numerical Differentiation & Integration)
52
+ - Number Theory (Primes, CRT)
53
+ - Statistics (Mean, Median, Variance)
54
+ - Graph Theory (PageRank Algorithm)
55
+ - Automatic Differentiation Engine
56
+ - **Object-Oriented Design:** A clean, organized, and extensible codebase.
57
+ - **Unified API:** A single, easy-to-use `Axiom` class provides access to all features.
58
+ - **Advanced Data Types:** Includes first-class `Vector` and `Matrix` objects with full operator overloading for intuitive operations.
59
+ - **Zero Dependencies (almost):** Relies only on `numpy` for high-performance array operations, with all mathematical logic built from scratch.
60
+ - **ASCII Visualizations:** Plot functions and vector fields directly in your terminal.
61
+
62
+ ## Installation
63
+
64
+ You can install AxiomPy directly from PyPI:
65
+
66
+ ```bash
67
+ pip install axiompy
68
+ ```
69
+
70
+ ## Usage
71
+
72
+ Here’s a quick look at how you can use AxiomPy:
73
+
74
+ ```python
75
+ from axiompy import Axiom
76
+
77
+ # --- 1. Intuitive Linear Algebra ---
78
+ M = Axiom.Matrix([[1, 2], [3, 4]])
79
+ v = Axiom.Vector([5, 6])
80
+
81
+ # Perform matrix-vector multiplication
82
+ Mv = M @ v
83
+ print(f"Matrix-vector product: {Mv}")
84
+
85
+ # Get the determinant
86
+ print(f"Determinant of M: {M.determinant}")
87
+
88
+
89
+ # --- 2. Graph Analysis with PageRank ---
90
+ g = Axiom.Graph()
91
+ g.add_edge('A', 'B'); g.add_edge('A', 'C'); g.add_edge('B', 'C');
92
+ g.add_edge('C', 'A'); g.add_edge('D', 'C');
93
+
94
+ ranks = Axiom.graph_analysis.pagerank(g)
95
+ print("\nPageRank Scores:")
96
+ for node, rank in ranks.items():
97
+ print(f" Node '{node}': {rank:.4f}")
98
+
99
+
100
+ # --- 3. ASCII Plotting ---
101
+ x_vals = [i * 0.4 for i in range(20)]
102
+ y_vals = [val**2 for val in x_vals]
103
+
104
+ print("\nPlotting y = x^2:")
105
+ Axiom.viz.plot_ascii(x_vals, y_vals)
106
+ ```
107
+
108
+ ## Contributing
109
+
110
+ Contributions are welcome! If you have ideas for new features, improvements, or bug fixes, please open an issue or submit a pull request on our [GitHub repository](https://github.com/rkstudio585/AxiomPy).
111
+
112
+ ## License
113
+
114
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -0,0 +1,86 @@
1
+ # AxiomPy: The Python Mathematics & Computation Engine
2
+
3
+ [![PyPI version](https://img.shields.io/pypi/v/axiompy.svg)](https://pypi.org/project/axiompy/)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+ [![Python Versions](https://img.shields.io/pypi/pyversions/axiompy.svg)](https://pypi.org/project/axiompy/)
6
+
7
+ **Author:** RK RIAD & RK STUDIO 585
8
+ **GitHub:** [rkstudio585](https://github.com/rkstudio585)
9
+
10
+ ---
11
+
12
+ ## Overview
13
+
14
+ **AxiomPy** is a powerful and elegant Python mathematics engine designed for both computation and education. Built from first principles, it provides a vast array of mathematical functionalities, from basic arithmetic to advanced calculus, linear algebra, number theory, and even specialized domains like graph analysis and automatic differentiation.
15
+
16
+ The core philosophy of AxiomPy is to expose the inner workings of mathematical algorithms. By implementing them from the ground up, it serves not only as a high-performance tool for scientists and developers but also as a valuable educational resource for students and enthusiasts who wish to explore the beauty of mathematics. Its clean, object-oriented design and unified API make complex computations intuitive and straightforward.
17
+
18
+ ## Features
19
+
20
+ - **First-Principle Implementations:** Understand the core logic behind the algorithms you use.
21
+ - **Comprehensive Functionality:** Covers a wide spectrum of mathematical fields:
22
+ - Linear Algebra (Vectors, Matrices, Decompositions)
23
+ - Calculus (Numerical Differentiation & Integration)
24
+ - Number Theory (Primes, CRT)
25
+ - Statistics (Mean, Median, Variance)
26
+ - Graph Theory (PageRank Algorithm)
27
+ - Automatic Differentiation Engine
28
+ - **Object-Oriented Design:** A clean, organized, and extensible codebase.
29
+ - **Unified API:** A single, easy-to-use `Axiom` class provides access to all features.
30
+ - **Advanced Data Types:** Includes first-class `Vector` and `Matrix` objects with full operator overloading for intuitive operations.
31
+ - **Zero Dependencies (almost):** Relies only on `numpy` for high-performance array operations, with all mathematical logic built from scratch.
32
+ - **ASCII Visualizations:** Plot functions and vector fields directly in your terminal.
33
+
34
+ ## Installation
35
+
36
+ You can install AxiomPy directly from PyPI:
37
+
38
+ ```bash
39
+ pip install axiompy
40
+ ```
41
+
42
+ ## Usage
43
+
44
+ Here’s a quick look at how you can use AxiomPy:
45
+
46
+ ```python
47
+ from axiompy import Axiom
48
+
49
+ # --- 1. Intuitive Linear Algebra ---
50
+ M = Axiom.Matrix([[1, 2], [3, 4]])
51
+ v = Axiom.Vector([5, 6])
52
+
53
+ # Perform matrix-vector multiplication
54
+ Mv = M @ v
55
+ print(f"Matrix-vector product: {Mv}")
56
+
57
+ # Get the determinant
58
+ print(f"Determinant of M: {M.determinant}")
59
+
60
+
61
+ # --- 2. Graph Analysis with PageRank ---
62
+ g = Axiom.Graph()
63
+ g.add_edge('A', 'B'); g.add_edge('A', 'C'); g.add_edge('B', 'C');
64
+ g.add_edge('C', 'A'); g.add_edge('D', 'C');
65
+
66
+ ranks = Axiom.graph_analysis.pagerank(g)
67
+ print("\nPageRank Scores:")
68
+ for node, rank in ranks.items():
69
+ print(f" Node '{node}': {rank:.4f}")
70
+
71
+
72
+ # --- 3. ASCII Plotting ---
73
+ x_vals = [i * 0.4 for i in range(20)]
74
+ y_vals = [val**2 for val in x_vals]
75
+
76
+ print("\nPlotting y = x^2:")
77
+ Axiom.viz.plot_ascii(x_vals, y_vals)
78
+ ```
79
+
80
+ ## Contributing
81
+
82
+ Contributions are welcome! If you have ideas for new features, improvements, or bug fixes, please open an issue or submit a pull request on our [GitHub repository](https://github.com/rkstudio585/AxiomPy).
83
+
84
+ ## License
85
+
86
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -0,0 +1,114 @@
1
+ Metadata-Version: 2.4
2
+ Name: axiom-math
3
+ Version: 3.0.0
4
+ Summary: A powerful Python mathematics engine for computation and education.
5
+ Home-page: https://github.com/rkstudio585/AxiomPy
6
+ Author: RK RIAD & RK STUDIO 585
7
+ Author-email: rkriad.official@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
14
+ Requires-Python: >=3.6
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Requires-Dist: numpy>=1.20.0
18
+ Dynamic: author
19
+ Dynamic: author-email
20
+ Dynamic: classifier
21
+ Dynamic: description
22
+ Dynamic: description-content-type
23
+ Dynamic: home-page
24
+ Dynamic: license-file
25
+ Dynamic: requires-dist
26
+ Dynamic: requires-python
27
+ Dynamic: summary
28
+
29
+ # AxiomPy: The Python Mathematics & Computation Engine
30
+
31
+ [![PyPI version](https://img.shields.io/pypi/v/axiompy.svg)](https://pypi.org/project/axiompy/)
32
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
33
+ [![Python Versions](https://img.shields.io/pypi/pyversions/axiompy.svg)](https://pypi.org/project/axiompy/)
34
+
35
+ **Author:** RK RIAD & RK STUDIO 585
36
+ **GitHub:** [rkstudio585](https://github.com/rkstudio585)
37
+
38
+ ---
39
+
40
+ ## Overview
41
+
42
+ **AxiomPy** is a powerful and elegant Python mathematics engine designed for both computation and education. Built from first principles, it provides a vast array of mathematical functionalities, from basic arithmetic to advanced calculus, linear algebra, number theory, and even specialized domains like graph analysis and automatic differentiation.
43
+
44
+ The core philosophy of AxiomPy is to expose the inner workings of mathematical algorithms. By implementing them from the ground up, it serves not only as a high-performance tool for scientists and developers but also as a valuable educational resource for students and enthusiasts who wish to explore the beauty of mathematics. Its clean, object-oriented design and unified API make complex computations intuitive and straightforward.
45
+
46
+ ## Features
47
+
48
+ - **First-Principle Implementations:** Understand the core logic behind the algorithms you use.
49
+ - **Comprehensive Functionality:** Covers a wide spectrum of mathematical fields:
50
+ - Linear Algebra (Vectors, Matrices, Decompositions)
51
+ - Calculus (Numerical Differentiation & Integration)
52
+ - Number Theory (Primes, CRT)
53
+ - Statistics (Mean, Median, Variance)
54
+ - Graph Theory (PageRank Algorithm)
55
+ - Automatic Differentiation Engine
56
+ - **Object-Oriented Design:** A clean, organized, and extensible codebase.
57
+ - **Unified API:** A single, easy-to-use `Axiom` class provides access to all features.
58
+ - **Advanced Data Types:** Includes first-class `Vector` and `Matrix` objects with full operator overloading for intuitive operations.
59
+ - **Zero Dependencies (almost):** Relies only on `numpy` for high-performance array operations, with all mathematical logic built from scratch.
60
+ - **ASCII Visualizations:** Plot functions and vector fields directly in your terminal.
61
+
62
+ ## Installation
63
+
64
+ You can install AxiomPy directly from PyPI:
65
+
66
+ ```bash
67
+ pip install axiompy
68
+ ```
69
+
70
+ ## Usage
71
+
72
+ Here’s a quick look at how you can use AxiomPy:
73
+
74
+ ```python
75
+ from axiompy import Axiom
76
+
77
+ # --- 1. Intuitive Linear Algebra ---
78
+ M = Axiom.Matrix([[1, 2], [3, 4]])
79
+ v = Axiom.Vector([5, 6])
80
+
81
+ # Perform matrix-vector multiplication
82
+ Mv = M @ v
83
+ print(f"Matrix-vector product: {Mv}")
84
+
85
+ # Get the determinant
86
+ print(f"Determinant of M: {M.determinant}")
87
+
88
+
89
+ # --- 2. Graph Analysis with PageRank ---
90
+ g = Axiom.Graph()
91
+ g.add_edge('A', 'B'); g.add_edge('A', 'C'); g.add_edge('B', 'C');
92
+ g.add_edge('C', 'A'); g.add_edge('D', 'C');
93
+
94
+ ranks = Axiom.graph_analysis.pagerank(g)
95
+ print("\nPageRank Scores:")
96
+ for node, rank in ranks.items():
97
+ print(f" Node '{node}': {rank:.4f}")
98
+
99
+
100
+ # --- 3. ASCII Plotting ---
101
+ x_vals = [i * 0.4 for i in range(20)]
102
+ y_vals = [val**2 for val in x_vals]
103
+
104
+ print("\nPlotting y = x^2:")
105
+ Axiom.viz.plot_ascii(x_vals, y_vals)
106
+ ```
107
+
108
+ ## Contributing
109
+
110
+ Contributions are welcome! If you have ideas for new features, improvements, or bug fixes, please open an issue or submit a pull request on our [GitHub repository](https://github.com/rkstudio585/AxiomPy).
111
+
112
+ ## License
113
+
114
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -0,0 +1,30 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ setup.py
5
+ axiom_math.egg-info/PKG-INFO
6
+ axiom_math.egg-info/SOURCES.txt
7
+ axiom_math.egg-info/dependency_links.txt
8
+ axiom_math.egg-info/requires.txt
9
+ axiom_math.egg-info/top_level.txt
10
+ axiompy/__init__.py
11
+ axiompy/core.py
12
+ axiompy/v1_0.py
13
+ axiompy/v1_1.py
14
+ axiompy/v1_2.py
15
+ axiompy/v1_3.py
16
+ axiompy/v1_4.py
17
+ axiompy/v1_5.py
18
+ axiompy/v1_6.py
19
+ axiompy/v1_7.py
20
+ axiompy/v1_8.py
21
+ axiompy/v1_9.py
22
+ axiompy/v2_0.py
23
+ axiompy/v2_1.py
24
+ axiompy/v2_2.py
25
+ axiompy/v2_3.py
26
+ axiompy/v2_4.py
27
+ axiompy/v2_5.py
28
+ axiompy/v2_6.py
29
+ axiompy/v2_7.py
30
+ axiompy/v2_8.py
@@ -0,0 +1 @@
1
+ numpy>=1.20.0
@@ -0,0 +1 @@
1
+ axiompy
@@ -0,0 +1,3 @@
1
+ from .core import Axiom
2
+
3
+ __all__ = ["Axiom"]