abstract-math 0.0.0.18__tar.gz → 0.0.0.20__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.
Potentially problematic release.
This version of abstract-math might be problematic. Click here for more details.
- abstract_math-0.0.0.20/PKG-INFO +81 -0
- abstract_math-0.0.0.20/README.md +62 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/setup.py +1 -1
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/__init__.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/derive_tokens.py +36 -35
- abstract_math-0.0.0.20/src/abstract_math/flask_scripts/__init__.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/safe_math.py +20 -3
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/src/imports.py +1 -1
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/src/utils/escape_velocity.py +0 -1
- abstract_math-0.0.0.20/src/abstract_math.egg-info/PKG-INFO +81 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math.egg-info/SOURCES.txt +0 -1
- abstract_math-0.0.0.18/PKG-INFO +0 -47
- abstract_math-0.0.0.18/README.md +0 -28
- abstract_math-0.0.0.18/src/abstract_math/flask_scripts/__init__.py +0 -1
- abstract_math-0.0.0.18/src/abstract_math/flask_scripts/make_flask.py +0 -1
- abstract_math-0.0.0.18/src/abstract_math.egg-info/PKG-INFO +0 -47
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/pyproject.toml +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/setup.cfg +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/flask_scripts/flask_utils.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/__init__.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/flask_utils.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/main.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/src/__init__.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/src/constants/__init__.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/src/constants/distance_constants.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/src/constants/planet_constants.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/src/constants/time_constants.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/src/utils/__init__.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/src/utils/geometry_utils.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/src/utils/velocity_utils.py +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math.egg-info/dependency_links.txt +0 -0
- {abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: abstract_math
|
|
3
|
+
Version: 0.0.0.20
|
|
4
|
+
Author: putkoff
|
|
5
|
+
Author-email: partners@abstractendeavors.com
|
|
6
|
+
Classifier: Development Status :: 3 - Alpha
|
|
7
|
+
Classifier: Intended Audience :: Developers
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Requires-Python: >=3.6
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
Dynamic: author
|
|
14
|
+
Dynamic: author-email
|
|
15
|
+
Dynamic: classifier
|
|
16
|
+
Dynamic: description
|
|
17
|
+
Dynamic: description-content-type
|
|
18
|
+
Dynamic: requires-python
|
|
19
|
+
|
|
20
|
+
# abstract_math
|
|
21
|
+
|
|
22
|
+
## Description
|
|
23
|
+
The abstract_math Python module, currently in its Alpha development stage (version 0.0.0.14), is designed for performing complex mathematical operations and token manipulations. This module comprises primarily of two scripts: `safe_math` and `derive_tokens`.
|
|
24
|
+
|
|
25
|
+
## Features
|
|
26
|
+
- Performing complex mathematical operations.
|
|
27
|
+
- Manipulation and derivation of mathematical tokens, referred to as 'lamports'.
|
|
28
|
+
- High precision for decimal calculations for better accuracy.
|
|
29
|
+
- Functions for deriving quantities like lamports, virtual reserves, sol reserves, sol amounts, token reserves, token amounts, derived token ratio, price, and token decimals.
|
|
30
|
+
- Module components for updating Sol and token variables.
|
|
31
|
+
|
|
32
|
+
## Scripts Overview
|
|
33
|
+
|
|
34
|
+
- `derive_tokens.py`: This script is involved in the complex manipulation or derivation of mathematical tokens, referred to as 'lamports'. The functions defined in this script handle various aspects of token manipulations and calculations.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## Installation
|
|
38
|
+
To install the abstract_math module, ensure that your Python version is 3.6 or later. This module currently does not have any external dependencies to be installed.
|
|
39
|
+
|
|
40
|
+
## Usage
|
|
41
|
+
This module could potentially be used as a framework for handling complex mathematical operations or token manipulations. Developers interested in working with and enhancing this module can access the source code at the repository (provide repo link here).
|
|
42
|
+
|
|
43
|
+
## Dependencies
|
|
44
|
+
Currently, the module does not require any external dependencies.
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
The module is provided under the MIT License.
|
|
48
|
+
|
|
49
|
+
## Author & Contact
|
|
50
|
+
This Python module was authored by 'putkoff', who can be reached at partners@abstractendeavors.com for further queries or assistance.
|
|
51
|
+
|
|
52
|
+
## Contributing
|
|
53
|
+
Contributions are welcome to help in the development of the abstract_math module, particularly with the 'safe_math' and 'derive_tokens' scripts that form the core of the module.
|
|
54
|
+
# Unknown Package (vUnknown Version)
|
|
55
|
+
|
|
56
|
+
No description available
|
|
57
|
+
|
|
58
|
+
## Installation
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
pip install Unknown Package
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Dependencies
|
|
65
|
+
|
|
66
|
+
None
|
|
67
|
+
|
|
68
|
+
## Modules
|
|
69
|
+
|
|
70
|
+
### src/abstract_math/safe_math.py
|
|
71
|
+
|
|
72
|
+
Description of script based on prompt: You are analyzing a Python script 'safe_math.py' l (mock response)
|
|
73
|
+
|
|
74
|
+
### src/abstract_math/__init__.py
|
|
75
|
+
|
|
76
|
+
Description of script based on prompt: You are analyzing a Python script '__init__.py' lo (mock response)
|
|
77
|
+
|
|
78
|
+
### src/abstract_math/derive_tokens.py
|
|
79
|
+
|
|
80
|
+
Description of script based on prompt: You are analyzing a Python script 'derive_tokens.p (mock response)
|
|
81
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# abstract_math
|
|
2
|
+
|
|
3
|
+
## Description
|
|
4
|
+
The abstract_math Python module, currently in its Alpha development stage (version 0.0.0.14), is designed for performing complex mathematical operations and token manipulations. This module comprises primarily of two scripts: `safe_math` and `derive_tokens`.
|
|
5
|
+
|
|
6
|
+
## Features
|
|
7
|
+
- Performing complex mathematical operations.
|
|
8
|
+
- Manipulation and derivation of mathematical tokens, referred to as 'lamports'.
|
|
9
|
+
- High precision for decimal calculations for better accuracy.
|
|
10
|
+
- Functions for deriving quantities like lamports, virtual reserves, sol reserves, sol amounts, token reserves, token amounts, derived token ratio, price, and token decimals.
|
|
11
|
+
- Module components for updating Sol and token variables.
|
|
12
|
+
|
|
13
|
+
## Scripts Overview
|
|
14
|
+
|
|
15
|
+
- `derive_tokens.py`: This script is involved in the complex manipulation or derivation of mathematical tokens, referred to as 'lamports'. The functions defined in this script handle various aspects of token manipulations and calculations.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
To install the abstract_math module, ensure that your Python version is 3.6 or later. This module currently does not have any external dependencies to be installed.
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
This module could potentially be used as a framework for handling complex mathematical operations or token manipulations. Developers interested in working with and enhancing this module can access the source code at the repository (provide repo link here).
|
|
23
|
+
|
|
24
|
+
## Dependencies
|
|
25
|
+
Currently, the module does not require any external dependencies.
|
|
26
|
+
|
|
27
|
+
## License
|
|
28
|
+
The module is provided under the MIT License.
|
|
29
|
+
|
|
30
|
+
## Author & Contact
|
|
31
|
+
This Python module was authored by 'putkoff', who can be reached at partners@abstractendeavors.com for further queries or assistance.
|
|
32
|
+
|
|
33
|
+
## Contributing
|
|
34
|
+
Contributions are welcome to help in the development of the abstract_math module, particularly with the 'safe_math' and 'derive_tokens' scripts that form the core of the module.
|
|
35
|
+
# Unknown Package (vUnknown Version)
|
|
36
|
+
|
|
37
|
+
No description available
|
|
38
|
+
|
|
39
|
+
## Installation
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
pip install Unknown Package
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Dependencies
|
|
46
|
+
|
|
47
|
+
None
|
|
48
|
+
|
|
49
|
+
## Modules
|
|
50
|
+
|
|
51
|
+
### src/abstract_math/safe_math.py
|
|
52
|
+
|
|
53
|
+
Description of script based on prompt: You are analyzing a Python script 'safe_math.py' l (mock response)
|
|
54
|
+
|
|
55
|
+
### src/abstract_math/__init__.py
|
|
56
|
+
|
|
57
|
+
Description of script based on prompt: You are analyzing a Python script '__init__.py' lo (mock response)
|
|
58
|
+
|
|
59
|
+
### src/abstract_math/derive_tokens.py
|
|
60
|
+
|
|
61
|
+
Description of script based on prompt: You are analyzing a Python script 'derive_tokens.p (mock response)
|
|
62
|
+
|
|
File without changes
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
from decimal import Decimal, getcontext
|
|
2
2
|
from .safe_math import *
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
# High precision for decimal ops
|
|
5
5
|
getcontext().prec = 50
|
|
6
6
|
|
|
7
|
-
#
|
|
7
|
+
# SOL constants
|
|
8
8
|
SOL_DECIMAL_PLACE = 9
|
|
9
|
-
|
|
9
|
+
# lamports per SOL = 10**9
|
|
10
|
+
SOL_LAMPORTS = sol_lamports = int(exponential(1, exp=SOL_DECIMAL_PLACE, num=1))
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
def get_proper_args(strings, *args, **kwargs):
|
|
13
14
|
"""
|
|
14
|
-
|
|
15
|
-
falls back to positional args in order.
|
|
15
|
+
Extract values for keys in `strings` from kwargs; if missing, pull from positional args in order.
|
|
16
16
|
"""
|
|
17
17
|
properArgs = []
|
|
18
18
|
for key in strings:
|
|
@@ -23,25 +23,26 @@ def get_proper_args(strings, *args, **kwargs):
|
|
|
23
23
|
properArgs.append(kwarg)
|
|
24
24
|
return properArgs
|
|
25
25
|
|
|
26
|
-
# Lamports calculations
|
|
27
26
|
|
|
28
|
-
|
|
27
|
+
# ---------- Lamports helpers ----------
|
|
28
|
+
def get_lamports(integer: int):
|
|
29
29
|
"""
|
|
30
|
-
|
|
30
|
+
Convert an integer N to 10^(len(str(N)) + 1).
|
|
31
|
+
NOTE: this is your original behavior, not 10**9 unless N is 1 with exp=9.
|
|
31
32
|
"""
|
|
32
33
|
return exp_it(10, len(str(integer)) + 1, 1)
|
|
33
34
|
|
|
34
35
|
|
|
35
|
-
def get_lamport_difference(lamports, virtual_lamports):
|
|
36
|
+
def get_lamport_difference(lamports: int, virtual_lamports: int):
|
|
36
37
|
"""
|
|
37
|
-
|
|
38
|
+
Compare 'lamports' vs 'virtual_lamports' and return 10^(len(str(int(virtual/actual))))
|
|
38
39
|
"""
|
|
39
40
|
integer = int(virtual_lamports / lamports)
|
|
40
41
|
exp = len(str(integer))
|
|
41
42
|
return int(exponential(1, exp, 1))
|
|
42
43
|
|
|
43
|
-
# Virtual reserves and ratios
|
|
44
44
|
|
|
45
|
+
# ---------- Virtual reserves / ratios ----------
|
|
45
46
|
def get_vitual_reserves(*args, **kwargs):
|
|
46
47
|
return get_proper_args(["virtualSolReserves", "virtualTokenReserves"], *args, **kwargs)
|
|
47
48
|
|
|
@@ -50,8 +51,8 @@ def get_virtual_reserve_ratio(*args, **kwargs):
|
|
|
50
51
|
sol_res, token_res = get_vitual_reserves(*args, **kwargs)
|
|
51
52
|
return divide_it(sol_res, token_res)
|
|
52
53
|
|
|
53
|
-
# SOL-specific calculations
|
|
54
54
|
|
|
55
|
+
# ---------- SOL-specific ----------
|
|
55
56
|
def get_virtual_sol_reservs(*args, **kwargs):
|
|
56
57
|
reserves = get_proper_args(["virtualSolReserves"], *args, **kwargs)
|
|
57
58
|
return reserves[0] if reserves else None
|
|
@@ -66,7 +67,6 @@ def get_virtual_sol_lamp_difference(*args, **kwargs):
|
|
|
66
67
|
v_lam = get_virtual_sol_lamports(*args, **kwargs)
|
|
67
68
|
return get_lamport_difference(SOL_LAMPORTS, v_lam)
|
|
68
69
|
|
|
69
|
-
# SOL amount conversions
|
|
70
70
|
|
|
71
71
|
def get_sol_amount(*args, **kwargs):
|
|
72
72
|
amounts = get_proper_args(["solAmount"], *args, **kwargs)
|
|
@@ -77,8 +77,8 @@ def getSolAmountUi(*args, **kwargs):
|
|
|
77
77
|
sol_amt = get_sol_amount(*args, **kwargs)
|
|
78
78
|
return exponential(sol_amt, SOL_DECIMAL_PLACE)
|
|
79
79
|
|
|
80
|
-
# Token-specific calculations
|
|
81
80
|
|
|
81
|
+
# ---------- Token-specific ----------
|
|
82
82
|
def get_virtual_token_reserves(*args, **kwargs):
|
|
83
83
|
reserves = get_proper_args(["virtualTokenReserves"], *args, **kwargs)
|
|
84
84
|
return reserves[0] if reserves else None
|
|
@@ -94,22 +94,10 @@ def get_token_amount(*args, **kwargs):
|
|
|
94
94
|
return amounts[0] if amounts else None
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
def
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
return
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
def derive_token_decimals_from_token_variables(**variables):
|
|
104
|
-
variables["price"] = get_price(**variables)
|
|
105
|
-
variables["tokenDecimals"] = derive_decimals_from_vars(**variables)
|
|
106
|
-
return variables
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
def get_derived_token_ratio(*args, **kwargs):
|
|
110
|
-
derived_amt = derive_token_amount(*args, **kwargs)
|
|
111
|
-
token_amt = get_token_amount(*args, **kwargs)
|
|
112
|
-
return divide_it(derived_amt, token_amt)
|
|
97
|
+
def get_price(*args, **kwargs):
|
|
98
|
+
reserve_ratio = get_virtual_reserve_ratio(*args, **kwargs)
|
|
99
|
+
sol_diff = get_virtual_sol_lamp_difference(*args, **kwargs)
|
|
100
|
+
return divide_it(reserve_ratio, sol_diff)
|
|
113
101
|
|
|
114
102
|
|
|
115
103
|
def derive_token_amount(*args, **kwargs):
|
|
@@ -118,22 +106,35 @@ def derive_token_amount(*args, **kwargs):
|
|
|
118
106
|
return divide_it(token_res, price)
|
|
119
107
|
|
|
120
108
|
|
|
121
|
-
def
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
return divide_it(
|
|
109
|
+
def get_derived_token_ratio(*args, **kwargs):
|
|
110
|
+
derived_amt = derive_token_amount(*args, **kwargs)
|
|
111
|
+
token_amt = get_token_amount(*args, **kwargs)
|
|
112
|
+
return divide_it(derived_amt, token_amt)
|
|
125
113
|
|
|
126
114
|
|
|
127
115
|
def derive_decimals_from_vars(*args, **kwargs):
|
|
128
116
|
ratio = get_derived_token_ratio(*args, **kwargs)
|
|
129
117
|
decimals = -1
|
|
118
|
+
# Count how many decimal places are needed to make ratio an integer (<= 1e-9 tolerance)
|
|
130
119
|
while abs(ratio - round(ratio)) > 1e-9:
|
|
131
120
|
ratio *= 10
|
|
132
121
|
decimals += 1
|
|
133
122
|
return decimals
|
|
134
123
|
|
|
135
124
|
|
|
136
|
-
def
|
|
125
|
+
def get_token_amount_ui(*args, **kwargs):
|
|
126
|
+
token_amt = get_token_amount(*args, **kwargs)
|
|
127
|
+
token_decimals = derive_decimals_from_vars(*args, **kwargs)
|
|
128
|
+
return exponential(token_amt, token_decimals)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
def derive_token_decimals_from_token_variables(**variables):
|
|
132
|
+
variables["price"] = get_price(**variables)
|
|
133
|
+
variables["tokenDecimals"] = derive_decimals_from_vars(**variables)
|
|
134
|
+
return variables
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
def update_token_variables(variables: dict):
|
|
137
138
|
variables['solAmountUi'] = getSolAmountUi(**variables)
|
|
138
139
|
variables['solDecimals'] = SOL_DECIMAL_PLACE
|
|
139
140
|
variables = derive_token_decimals_from_token_variables(**variables)
|
|
File without changes
|
|
@@ -1,6 +1,23 @@
|
|
|
1
|
-
from abstract_utilities import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
from abstract_utilities import *
|
|
2
|
+
import math
|
|
3
|
+
#math functions ------------------------------------------------------------------------------------------------------
|
|
4
|
+
def exponential(value,exp=9,num=-1):
|
|
5
|
+
return multiply_it(value,exp_it(10,exp,num))
|
|
6
|
+
|
|
7
|
+
def add_it(number_1,number_2):
|
|
8
|
+
if return_0(number_1,number_2)==float(0):
|
|
9
|
+
return float(0)
|
|
10
|
+
return float(number_1)+float(number_2)
|
|
11
|
+
|
|
12
|
+
def subtract_it(number_1,number_2):
|
|
13
|
+
if return_0(number_1,number_2)==float(0):
|
|
14
|
+
return float(0)
|
|
15
|
+
return float(number_1)-float(number_2)
|
|
16
|
+
|
|
17
|
+
def get_percentage(owner_balance,address_balance):
|
|
18
|
+
retained_div = divide_it(owner_balance,address_balance)
|
|
19
|
+
retained_mul = multiply_it(retained_div,100)
|
|
20
|
+
return round(retained_mul,2)
|
|
4
21
|
|
|
5
22
|
def return_0(*args):
|
|
6
23
|
"""Return True if *any* arg is “falsy” (None, non-number, or zero‐like)."""
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: abstract_math
|
|
3
|
+
Version: 0.0.0.20
|
|
4
|
+
Author: putkoff
|
|
5
|
+
Author-email: partners@abstractendeavors.com
|
|
6
|
+
Classifier: Development Status :: 3 - Alpha
|
|
7
|
+
Classifier: Intended Audience :: Developers
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Requires-Python: >=3.6
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
Dynamic: author
|
|
14
|
+
Dynamic: author-email
|
|
15
|
+
Dynamic: classifier
|
|
16
|
+
Dynamic: description
|
|
17
|
+
Dynamic: description-content-type
|
|
18
|
+
Dynamic: requires-python
|
|
19
|
+
|
|
20
|
+
# abstract_math
|
|
21
|
+
|
|
22
|
+
## Description
|
|
23
|
+
The abstract_math Python module, currently in its Alpha development stage (version 0.0.0.14), is designed for performing complex mathematical operations and token manipulations. This module comprises primarily of two scripts: `safe_math` and `derive_tokens`.
|
|
24
|
+
|
|
25
|
+
## Features
|
|
26
|
+
- Performing complex mathematical operations.
|
|
27
|
+
- Manipulation and derivation of mathematical tokens, referred to as 'lamports'.
|
|
28
|
+
- High precision for decimal calculations for better accuracy.
|
|
29
|
+
- Functions for deriving quantities like lamports, virtual reserves, sol reserves, sol amounts, token reserves, token amounts, derived token ratio, price, and token decimals.
|
|
30
|
+
- Module components for updating Sol and token variables.
|
|
31
|
+
|
|
32
|
+
## Scripts Overview
|
|
33
|
+
|
|
34
|
+
- `derive_tokens.py`: This script is involved in the complex manipulation or derivation of mathematical tokens, referred to as 'lamports'. The functions defined in this script handle various aspects of token manipulations and calculations.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## Installation
|
|
38
|
+
To install the abstract_math module, ensure that your Python version is 3.6 or later. This module currently does not have any external dependencies to be installed.
|
|
39
|
+
|
|
40
|
+
## Usage
|
|
41
|
+
This module could potentially be used as a framework for handling complex mathematical operations or token manipulations. Developers interested in working with and enhancing this module can access the source code at the repository (provide repo link here).
|
|
42
|
+
|
|
43
|
+
## Dependencies
|
|
44
|
+
Currently, the module does not require any external dependencies.
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
The module is provided under the MIT License.
|
|
48
|
+
|
|
49
|
+
## Author & Contact
|
|
50
|
+
This Python module was authored by 'putkoff', who can be reached at partners@abstractendeavors.com for further queries or assistance.
|
|
51
|
+
|
|
52
|
+
## Contributing
|
|
53
|
+
Contributions are welcome to help in the development of the abstract_math module, particularly with the 'safe_math' and 'derive_tokens' scripts that form the core of the module.
|
|
54
|
+
# Unknown Package (vUnknown Version)
|
|
55
|
+
|
|
56
|
+
No description available
|
|
57
|
+
|
|
58
|
+
## Installation
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
pip install Unknown Package
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Dependencies
|
|
65
|
+
|
|
66
|
+
None
|
|
67
|
+
|
|
68
|
+
## Modules
|
|
69
|
+
|
|
70
|
+
### src/abstract_math/safe_math.py
|
|
71
|
+
|
|
72
|
+
Description of script based on prompt: You are analyzing a Python script 'safe_math.py' l (mock response)
|
|
73
|
+
|
|
74
|
+
### src/abstract_math/__init__.py
|
|
75
|
+
|
|
76
|
+
Description of script based on prompt: You are analyzing a Python script '__init__.py' lo (mock response)
|
|
77
|
+
|
|
78
|
+
### src/abstract_math/derive_tokens.py
|
|
79
|
+
|
|
80
|
+
Description of script based on prompt: You are analyzing a Python script 'derive_tokens.p (mock response)
|
|
81
|
+
|
|
@@ -10,7 +10,6 @@ src/abstract_math.egg-info/dependency_links.txt
|
|
|
10
10
|
src/abstract_math.egg-info/top_level.txt
|
|
11
11
|
src/abstract_math/flask_scripts/__init__.py
|
|
12
12
|
src/abstract_math/flask_scripts/flask_utils.py
|
|
13
|
-
src/abstract_math/flask_scripts/make_flask.py
|
|
14
13
|
src/abstract_math/solar_math/__init__.py
|
|
15
14
|
src/abstract_math/solar_math/flask_utils.py
|
|
16
15
|
src/abstract_math/solar_math/main.py
|
abstract_math-0.0.0.18/PKG-INFO
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: abstract_math
|
|
3
|
-
Version: 0.0.0.18
|
|
4
|
-
Author: putkoff
|
|
5
|
-
Author-email: partners@abstractendeavors.com
|
|
6
|
-
Classifier: Development Status :: 3 - Alpha
|
|
7
|
-
Classifier: Intended Audience :: Developers
|
|
8
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
-
Requires-Python: >=3.6
|
|
12
|
-
Description-Content-Type: text/markdown
|
|
13
|
-
Dynamic: author
|
|
14
|
-
Dynamic: author-email
|
|
15
|
-
Dynamic: classifier
|
|
16
|
-
Dynamic: description
|
|
17
|
-
Dynamic: description-content-type
|
|
18
|
-
Dynamic: requires-python
|
|
19
|
-
|
|
20
|
-
# Unknown Package (vUnknown Version)
|
|
21
|
-
|
|
22
|
-
No description available
|
|
23
|
-
|
|
24
|
-
## Installation
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
pip install Unknown Package
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Dependencies
|
|
31
|
-
|
|
32
|
-
None
|
|
33
|
-
|
|
34
|
-
## Modules
|
|
35
|
-
|
|
36
|
-
### src/abstract_math/safe_math.py
|
|
37
|
-
|
|
38
|
-
Description of script based on prompt: You are analyzing a Python script 'safe_math.py' l (mock response)
|
|
39
|
-
|
|
40
|
-
### src/abstract_math/__init__.py
|
|
41
|
-
|
|
42
|
-
Description of script based on prompt: You are analyzing a Python script '__init__.py' lo (mock response)
|
|
43
|
-
|
|
44
|
-
### src/abstract_math/derive_tokens.py
|
|
45
|
-
|
|
46
|
-
Description of script based on prompt: You are analyzing a Python script 'derive_tokens.p (mock response)
|
|
47
|
-
|
abstract_math-0.0.0.18/README.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Unknown Package (vUnknown Version)
|
|
2
|
-
|
|
3
|
-
No description available
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
pip install Unknown Package
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Dependencies
|
|
12
|
-
|
|
13
|
-
None
|
|
14
|
-
|
|
15
|
-
## Modules
|
|
16
|
-
|
|
17
|
-
### src/abstract_math/safe_math.py
|
|
18
|
-
|
|
19
|
-
Description of script based on prompt: You are analyzing a Python script 'safe_math.py' l (mock response)
|
|
20
|
-
|
|
21
|
-
### src/abstract_math/__init__.py
|
|
22
|
-
|
|
23
|
-
Description of script based on prompt: You are analyzing a Python script '__init__.py' lo (mock response)
|
|
24
|
-
|
|
25
|
-
### src/abstract_math/derive_tokens.py
|
|
26
|
-
|
|
27
|
-
Description of script based on prompt: You are analyzing a Python script 'derive_tokens.p (mock response)
|
|
28
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
from flask_utils import *
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/home/computron/Documents/pythonTools/modules/abstract_math/src/abstract_math/solar_math/flask_utils.py
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: abstract_math
|
|
3
|
-
Version: 0.0.0.18
|
|
4
|
-
Author: putkoff
|
|
5
|
-
Author-email: partners@abstractendeavors.com
|
|
6
|
-
Classifier: Development Status :: 3 - Alpha
|
|
7
|
-
Classifier: Intended Audience :: Developers
|
|
8
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
-
Requires-Python: >=3.6
|
|
12
|
-
Description-Content-Type: text/markdown
|
|
13
|
-
Dynamic: author
|
|
14
|
-
Dynamic: author-email
|
|
15
|
-
Dynamic: classifier
|
|
16
|
-
Dynamic: description
|
|
17
|
-
Dynamic: description-content-type
|
|
18
|
-
Dynamic: requires-python
|
|
19
|
-
|
|
20
|
-
# Unknown Package (vUnknown Version)
|
|
21
|
-
|
|
22
|
-
No description available
|
|
23
|
-
|
|
24
|
-
## Installation
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
pip install Unknown Package
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Dependencies
|
|
31
|
-
|
|
32
|
-
None
|
|
33
|
-
|
|
34
|
-
## Modules
|
|
35
|
-
|
|
36
|
-
### src/abstract_math/safe_math.py
|
|
37
|
-
|
|
38
|
-
Description of script based on prompt: You are analyzing a Python script 'safe_math.py' l (mock response)
|
|
39
|
-
|
|
40
|
-
### src/abstract_math/__init__.py
|
|
41
|
-
|
|
42
|
-
Description of script based on prompt: You are analyzing a Python script '__init__.py' lo (mock response)
|
|
43
|
-
|
|
44
|
-
### src/abstract_math/derive_tokens.py
|
|
45
|
-
|
|
46
|
-
Description of script based on prompt: You are analyzing a Python script 'derive_tokens.p (mock response)
|
|
47
|
-
|
|
File without changes
|
|
File without changes
|
{abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/flask_scripts/flask_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
{abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/flask_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
{abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/src/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math/solar_math/src/utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstract_math-0.0.0.18 → abstract_math-0.0.0.20}/src/abstract_math.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|