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
Metadata
Release files for FormulaLab 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| FormulaLab-0.1.0.tar.gz | 11.3 kB | Without provenance | Details for FormulaLab-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FormulaLab-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for FormulaLab-0.1.0-py3-none-any.whl |
Total release size: 24.1 kB
Release files / FormulaLab-0.1.0.tar.gz
| Download URL | FormulaLab-0.1.0.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57cc9d7f49f981351f520b5781558981e97b90ff8c09f4ce4d68775c086bab18
|
|
BLAKE2b-256 checksum How to use checksums |
3795b301ad2d7659a2c8ac1fd3e652a8deda36b98a5d697bf31b774dd61b1cf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / FormulaLab-0.1.0-py3-none-any.whl
| Download URL | FormulaLab-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
704bf710bbfd6ecd4afbe8aeaf432cf2b7d3d1e81c43883d150d5cb9d07b2c74
|
|
BLAKE2b-256 checksum How to use checksums |
834eecea52d67c3a7dba902c2997fd992fa56572f13304af886f6de24d08a884
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for FormulaLab 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.