Skip to main content

Squiid Engine Python bindings

Project description

Squiid Engine Python Bindings

Python bindings for the engine portion of Squiid calculator. The engine is the portion of the calculator that actually does the math. This only understands RPN/postfix notation.

More documentation is coming soon, however the source code is strongly typed and well-documented.

Simple Demo:

import squiid_engine

e = squiid_engine.SquiidEngine()
# this accepts an RPN array
# if you want to accept algebraic input, you can use squiid-parser to accomplish this
res = e.execute_multiple_rpn(["3", "5", "7", "multiply", "add"])

# this should be called after each full expression is run
_ = e.update_previous_answer()

assert not res.has_error()

stack = e.get_stack()
assert stack[0].value == "38"
assert stack[0].bucket_type == squiid_engine.BucketTypes.FLOAT

This demo can also be found in this directory

Also see squiid-parser for parsing algebraic statements into RPN statements to be used in these bindings.

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

squiid_engine-0.1.1.tar.gz (29.9 kB view details)

Uploaded Source

Built Distributions

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

squiid_engine-0.1.1-cp313-cp313-win_amd64.whl (751.1 kB view details)

Uploaded CPython 3.13Windows x86-64

squiid_engine-0.1.1-cp313-cp313-win32.whl (751.1 kB view details)

Uploaded CPython 3.13Windows x86

