Skip to main content

How to Use:

After importing ‘mathfuncs_parse’, create a ‘mathfuncs_parse.func(expr: str)’ object.

Available Member Functions:

  • valid() -> bool Checks whether the expression is syntactically correct.

  • eval() -> float Evaluates the expression. Note: only works if no variables are present.

  • eval(vars: dict{str: float|int}) -> float Evaluates the expression, substituting the variables present with the values passed in the dict.

  • vars() -> dict{str: float} Returns a dict containing all variables that must be passed to eval().

  • add_func(name: str, func: <functionObj(float) -> float>) -> Null Adds a user-defined function to the object’s internal state. Note: calling ‘init(str)’ does not reset this.

  • avail_funcs() -> dict{str: <functionObj>} Returns a dict of available functions which can be used in the current expression.

Release Note (1.1.3):

  • Updated compiler flag detection for building source wheels on most platforms

  • Small bug fixes for greater cross-platform compatibility

Release files for mathfuncs-parse 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mathfuncs-parse 1.1.4
File Size Uploaded
mathfuncs-parse-1.1.4.tar.gz 181.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mathfuncs-parse 1.1.4
File Interpreter ABI Platform
mathfuncs_parse-1.1.4-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details

Total release size: 272.7 kB

Release files / mathfuncs-parse-1.1.4.tar.gz

Download URL mathfuncs-parse-1.1.4.tar.gz
Size 181.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9c7f2b029301b616e47d2d8cf5b2ea9346b3f0d4737de9e39e58306bc05a3151
BLAKE2b-256 checksum
How to use checksums
823ccee1a611219766499dcbe15ea824967439fa4cda4cfd98244c1a7f43d63c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / mathfuncs_parse-1.1.4-cp311-cp311-win_amd64.whl

Download URL mathfuncs_parse-1.1.4-cp311-cp311-win_amd64.whl
Size 90.9 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
6168754b50bb64eacc430ceb3e426f1c7c5831383755d9aa608f8c4d884b59df
BLAKE2b-256 checksum
How to use checksums
78981bc05fcec3ba1c8e3cb8116f5e8ca46c93907ebc20181d6c92ff09141429
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

1.1.4 This release

2 release files

1.1.3

1 release file

1.1.2

2 release files

1.1.1

1 release file

1.1.0

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page