Skip to main content

Mathematical expression calculator in Python

Project description

eval

Mathematical expression calculator in Python.

Usage

Read from a file:

$ cat text.txt
1**3+5
2**4**3
$ eval -f text.txt
6.0
15625.0

Command-line input:

$ eval 1 + 3**2 * 3
28.0

Interpreter:

$ eval

LICENSE

MIT

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

expression-parse-eval-0.13.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

expression_parse_eval-0.13.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file expression-parse-eval-0.13.0.tar.gz.

File metadata

  • Download URL: expression-parse-eval-0.13.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for expression-parse-eval-0.13.0.tar.gz
Algorithm Hash digest
SHA256 36dcf0f59a8c541fbedafef4955ecc0bfb33cc4353d7a2fd2d025455d867aeb2
MD5 6327e8f76fe011b884afbbbc5d172817
BLAKE2b-256 44e26d8218904d7e1042cc244addda909c5989ac44077c9d0b15ece46d44332a

See more details on using hashes here.

File details

Details for the file expression_parse_eval-0.13.0-py3-none-any.whl.

File metadata

File hashes

Hashes for expression_parse_eval-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 338731e23a629e8f4d3fff6eede401a510bfae91b74550409e543beba156fe39
MD5 1879d845f67baf1fceca1213afc8d9cb
BLAKE2b-256 7a5dfc3073fc1cacd70ec059ba205acf219743cce4771543a511a3dd9618c3f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page