squiid_engine-0.1.1-cp313-cp313-musllinux_1_2_x86_64.whl (952.1 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

squiid_engine-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (889.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

squiid_engine-0.1.1-cp313-cp313-macosx_11_0_arm64.whl (748.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

squiid_engine-0.1.1-cp312-cp312-win_amd64.whl (751.1 kB view details)

Uploaded CPython 3.12Windows x86-64

squiid_engine-0.1.1-cp312-cp312-win32.whl (751.1 kB view details)

Uploaded CPython 3.12Windows x86

squiid_engine-0.1.1-cp312-cp312-musllinux_1_2_x86_64.whl (952.1 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

squiid_engine-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (889.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

squiid_engine-0.1.1-cp312-cp312-macosx_11_0_arm64.whl (748.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

squiid_engine-0.1.1-cp311-cp311-win_amd64.whl (751.1 kB view details)

Uploaded CPython 3.11Windows x86-64

squiid_engine-0.1.1-cp311-cp311-win32.whl (751.1 kB view details)

Uploaded CPython 3.11Windows x86

squiid_engine-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl (952.1 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

squiid_engine-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (889.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

squiid_engine-0.1.1-cp311-cp311-macosx_11_0_arm64.whl (748.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

squiid_engine-0.1.1-cp310-cp310-win_amd64.whl (751.1 kB view details)

Uploaded CPython 3.10Windows x86-64

squiid_engine-0.1.1-cp310-cp310-win32.whl (751.1 kB view details)

Uploaded CPython 3.10Windows x86

squiid_engine-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl (952.1 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

squiid_engine-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (889.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

squiid_engine-0.1.1-cp310-cp310-macosx_11_0_arm64.whl (748.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file squiid_engine-0.1.1.tar.gz.

File metadata

  • Download URL: squiid_engine-0.1.1.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for squiid_engine-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2eab270f97a32c98d60b3222eeb227f1cace501b5b67efbc2095cdadd69c4445
MD5 1599c485dbac4ddf63c187b8514dec94
BLAKE2b-256 4f9078714b603e890fcca652a727e45c77a2bd479e1cc87ac075cea92a97a0cc

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d460323b7283eff81ee54f0c5486ff8ccfa7063c9a0d8b09b69713b2bd7d666f
MD5 4d9abd17a0c88e7057e861189cb90d52
BLAKE2b-256 213a24431d417eb04f6cccca1d19ddfb69cb0a2b9b881e1dd258ad185b9ae93b

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp313-cp313-win32.whl.

File metadata

  • Download URL: squiid_engine-0.1.1-cp313-cp313-win32.whl
  • Upload date:
  • Size: 751.1 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for squiid_engine-0.1.1-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 87048b7b089aeed6bde46fdc550a16d7cb8b579c194df3a44295851b0c8ad366
MD5 d4b6001d487794f6cf693f940bed49b3
BLAKE2b-256 95fd85ad8033750ad800ad0b221d355f2d562cb3abb585c32c6355896b6dbbc5

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c1c9006eaa05e6093e975c3121daa4ee56974e8c113c6d8258aac7a0de00d8a7
MD5 d869d073c6f442a4c86ee5917fde4c7d
BLAKE2b-256 d167c6bafa7e2ba4fa11d1041f19038054dcc98fd604aa03e9c7e94d4758ac3b

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0c04e9f4b73c200852f79546531524e54c364646c6ceab4cf4cc553f2c26c392
MD5 3a07e03de6a2cb75448572c430e77cbf
BLAKE2b-256 7b4667ad2d9dfd2eedf3794526f18da549000541d3ca7b8a0e58dd4a88ba23de

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5cbf27459c75d785bc55bbd681a3d9ebd34c61b91dcb4dfa0d76c9e5f7f609c6
MD5 fb495a39e84a73644cf163d628cd0b4b
BLAKE2b-256 327e19195412c40dcd9ba1ae00681e30035312536097c1543055afa5152407f2

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5a402e029eead02266dd0a14aa80a5c0f48edc6c28eab950eb5687be6c93a328
MD5 c439bf00641bff359f25eda9a1cd3f62
BLAKE2b-256 a39ae1e644176d27d76be8e6bf8bcba1626a4fa0fd8e6bd8bf5d6b8cd48a2983

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp312-cp312-win32.whl.

File metadata

  • Download URL: squiid_engine-0.1.1-cp312-cp312-win32.whl
  • Upload date:
  • Size: 751.1 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for squiid_engine-0.1.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 ea6370c40378a4d3238212c686b6bff83ff0a8120d327d39287bc6c74f360744
MD5 4265184d289786adf9fcc885c15c0dd1
BLAKE2b-256 e8b1819db60b5253cf9718545741fc5b077284246f55d2fb3ce1f95b48403bd9

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ae71eacb3aae2f7fb2f736d5f846fa2dc973cf50f983efe0be126ff02e7f41eb
MD5 09e8f16e3f2fef2e0193993898ad943c
BLAKE2b-256 5a62f01e102125e793dd5df7f6b9d522acc86e1e779d955294b0af2429b43ca2

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ffe5e8a661bd36bbbebf385de5f7144078e56a0d8e610324ae94bbb2bb437f4d
MD5 5978e14b632a763367b0a44e895231d5
BLAKE2b-256 124bbbf1f372c2d46455fa34b5bb4f47ed8d40877a3abd2c20c7d86313c1b96e

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 33d63f24fff333f706187ee68af60a3d71464cdc385b801e832c0e4ae1ef1cdc
MD5 4b3bea6f79288c25603be1ec64cd2cea
BLAKE2b-256 44407e9654e88eec9c50287b2927c2eca7eccf5d2d31c769c80f0c20fc9e9943

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 115fcf07d573d57bfd27732cc2652dbae38a0a295ba95ba51c03e25864dec37c
MD5 020046e69f295ca5c83997c4a41fdcb0
BLAKE2b-256 3239f1eafe3f78cad2c88d5d26e9c498e596da793a06e447954ac555ecbce359

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp311-cp311-win32.whl.

File metadata

  • Download URL: squiid_engine-0.1.1-cp311-cp311-win32.whl
  • Upload date:
  • Size: 751.1 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for squiid_engine-0.1.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 ea114509a61a3180aa129c3f74703f3677d72cd5f476b68bfafd49105eb4a2a8
MD5 1a18ce85aea4d8143747cde186a62d53
BLAKE2b-256 5942c82aa775967f951b4b7f724a7fce961caa638ff796c7924d4dcfea71afb6

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 72e941a58315bccad0dfa3e20dcc3c38acc8df20c5d7a17671c239cb7394d034
MD5 b98c11564b81654662ba47a98aa53d2e
BLAKE2b-256 97bd8cdba37fd3cc20c8354bb95b3e74053854b50dd11025c10714321d76cda2

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 286bbc795a9baa10254bce0358539077bad5004f0d5251d8585e6a901b7d90ba
MD5 2923dab6d3c80aa018dec1b44fd32875
BLAKE2b-256 fe3bf79cdfe50de89cec9a4a6c391ee18c1d40245b29a3a0639a845e615dc6c8

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f49eeab356cb00fd15258f2b4e7515bb4ca8c1d61b6962460843622932266082
MD5 5b6c7c7eff8087030be26b04a3104365
BLAKE2b-256 89c787830acd5e0c1719e8469c137d16c3f286a9fe6608c3019073c4a01a8ea7

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8984f93d455331becbcb61ad0e879bebe57f9c30ee9b0a71bb3085cf57093a60
MD5 99b569ffd98e9fad1d279b67abf18b22
BLAKE2b-256 1ea323a55fe2113381af5148cb79904e5c067758b7aa718556e810b384354ed9

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp310-cp310-win32.whl.

File metadata

  • Download URL: squiid_engine-0.1.1-cp310-cp310-win32.whl
  • Upload date:
  • Size: 751.1 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for squiid_engine-0.1.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 79f991349082c56e6f76c7b200eb2e705d3b1adc7960385b70551ccf898f89f5
MD5 2303e0a92ecd87d7d3dddf7b3d71de8f
BLAKE2b-256 f50a4c66085c4af658a6d154e42516fe412cf898c9b109abd537d38d16452f27

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6e9aa4ce56ece45c5aab3b2bfa140ee6351479d39bae6667bde0f63afa2486f8
MD5 4cdd23347a9cafb078b3b3e11876e95f
BLAKE2b-256 ced68dda54e5f81394b2438b30508ab424fc1c5e7158cdfc189da5d159aeb697

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a761bda718ffd9a754cf2a6e051ad3d4deec94ad2d1b5df9dc3192736f834cfc
MD5 134c1e343bac0003b60afa15102b4fef
BLAKE2b-256 f3627aba2273c530945177e0535c039cd913dd3daf1079905cc10fee6a62a246

See more details on using hashes here.

File details

Details for the file squiid_engine-0.1.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for squiid_engine-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6af7614a654b7dc4cb7ebbec339325fa4a5a521337de099806a2b53270c0d8c1
MD5 8f335a4eb687ff9faca933e2b5e7b129
BLAKE2b-256 b7521e417bda28c466ccf02ace6a918dca251540edaf79452f60e28901993f0a

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