marksfuncs 0.1__tar.gz → 0.2__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.
- {marksfuncs-0.1 → marksfuncs-0.2}/PKG-INFO +13 -15
- {marksfuncs-0.1 → marksfuncs-0.2}/README.md +11 -14
- {marksfuncs-0.1 → marksfuncs-0.2}/marksfuncs/functions.py +755 -277
- {marksfuncs-0.1 → marksfuncs-0.2}/marksfuncs.egg-info/PKG-INFO +13 -15
- {marksfuncs-0.1 → marksfuncs-0.2}/setup.py +2 -1
- {marksfuncs-0.1 → marksfuncs-0.2}/LICENSE.txt +0 -0
- {marksfuncs-0.1 → marksfuncs-0.2}/marksfuncs/__init__.py +0 -0
- {marksfuncs-0.1 → marksfuncs-0.2}/marksfuncs.egg-info/SOURCES.txt +0 -0
- {marksfuncs-0.1 → marksfuncs-0.2}/marksfuncs.egg-info/dependency_links.txt +0 -0
- {marksfuncs-0.1 → marksfuncs-0.2}/marksfuncs.egg-info/requires.txt +0 -0
- {marksfuncs-0.1 → marksfuncs-0.2}/marksfuncs.egg-info/top_level.txt +0 -0
- {marksfuncs-0.1 → marksfuncs-0.2}/setup.cfg +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: marksfuncs
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2
|
|
4
4
|
Summary: Graph many mathematical functions
|
|
5
|
+
Home-page: https://github.com/marc1fino/marksfuncs
|
|
5
6
|
Author: mark. (Marc Pérez)
|
|
6
7
|
Author-email: <marcperezcarrasco2010@gmail.com>
|
|
7
8
|
License: MIT
|
|
@@ -25,29 +26,26 @@ Developed by Marc Pérez (c) 2024
|
|
|
25
26
|
|
|
26
27
|
## Examples of How To Use
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
Show A Grafic
|
|
29
30
|
|
|
30
31
|
```python
|
|
31
|
-
from marksfuncs import
|
|
32
|
-
|
|
33
|
-
# For Printing Parameters In Console
|
|
34
|
-
print(Linear())
|
|
32
|
+
from marksfuncs import Exponential
|
|
35
33
|
|
|
36
|
-
|
|
37
|
-
message = "I like bananas "
|
|
38
|
-
print(message+Linear())
|
|
34
|
+
Exponential(a=4, b=2, x_values_list=[-5, 5, 100])
|
|
39
35
|
```
|
|
40
36
|
|
|
41
|
-
|
|
37
|
+
Convert The Grafic to a Image
|
|
42
38
|
|
|
43
39
|
```python
|
|
44
|
-
from marksfuncs import
|
|
40
|
+
from marksfuncs import Linear
|
|
41
|
+
from PIL import Image
|
|
45
42
|
|
|
46
|
-
#
|
|
47
|
-
|
|
43
|
+
# Create An Io Img Bytes
|
|
44
|
+
img_buffer = Linear(m=3, b=5, x_values_list=[-5, 5, 100]).image()
|
|
48
45
|
|
|
49
|
-
#
|
|
50
|
-
|
|
46
|
+
# Will Show The Function Grafic As A Png File
|
|
47
|
+
img = Image.open(img_buffer)
|
|
48
|
+
img.show(title="Grafic Image")
|
|
51
49
|
```
|
|
52
50
|
|
|
53
51
|
Graphics Explanation
|
|
@@ -6,29 +6,26 @@ Developed by Marc Pérez (c) 2024
|
|
|
6
6
|
|
|
7
7
|
## Examples of How To Use
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Show A Grafic
|
|
10
10
|
|
|
11
11
|
```python
|
|
12
|
-
from marksfuncs import
|
|
13
|
-
|
|
14
|
-
# For Printing Parameters In Console
|
|
15
|
-
print(Linear())
|
|
12
|
+
from marksfuncs import Exponential
|
|
16
13
|
|
|
17
|
-
|
|
18
|
-
message = "I like bananas "
|
|
19
|
-
print(message+Linear())
|
|
14
|
+
Exponential(a=4, b=2, x_values_list=[-5, 5, 100])
|
|
20
15
|
```
|
|
21
16
|
|
|
22
|
-
|
|
17
|
+
Convert The Grafic to a Image
|
|
23
18
|
|
|
24
19
|
```python
|
|
25
|
-
from marksfuncs import
|
|
20
|
+
from marksfuncs import Linear
|
|
21
|
+
from PIL import Image
|
|
26
22
|
|
|
27
|
-
#
|
|
28
|
-
|
|
23
|
+
# Create An Io Img Bytes
|
|
24
|
+
img_buffer = Linear(m=3, b=5, x_values_list=[-5, 5, 100]).image()
|
|
29
25
|
|
|
30
|
-
#
|
|
31
|
-
|
|
26
|
+
# Will Show The Function Grafic As A Png File
|
|
27
|
+
img = Image.open(img_buffer)
|
|
28
|
+
img.show(title="Grafic Image")
|
|
32
29
|
```
|
|
33
30
|
|
|
34
31
|
Graphics Explanation
|