Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

FormulaLab-0.1.0-py3-none-any.whl (12.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page