This is a convertor that takes normal mathematical text expressions as String inputs (eg. "2+ln2√π) and return the expression as it would be written in python (2+(math.log(2))*(math.sqrt(math.pi))
To do so
pip install utnamtte
-----------------------#Method 1---------------------------------
import utnamtte
print(utnamtte.tte("2+ln2"))
------------------------#Method 2----------------------------------
from utnamtte import tte
print(tte("2+ln2"))
------------------------#Method 3---------------------------------
from utnamtte import tte as xy
print(xy("2+ln2"))
watch tutorial on youtube https://bit.ly/ytutnamtte
Change Log
==========
0.0.2 (7/06/2023)
------------------
- Fixed some bugs
Raw data
{
"_id": null,
"home_page": "https://github.com/utkarsh-naman/MATEX",
"name": "utnamtte",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "tte eval calculator text-to-expression utnamtte",
"author": "Utkarsh Naman",
"author_email": "its.utnam@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/78/24/fd7df663dec6cff7302e1ec5f57399925c827bf7d8d9bf0a8c87567c8b65/utnamtte-0.0.2.tar.gz",
"platform": null,
"description": "This is a convertor that takes normal mathematical text expressions as String inputs (eg. \"2+ln2\u221a\u03c0) and return the expression as it would be written in python (2+(math.log(2))*(math.sqrt(math.pi))\n\n To do so\n\n\npip install utnamtte\n\n\n\n-----------------------#Method 1---------------------------------\n\nimport utnamtte\nprint(utnamtte.tte(\"2+ln2\"))\n\n\n\n------------------------#Method 2----------------------------------\n\nfrom utnamtte import tte\nprint(tte(\"2+ln2\"))\n\n\n\n------------------------#Method 3---------------------------------\n\nfrom utnamtte import tte as xy\nprint(xy(\"2+ln2\"))\n\n\nwatch tutorial on youtube https://bit.ly/ytutnamtte\n\nChange Log\n==========\n\n0.0.2 (7/06/2023)\n------------------\n- Fixed some bugs\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A better eval function, eg 2\u03c0 = 2*math.pi",
"version": "0.0.2",
"project_urls": {
"Homepage": "https://github.com/utkarsh-naman/MATEX"
},
"split_keywords": [
"tte",
"eval",
"calculator",
"text-to-expression",
"utnamtte"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7824fd7df663dec6cff7302e1ec5f57399925c827bf7d8d9bf0a8c87567c8b65",
"md5": "89ebed15a8949eb5a80f7e4e5261c08f",
"sha256": "d5721b43c1fa5009974a35c540d5d766630d9ea520efbc962a6f378d96500a37"
},
"downloads": -1,
"filename": "utnamtte-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "89ebed15a8949eb5a80f7e4e5261c08f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4152022,
"upload_time": "2023-06-07T04:26:02",
"upload_time_iso_8601": "2023-06-07T04:26:02.186355Z",
"url": "https://files.pythonhosted.org/packages/78/24/fd7df663dec6cff7302e1ec5f57399925c827bf7d8d9bf0a8c87567c8b65/utnamtte-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-07 04:26:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "utkarsh-naman",
"github_project": "MATEX",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "utnamtte"
}