Skip to main content

Online Math Api Wrapper

Project description

WEBMATH

Online Math Calculator

Shoutout to BobDotCom#4428 for his help

My Discord

Bob's Discord

Instructions

Install:

pip install web-math

Information:

calculate() takes one required and one optional argument
calculate([TASK], [PRECISION])
TASK = str
PRECISION = int

Run Program:

# import webmath and asyncio
import asyncio
from web_math import webmath

# make def
async def bread():
    output = await webmath.calculate("3+3*3-sqrt(pi)", 4)
    print(output)

# run def
asyncio.run(bread())

OUTPUT:

# with 4 digit precision
10.23
# without digit precision
10.227546149094485

Ride the space skyway home to 80s Miami

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

web_math-1.2.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

web_math-1.2.0-py3-none-any.whl (3.5 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