Skip to main content

A better eval function, eg 2π = 2*math.pi

Project description

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

Change Log

0.0.2 (7/06/2023)

  • Fixed some bugs

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

utnamtte-0.0.2.tar.gz (4.2 MB view hashes)

Uploaded Source

Built Distribution

utnamtte-0.0.2-py3-none-any.whl (5.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