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 details)

Uploaded Source

Built Distribution

web_math-1.2.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file web_math-1.2.0.tar.gz.

File metadata

  • Download URL: web_math-1.2.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for web_math-1.2.0.tar.gz
Algorithm Hash digest
SHA256 ce14c6971aecac247336dceeac756d96dfc2d42ee66735bb85f2ee0af0e9c0ad
MD5 a39cfff2cb6dcf698640663818082330
BLAKE2b-256 61b0f41856670b05c0488df87577a8230ecde3df313cfb91eadf90a4fd70a7a9

See more details on using hashes here.

File details

Details for the file web_math-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: web_math-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for web_math-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d00c5fb78855fe4d86bbfa5f3a7c5d67b43b696723ea4cc6f97e1b7b230cc14
MD5 d0ceb742fd13b94335f21e2e294b9aae
BLAKE2b-256 f500ab38e3f975ed23bba9975188cf85e8b949a418736c594cb86ecbaeb76886

See more details on using hashes here.

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