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.0.tar.gz
(11.3 kB
view details)
Built Distribution
File details
Details for the file FormulaLab-0.1.0.tar.gz
.
File metadata
- Download URL: FormulaLab-0.1.0.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57cc9d7f49f981351f520b5781558981e97b90ff8c09f4ce4d68775c086bab18 |
|
MD5 | 6007f0e583059a89245fa454976598f0 |
|
BLAKE2b-256 | 3795b301ad2d7659a2c8ac1fd3e652a8deda36b98a5d697bf31b774dd61b1cf5 |
File details
Details for the file FormulaLab-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: FormulaLab-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 704bf710bbfd6ecd4afbe8aeaf432cf2b7d3d1e81c43883d150d5cb9d07b2c74 |
|
MD5 | 586d40e3db49f4445f9ecf3c69392f55 |
|
BLAKE2b-256 | 834eecea52d67c3a7dba902c2997fd992fa56572f13304af886f6de24d08a884 |