Name | formulite JSON |
Version |
0.0.5
JSON |
| download |
home_page | None |
Summary | Simple Formula Parser |
upload_time | 2024-08-29 02:24:24 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | None |
keywords |
formula
formulite
parser
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# formulite
## Simple formula parser
<img src="https://raw.githubusercontent.com/Tom-game-project/formulite/e540bf0dc3b6858d99d71d20f7df76028be8419b/icon/formulite.svg">
FormuLite is the simple formula parser.
## INSTALL
```bash
pip install formulite
```
## HOW TO USE
```python
from formulite import parser
text="f(x)+g(x,y,z)*5"
par = parser(text)
print(
par.resolve()
)
# polish notation
# return <function name>[<args>,[,]]
# return +[f['x'], *[g['x', 'y', 'z'], '5']]
```
## LICENSE
[MIT](https://github.com/Tom-game-project/formulite/blob/master/LICENSE.MIT)
Raw data
{
"_id": null,
"home_page": null,
"name": "formulite",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "formula, formulite, parser",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/96/0f/b7211063961358fa32cd436e3ec9a8791fd7832d0a0305b7bbdceff926c8/formulite-0.0.5.tar.gz",
"platform": null,
"description": "# formulite\n\n## Simple formula parser\n\n<img src=\"https://raw.githubusercontent.com/Tom-game-project/formulite/e540bf0dc3b6858d99d71d20f7df76028be8419b/icon/formulite.svg\">\n\nFormuLite is the simple formula parser.\n\n## INSTALL\n\n```bash\npip install formulite\n```\n\n## HOW TO USE\n\n```python\nfrom formulite import parser\n\ntext=\"f(x)+g(x,y,z)*5\"\n\npar = parser(text)\nprint(\n par.resolve()\n)\n\n# polish notation\n# return <function name>[<args>,[,]]\n# return +[f['x'], *[g['x', 'y', 'z'], '5']]\n\n```\n\n## LICENSE\n\n[MIT](https://github.com/Tom-game-project/formulite/blob/master/LICENSE.MIT)\n",
"bugtrack_url": null,
"license": null,
"summary": "Simple Formula Parser",
"version": "0.0.5",
"project_urls": {
"Repository": "https://github.com/Tom-game-project/formulite"
},
"split_keywords": [
"formula",
" formulite",
" parser"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "67f2817421996092f6016f3fb97b2d07d5f5def984a8e86b8f7e232aa4570326",
"md5": "3cec494d852598b46f84d9152e5c33c7",
"sha256": "16c739da3d2af0411b1559719c48757375af51e9a6a5da78fd3ef2e893035bc2"
},
"downloads": -1,
"filename": "formulite-0.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3cec494d852598b46f84d9152e5c33c7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 7236,
"upload_time": "2024-08-29T02:24:22",
"upload_time_iso_8601": "2024-08-29T02:24:22.120436Z",
"url": "https://files.pythonhosted.org/packages/67/f2/817421996092f6016f3fb97b2d07d5f5def984a8e86b8f7e232aa4570326/formulite-0.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "960fb7211063961358fa32cd436e3ec9a8791fd7832d0a0305b7bbdceff926c8",
"md5": "62d70c50c8d6c77606b1df6946c83807",
"sha256": "f27bfc8f7103e2f1adefba93ec96ce90d1c4349eb8e2981014df49fd2d8358c1"
},
"downloads": -1,
"filename": "formulite-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "62d70c50c8d6c77606b1df6946c83807",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 309773,
"upload_time": "2024-08-29T02:24:24",
"upload_time_iso_8601": "2024-08-29T02:24:24.860746Z",
"url": "https://files.pythonhosted.org/packages/96/0f/b7211063961358fa32cd436e3ec9a8791fd7832d0a0305b7bbdceff926c8/formulite-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-29 02:24:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Tom-game-project",
"github_project": "formulite",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "formulite"
}