Squiid Parser Python Bindings
Python bindings for the parser portion of Squiid calculator. The parser is used to convert algebraic/infix notation to postfix notation that the engine can evaluate.
More documentation is coming soon, however the source code is strongly typed and well-documented.
Simple Demo:
import squiid_parser
p = squiid_parser.SquiidParser()
result = p.parse("(3+5*7)")
assert result == ["3", "5", "7", "*", "+"]
# squiid currently doesn't support symbols, but rather commands
# iterate through the list and convert symbols to commands
for index, value in enumerate(result):
if value == "*":
result[index] = "multiply"
elif value == "+":
result[index] = "add"
elif value == "-":
result[index] = "subtract"
elif value == "/":
result[index] = "divide"
elif value == "^":
result[index] = "power"
elif value == "%":
result[index] = "mod"
assert result == ["3", "5", "7", "multiply", "add"]
# and now pass this array to the engine...
This demo can also be found in this directory
Also see squiid-engine for evaluating RPN expressions.
Metadata
Release files for squiid-parser 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| squiid_parser-0.4.0.tar.gz | 25.7 kB | Without provenance | Details for squiid_parser-0.4.0.tar.gz |
Built distributions (wheels)
Total release size: 3.5 MB
Release files / squiid_parser-0.4.0.tar.gz
| Download URL | squiid_parser-0.4.0.tar.gz |
|---|---|
| Size | 25.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99266c2afcbf752baeb1c9955e1d9c6a8c997d069513a9f462727deca72eb421
|
|
BLAKE2b-256 checksum How to use checksums |
98d475d6b46ae4679ef6de2430b2a5c5337d601ac30b6313a9881c199cd4cdb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp313-cp313-win_amd64.whl
| Download URL | squiid_parser-0.4.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 105.9 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9ad722218bf5b8591726dac86a097560f6dd9e25886349459ea0d3fc226fc79a
|
|
BLAKE2b-256 checksum How to use checksums |
35589ec27af22114c4b4b27a0374c40dc587c0cdfa60dc3e19cbab8e72135bc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp313-cp313-win32.whl
| Download URL | squiid_parser-0.4.0-cp313-cp313-win32.whl |
|---|---|
| Size | 105.9 kB |
| Tags | CPython 3.13 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
8016f5f26f530b635befd65973f9958a5fed3da1277ebe5880d478c24bd9039d
|
|
BLAKE2b-256 checksum How to use checksums |
10932139e002f3793f3ba321258c05b6f7500700e69ed463f26365752b094f15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | squiid_parser-0.4.0-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 272.5 kB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
e99068cad0a7e00eb4931635b7c6c9ff6d1d6891c25580cb200edb3f03a16ec9
|
|
BLAKE2b-256 checksum How to use checksums |
a0c99063db7c20aeab2d8030e23f9f9d2b5c7250e9d7743c1373ed8880519b79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | squiid_parser-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 210.4 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
bfcb0d33f630111eaead79d20f6daf9e946ec9e282f676cf979669f09e0887ba
|
|
BLAKE2b-256 checksum How to use checksums |
b119be5791c62530e402a5ed6f4250e6eb3aeb382fd6b8f5ceee2abc0962b7fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | squiid_parser-0.4.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 183.8 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c7a00537839f997f55f59755671ec8982aafa5776fce11266236a22ba3ee4c92
|
|
BLAKE2b-256 checksum How to use checksums |
d69df438cf9dace9d0e5ab92aa9de6002088f8d7a1bebad80fa0623fd7a35652
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp312-cp312-win_amd64.whl
| Download URL | squiid_parser-0.4.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 105.9 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9a965e94b794b4d48cbcc4cea3f44433aeb074135346b3e3ce92c5a81028a43e
|
|
BLAKE2b-256 checksum How to use checksums |
90bb545053f92ade66392c1dacf8a7ea2e34d194c910da41b5dab01753b83708
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp312-cp312-win32.whl
| Download URL | squiid_parser-0.4.0-cp312-cp312-win32.whl |
|---|---|
| Size | 105.9 kB |
| Tags | CPython 3.12 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
faad6c2cce4bc2bae71a1b94a30d8789e33d208875c87393aaf47fc7159f9f28
|
|
BLAKE2b-256 checksum How to use checksums |
b2b7ec5ce15aeac9f58ec557ae119e06270e2e8a5a6aef4689626ae820202156
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | squiid_parser-0.4.0-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 272.5 kB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
ada40bb4bbabd35effa352fbb46458f5d77e7e19cdc121b31be1370feb2c2823
|
|
BLAKE2b-256 checksum How to use checksums |
6cdd9ee51322926a650c8a8308b3aa7665cdd9c0b9a9031f58f7ebbec75ef7a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | squiid_parser-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 210.4 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
6501c222493dde1ef40f885b2c7d1d384e8328337862bb69ca9fc3729f1d96aa
|
|
BLAKE2b-256 checksum How to use checksums |
127e2845ac9bc300936d2eab6bd0a58fe3e6eb74e1a7e9aad7307e50a00122bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | squiid_parser-0.4.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 183.8 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
cffd3628598788030707f2a23c561d1d90a6726241b1102063b439045361599c
|
|
BLAKE2b-256 checksum How to use checksums |
41ac96bb5c37522d28149c9d3a11038adddf23b5d47c23590e393874236de78f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp311-cp311-win_amd64.whl
| Download URL | squiid_parser-0.4.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 105.9 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d787f5be1c61e35bab8c9d4a97fb6065565682c852a6ba18b2cd793799ffb558
|
|
BLAKE2b-256 checksum How to use checksums |
fcf38b364011f29a3c159b5ab112925dd68914c5abc90c9b550bac066a1e9d7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp311-cp311-win32.whl
| Download URL | squiid_parser-0.4.0-cp311-cp311-win32.whl |
|---|---|
| Size | 105.9 kB |
| Tags | CPython 3.11 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
a6909e6a69e7b01cd09ac19063f73f8a66c8d08172db86a5f58c3e8676a668d5
|
|
BLAKE2b-256 checksum How to use checksums |
4fce8ba99831c4eb51434b51200bebf55abe30cd96977114f36589e798545986
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | squiid_parser-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 272.5 kB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
59d8684b2a3da6d96394c029e583fbd20e20e7cbc3e81c37682da11d78c75ee0
|
|
BLAKE2b-256 checksum How to use checksums |
ecf8ece15782a51e2078f46790f5076becf954ce902bce86c3d5a3a9c300465e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | squiid_parser-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 210.4 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b23efb4abe2e274cac5f1cdba6175cf494fc6089111d0aad9e4ce5273dfa3066
|
|
BLAKE2b-256 checksum How to use checksums |
3499702c7893a10cc1b2fd8564462a6ad058138ab2cb741eef2e11932d8b3b24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | squiid_parser-0.4.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 183.8 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9b27ecc32fc14a656e5eafa55d83cb4e1a390d187caab0836c7e43a645d99b2a
|
|
BLAKE2b-256 checksum How to use checksums |
230c52ada3c029b61d1ec781dfc162cd89f895793263880f9a7aeee1b3eea67e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp310-cp310-win_amd64.whl
| Download URL | squiid_parser-0.4.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 105.9 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
887ff5649de7840f5cf23f7d48a2847d3b5fb7d1bc1649b9a9344245681cd58f
|
|
BLAKE2b-256 checksum How to use checksums |
d0aca283d546633444b4e802d72eae921d1f5c399224af04e4f0cfc141e564a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp310-cp310-win32.whl
| Download URL | squiid_parser-0.4.0-cp310-cp310-win32.whl |
|---|---|
| Size | 105.9 kB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
47a184e51f28a8810de55ed5770b180abc3ee4a219ba12754b033ff94e710c17
|
|
BLAKE2b-256 checksum How to use checksums |
02e27697b91dfd67beac093a11d3909b1abbd0b5efc03828eb19f23ef6c062cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | squiid_parser-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 272.5 kB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
20c2b45e7013afcc95573753987b1ea08860003f380db15259d69bef005001fb
|
|
BLAKE2b-256 checksum How to use checksums |
8668052aa2df1a817ac87278afb1766f4558debc33c1f5cb15d906199314cd2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | squiid_parser-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 210.4 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
643a758fee37d956008e1d4c1ee618965f0b3d08fca4f4ac5ed4b543ae5b6e84
|
|
BLAKE2b-256 checksum How to use checksums |
817e2a937ecc99a13fd600fdd22472ad9c3df3698fed7a181005b50df583e281
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / squiid_parser-0.4.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | squiid_parser-0.4.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 183.8 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8f533414c6028d533f4033beb123fd47855c9e80e9dc13c0c52903a789da9b56
|
|
BLAKE2b-256 checksum How to use checksums |
d7d9409a12ffc54927f20a00fb8ba365425bb5f6fa3c72fe015cc0df761f9938
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for squiid-parser 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.