gunthercox/mathparse

A Python library for evaluating natural language mathematical equations

63
/ 100
Established

This tool helps developers safely process mathematical equations written in plain language or standard notation, across more than 13 languages. It takes in a text string containing a mathematical expression, like "one hundred times fifty four" or "cinq plus trois", and outputs the calculated numeric result. It's designed for developers building applications such as chatbots, voice assistants, educational software, or secure calculators that need to interpret and solve user-provided math problems.

Used by 1 other package. Available on PyPI.

Use this if you are a developer building an application that needs to securely evaluate user-inputted mathematical expressions, especially if those expressions might be in natural language or multiple languages.

Not ideal if you need to evaluate complex scientific equations, symbolic math, or expressions that require graphing or advanced mathematical functions beyond basic arithmetic.

chatbot-development voice-assistant-logic educational-software secure-calculator multilingual-application
Maintenance 10 / 25
Adoption 9 / 25
Maturity 25 / 25
Community 19 / 25

How are scores calculated?

Stars

53

Forks

18

Language

Python

License

MIT

Category

nlp-rest-apis

Last pushed

Feb 12, 2026

Commits (30d)

0

Reverse dependents

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/gunthercox/mathparse"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.