Skip to main content

Squiid Engine Python Bindings

codecov

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.

Release files for squiid-engine 0.4.0

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

Source distribution (sdist)

Source distribution for squiid-engine 0.4.0
File Size Uploaded
squiid_engine-0.4.0.tar.gz 40.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for squiid-engine 0.4.0
File
squiid_engine-0.4.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
squiid_engine-0.4.0-cp313-cp313-win32.whl CPython 3.13 CPython 3.13 Windows x86-32 Details
squiid_engine-0.4.0-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details
squiid_engine-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
squiid_engine-0.4.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
squiid_engine-0.4.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
squiid_engine-0.4.0-cp312-cp312-win32.whl CPython 3.12 CPython 3.12 Windows x86-32 Details
squiid_engine-0.4.0-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details
squiid_engine-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
squiid_engine-0.4.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
squiid_engine-0.4.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
squiid_engine-0.4.0-cp311-cp311-win32.whl CPython 3.11 CPython 3.11 Windows x86-32 Details
squiid_engine-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details
squiid_engine-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
squiid_engine-0.4.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
squiid_engine-0.4.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
squiid_engine-0.4.0-cp310-cp310-win32.whl CPython 3.10 CPython 3.10 Windows x86-32 Details
squiid_engine-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl CPython 3.10 CPython 3.10 Linux musl 1.2+ x86-64 Details
squiid_engine-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
squiid_engine-0.4.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 16.5 MB

Release files / squiid_engine-0.4.0.tar.gz

Download URL squiid_engine-0.4.0.tar.gz
Size 40.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a7d4289390685b6bb6e3c0f1256f1eab244638ce10a487386ce9542c9de5c394
BLAKE2b-256 checksum
How to use checksums
1132f84e2e7876cdbe1986753af64d537b9019eac5f42e57be47ae2eec6cfb17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp313-cp313-win_amd64.whl

Download URL squiid_engine-0.4.0-cp313-cp313-win_amd64.whl
Size 754.6 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
e2bbb33878247bcf8a2ec21898796db1aa7a07ed3e22d30d50018401432ce07e
BLAKE2b-256 checksum
How to use checksums
755d057b858430d571ebe51a64fd2b672d40fad50e112b35743a6cd6c60e2337
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp313-cp313-win32.whl

Download URL squiid_engine-0.4.0-cp313-cp313-win32.whl
Size 754.6 kB
Tags CPython 3.13 Windows x86-32
SHA-256 checksum
How to use checksums
0743f427dddd0846f135d1edad41955628b2b53478d57bd5ecf48a6f8552dd11
BLAKE2b-256 checksum
How to use checksums
7233f4b6a6c88e1b0dc50ec7f232ffde3df1cf594fbdd6e8ea9110b7c4c60013
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL squiid_engine-0.4.0-cp313-cp313-musllinux_1_2_x86_64.whl
Size 958.3 kB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
2e4ba9f336c26bb2c52691a5886c83cbc3f4bf155aa9d5c8a656dbfdee06e5ab
BLAKE2b-256 checksum
How to use checksums
57fee4ff796ff1e8edb7200bae9be8350a4b157ac54ad20236ba3cdf478616d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL squiid_engine-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 896.3 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
46f527b418c017caf07b8d3fe59d93691bf878869a0e3aad065d10a8edc1c106
BLAKE2b-256 checksum
How to use checksums
c6c3ef84ce80c096c09fb22bc5edc0e84ffad5c6efbf95bfcbcad0d3cff1d344
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL squiid_engine-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
Size 755.1 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
443652662cfaae99ea877d1dbb7cb880b0339a208315d41e02128fde8ee8ffe4
BLAKE2b-256 checksum
How to use checksums
bc59abffc81f492d4b36779dcda4c8608d9e770d07b0fd62cd5dcbe3852f8492
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp312-cp312-win_amd64.whl

Download URL squiid_engine-0.4.0-cp312-cp312-win_amd64.whl
Size 754.6 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
633dffd380e492b552feff21d4fe8a1873d47011de3500256bcbd6fdc25bad6c
BLAKE2b-256 checksum
How to use checksums
f3482f57a7f5f914517db5c2f4ce45309ccd25e0d7e898064f2d790941be7ac0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp312-cp312-win32.whl

