Search Engine of Mathmatical Formulas Database
Project description
FormulaLab
FormulaLab is a package that allows you to derive new formulas, search in formulas database, and mange your formulas database to connect it effeciently to your project code.
Installation
FormulaLab depends on:
- python +3.4
- Sympy
- Pandas
To install FormulaLab:
$ pip install FormulaLab
Usages
>>> import FormulaLab as fl
>>> Physics_formulas = ['F = m * a', 'v = a * t']
>>> phy_search = fl.FormulaSearch(data=Physics_formulas)
# Now say you want to derive F as a function of t
>>> Force = phy_search.derive('F', 't')
>>> Force
[m*v/t]
# Now you want to convert it to a python function
>>> Force_py = fl.function(Force)
>>> Force_py(m = 2, v = 3, t = 2)
3.0
# Now you want to find the the value of "t" in a direct search (no subtitution)
>>> phy_search.find('t')
[v/a]
>>> phy_search.find('a')
[F/m, v/t]
# What if you want "a" as a function of "t" and "v", only in a direct search:
>>> phy_search.find('a', ['t','v']) # Also you can say here: phy_search.get('a', 't')
[v/t]
Tutorals and documentations
visit FormulaLab
Author
Abdulaziz Alqasem
Aziz_Alqasem@hotmail.com
References
FormulLab is bult upon SymPy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FormulaLab-0.1.0b0.tar.gz
(11.3 kB
view hashes)
Built Distribution
Close
Hashes for FormulaLab-0.1.0b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d863903f1b9834ad0a55fbf110d4e5b890802d027f635aa46eb55fa98a5036b1 |
|
MD5 | ab5808cdec941b6ee21a4f70b506a0f9 |
|
BLAKE2b-256 | fbdf48d0d3e7d70b125429a8dac1d7ccf609d9050f49229914c336ac790925ef |