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 details)
Built Distribution
File details
Details for the file FormulaLab-0.1.0b0.tar.gz
.
File metadata
- Download URL: FormulaLab-0.1.0b0.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 | 751e269ba59a4c55435c5e4806e583b70c31b4dc8dd5d374ac5056888d258809 |
|
MD5 | aa2e26ead92efcb80cbca0beae252079 |
|
BLAKE2b-256 | a49c0dec5e8532e0b6cd99c3f4185fd7c8086313bc17967d3df20b25f18610db |
File details
Details for the file FormulaLab-0.1.0b0-py3-none-any.whl
.
File metadata
- Download URL: FormulaLab-0.1.0b0-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 | d863903f1b9834ad0a55fbf110d4e5b890802d027f635aa46eb55fa98a5036b1 |
|
MD5 | ab5808cdec941b6ee21a4f70b506a0f9 |
|
BLAKE2b-256 | fbdf48d0d3e7d70b125429a8dac1d7ccf609d9050f49229914c336ac790925ef |