Download URL squiid_engine-0.4.0-cp312-cp312-win32.whl
Size 754.6 kB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
8cae623a9bd1353d3b3851cce12319178fca6a964e3a08b72f824a4a1f796cb0
BLAKE2b-256 checksum
How to use checksums
84a3a08106b92ab67e10e6fceee7b9ee2cae5b8ce411ddca97f90a9ef084e6d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL squiid_engine-0.4.0-cp312-cp312-musllinux_1_2_x86_64.whl
Size 958.3 kB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
0bdaaa9b1465cd0c6cc69e0d79678c1191420e963792a880cc128d2793689413
BLAKE2b-256 checksum
How to use checksums
cbc242ebaa94781b6cad51bdbd9c95a5461052d59a014ca526e169dd77695dad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL squiid_engine-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 896.3 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5ec12b1d4ce82b5fbcc6e015d2fe4e1cea2a55655432ab7c814a59011dc863f3
BLAKE2b-256 checksum
How to use checksums
8208dceab3d61336aa56b1d4e2249349340f701d1907430e873b426c504aa629
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL squiid_engine-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Size 755.1 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8d3174d88b17c561634b4490450f49f9dea542db4f5f0ae1ea9ea7f666c3ae93
BLAKE2b-256 checksum
How to use checksums
bc617c2d309ec1c343572d9062bbca38107e99702721c7b0057fd793431d6484
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp311-cp311-win_amd64.whl

Download URL squiid_engine-0.4.0-cp311-cp311-win_amd64.whl
Size 754.6 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
1d54f0764cd801149bee79f4fe847a84377b9a8057e0f7f0bbb8c9f181999895
BLAKE2b-256 checksum
How to use checksums
14fc6927a161ff6dba7c409634aa90bfb324da6db08e95ff3b428ac00e0fd3ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp311-cp311-win32.whl

Download URL squiid_engine-0.4.0-cp311-cp311-win32.whl
Size 754.6 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
c922021b6a66be0809ea07c6ffb18e3cbf42230764175a9d7185563943bd83dc
BLAKE2b-256 checksum
How to use checksums
1aa99c0c82679c29e125a63cafe726d4925fba8d8d771a422f5c6bb77826e837
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL squiid_engine-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl
Size 958.3 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
95285a81e86cb623026c5e089b76320e590241a35eaa781ecc9b0d15aed954ba
BLAKE2b-256 checksum
How to use checksums
8a186d471805b8eafcd5415a19b25347b7f7169447e7adc94a936aaa57a4d3c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL squiid_engine-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 896.3 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
cb8a8ecc717428b2365c65a7990116fc658c7cc0adda75435d7f272f65597b29
BLAKE2b-256 checksum
How to use checksums
4d1b147659a16f57644a890fb866931f9e449fbd508522c270c7207b392775e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL squiid_engine-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
Size 755.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1f9e59f00eaf377cb5d889a9a92c94f68e3e3c34ad429df383306b0294b3724c
BLAKE2b-256 checksum
How to use checksums
bd6eb9cd03718694a4f0796826135497f5b667c430a1313d98df834f659d0c07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp310-cp310-win_amd64.whl

Download URL squiid_engine-0.4.0-cp310-cp310-win_amd64.whl
Size 754.6 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
5acb16af87c734a9fe9c2a4f69505010098eea6da3f27489966a027a629143fd
BLAKE2b-256 checksum
How to use checksums
e84d9dca27abef25a3020180f9359599f2a50f9a04237b3e38982b4a472d948f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp310-cp310-win32.whl

Download URL squiid_engine-0.4.0-cp310-cp310-win32.whl
Size 754.6 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
cb08e7e7a92608bd2bb084d56b8aeccf2004a6697573aff71da4062bf176e042
BLAKE2b-256 checksum
How to use checksums
43b48d273250cf1e12737c9c2e09ac568b80c3e68dd1e6771bb9df40cd51e6aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl

Download URL squiid_engine-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl
Size 958.3 kB
Tags CPython 3.10 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
7ba0f3a5002e9f0c72e058eb030862ea58e93af066ea646d81e1f392cad5beec
BLAKE2b-256 checksum
How to use checksums
762944b639e2715e26debc54bcbb231b5eb006e2ad6dd33c3e66d83d39f1009d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL squiid_engine-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 896.3 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
39903affae7625bd3b09135a18bb9cca4bd08dc987470f8a46ae591b9ae1f4ff
BLAKE2b-256 checksum
How to use checksums
f6d65c11ce128bd52719c54de6f3e4d33a5ce889357edbede80f4bbddd2a6fa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / squiid_engine-0.4.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL squiid_engine-0.4.0-cp310-cp310-macosx_11_0_arm64.whl
Size 755.1 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
335a72404951de99b433678ed695c613e8c1aadddd0624d62edf821f3179e127
BLAKE2b-256 checksum
How to use checksums
13bddd833dc157d256cfdf1962ba607cbb9d70bbb3036bf507e0e6aef436a3e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.4.0 This release

21 release files

0.3.0

21 release files

0.2.0

21 release files

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