Skip to content

A simple module for mathematical calculations from a string consist of mathematical expressions.

License

Notifications You must be signed in to change notification settings

jestoy0514/jvparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JVParser

What is it?

JVParser is a python module created to be able to calculate mathematical expressions in form of a string like those of an eval function without importing any additional module.

Installation

Extract the archive and point to the location of setup.py and then execute the code below.

juan@juan-desktop:~/jvparser-1.3$ python3 setup.py install

How to use?

>>> from jvparser.jvparser import solveIt
>>> math_exp = '4+5*2-3'
>>> data = solveIt(math_exp)
>>> print(data)
11.0

License

Please find the license.txt file.

Contact

About

A simple module for mathematical calculations from a string consist of mathematical expressions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages