numODEsolver 0.4__tar.gz → 0.4.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: numODEsolver
3
- Version: 0.4
3
+ Version: 0.4.3
4
4
  Summary: Tool that solves and plots ODE's numerically. Written in Python.
5
5
  Home-page: https://github.com/lukasnf/Numerical-ODE-Solver
6
6
  Classifier: Programming Language :: Python :: 3
@@ -10,7 +10,6 @@ Requires-Python: >=3.8
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  Requires-Dist: numpy
13
- Requires-Dist: matplotlib
14
13
  Requires-Dist: sympy
15
14
  Requires-Dist: scipy
16
15
 
@@ -33,7 +32,7 @@ from numODEsolver import solver
33
32
  import matplotlib.pyplot as plt #optional for plot
34
33
 
35
34
  solver = solver()
36
- f = solver.get_function("cos(x)") , f = solver.get_function("diff(y)")
35
+ f = solver.get_function("cos(x)")
37
36
  x,y = solver.solve_rk4(f,x0=0,y0=1,n=10000,bound=10.1)
38
37
  print(solver.get_value(x,y,val=10,dec=5)
39
38
  ```
@@ -41,7 +40,7 @@ print(solver.get_value(x,y,val=10,dec=5)
41
40
  # Version History
42
41
 
43
42
  - 8.12.2024 - v0.1 -> only 1st order ODE's are solvable, more features coming soon
44
- - 15.12.2024 - v0.2 -> security updates, removed plot function
43
+ - 15.12.2024 - v0.2 -> removed plot function
45
44
 
46
45
 
47
46
  ---
@@ -17,7 +17,7 @@ from numODEsolver import solver
17
17
  import matplotlib.pyplot as plt #optional for plot
18
18
 
19
19
  solver = solver()
20
- f = solver.get_function("cos(x)") , f = solver.get_function("diff(y)")
20
+ f = solver.get_function("cos(x)")
21
21
  x,y = solver.solve_rk4(f,x0=0,y0=1,n=10000,bound=10.1)
22
22
  print(solver.get_value(x,y,val=10,dec=5)
23
23
  ```
@@ -25,7 +25,7 @@ print(solver.get_value(x,y,val=10,dec=5)
25
25
  # Version History
26
26
 
27
27
  - 8.12.2024 - v0.1 -> only 1st order ODE's are solvable, more features coming soon
28
- - 15.12.2024 - v0.2 -> security updates, removed plot function
28
+ - 15.12.2024 - v0.2 -> removed plot function
29
29
 
30
30
 
31
31
  ---
@@ -6,7 +6,7 @@ class solver:
6
6
  # get_function() -> Takes a function of x and y as an input. Make sure to use correct python syntax and put everything in curved brackets.
7
7
  # --> Example: numODEsolver.get_function("x+y"), The diff.eq. would then be: y' = x+y and it will be numerically solved for y.
8
8
  def get_function(self,func):
9
- x,y = sp.symbols("x,y")
9
+ x,y = sp.symbols("x y")
10
10
  func = sp.sympify(func)
11
11
  f = sp.lambdify((x,y), func)
12
12
  return f
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: numODEsolver
3
- Version: 0.4
3
+ Version: 0.4.3
4
4
  Summary: Tool that solves and plots ODE's numerically. Written in Python.
5
5
  Home-page: https://github.com/lukasnf/Numerical-ODE-Solver
6
6
  Classifier: Programming Language :: Python :: 3
@@ -10,7 +10,6 @@ Requires-Python: >=3.8
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  Requires-Dist: numpy
13
- Requires-Dist: matplotlib
14
13
  Requires-Dist: sympy
15
14
  Requires-Dist: scipy
16
15
 
@@ -33,7 +32,7 @@ from numODEsolver import solver
33
32
  import matplotlib.pyplot as plt #optional for plot
34
33
 
35
34
  solver = solver()
36
- f = solver.get_function("cos(x)") , f = solver.get_function("diff(y)")
35
+ f = solver.get_function("cos(x)")
37
36
  x,y = solver.solve_rk4(f,x0=0,y0=1,n=10000,bound=10.1)
38
37
  print(solver.get_value(x,y,val=10,dec=5)
39
38
  ```
@@ -41,7 +40,7 @@ print(solver.get_value(x,y,val=10,dec=5)
41
40
  # Version History
42
41
 
43
42
  - 8.12.2024 - v0.1 -> only 1st order ODE's are solvable, more features coming soon
44
- - 15.12.2024 - v0.2 -> security updates, removed plot function
43
+ - 15.12.2024 - v0.2 -> removed plot function
45
44
 
46
45
 
47
46
  ---
@@ -1,4 +1,3 @@
1
1
  numpy
2
- matplotlib
3
2
  sympy
4
3
  scipy
@@ -8,13 +8,13 @@ classifiers = [
8
8
 
9
9
  setup(
10
10
  name="numODEsolver",
11
- version= "0.4",
11
+ version= "0.4.3",
12
12
  description= "Tool that solves and plots ODE's numerically. Written in Python.",
13
13
  long_description=open("README.md").read(),
14
14
  long_description_content_type="text/markdown",
15
15
  url="https://github.com/lukasnf/Numerical-ODE-Solver",
16
16
  packages = ["numODEsolver"],
17
- install_requires=["numpy","matplotlib","sympy","scipy"],
17
+ install_requires=["numpy","sympy","scipy"],
18
18
  classifiers=classifiers,
19
19
  python_requires=">=3.8",
20
20
 
File without changes
File without changes