Skip to main content

MiraScript

MiraScript 是 CloudPSS 维护的表达式优先脚本语言项目。Python 绑定用于在 Python 中调用 MiraScript 编译器能力,支持脚本编译与执行。

安装

pip install mirascript

快速开始

命令行执行:

mirascript -v x=1.3 -e "sin(x) + cos(PI - x)"

在 Python 代码中执行:

from mirascript import compile

script, diagnostics = compile("sin(x) + cos(PI - x)")
result = script({"x": 1.3})

本地开发

初始化环境:

uv sync
uv run poe init

运行测试与检查:

uv run poe test
uv run poe check

格式化代码:

uv run poe format

调试入口(生成 debug_output.py):

uv run poe debug

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mirascript-0.1.85.tar.gz (204.5 kB view details)

Uploaded Source

Built Distributions

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

mirascript-0.1.85-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl (767.4 kB view details)

Uploaded CPython 3.15CPython 3.15+musllinux: musl 1.2+ x86-64

mirascript-0.1.85-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl (729.4 kB view details)

Uploaded CPython 3.15CPython 3.15+musllinux: musl 1.2+ ARM64

mirascript-0.1.85-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl (544.2 kB view details)

Uploaded CPython 3.15CPython 3.15+manylinux: glibc 2.28+ ARM64

mirascript-0.1.85-cp315-abi3.abi3t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (555.7 kB view details)

Uploaded CPython 3.15CPython 3.15+manylinux: glibc 2.17+ x86-64

mirascript-0.1.85-cp314-cp314t-win_arm64.whl (476.3 kB view details)

Uploaded CPython 3.14tWindows ARM64

mirascript-0.1.85-cp314-cp314t-win_amd64.whl (503.3 kB view details)

Uploaded CPython 3.14tWindows x86-64

mirascript-0.1.85-cp314-cp314t-macosx_11_0_arm64.whl (515.3 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

mirascript-0.1.85-cp314-cp314t-macosx_10_12_x86_64.whl (532.3 kB view details)

Uploaded CPython 3.14tmacOS 10.12+ x86-64

mirascript-0.1.85-cp38-abi3-win_arm64.whl (484.2 kB view details)

Uploaded CPython 3.8+Windows ARM64

mirascript-0.1.85-cp38-abi3-win_amd64.whl (511.6 kB view details)

Uploaded CPython 3.8+Windows x86-64

mirascript-0.1.85-cp38-abi3-pyemscripten_2026_0_wasm32.whl (256.4 kB view details)

Uploaded CPython 3.8+PyEmscripten 2026.0 wasm32

mirascript-0.1.85-cp38-abi3-musllinux_1_2_x86_64.whl (774.9 kB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

mirascript-0.1.85-cp38-abi3-musllinux_1_2_aarch64.whl (738.6 kB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

mirascript-0.1.85-cp38-abi3-manylinux_2_28_aarch64.whl (550.4 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

mirascript-0.1.85-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (562.7 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

mirascript-0.1.85-cp38-abi3-macosx_11_0_arm64.whl (525.4 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

mirascript-0.1.85-cp38-abi3-macosx_10_12_x86_64.whl (538.6 kB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file mirascript-0.1.85.tar.gz.

File metadata

  • Download URL: mirascript-0.1.85.tar.gz
  • Upload date:
  • Size: 204.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mirascript-0.1.85.tar.gz
Algorithm Hash digest
SHA256 9b03fbe22c0e9ecde9c66864fc467fd85039b0815396e5a883ab39f628243bd2
MD5 fb0079290a3652295be4ae1fd19b1858
BLAKE2b-256 8d4b65fe99bae04d3f5baa47800338b7775b993ba79b9de29f7c3054ec322dc4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85.tar.gz:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4d529079cfbf33a81157d5ac1953d3e978f16448b4e62263695db3d061fff28a
MD5 fa6ffe4112252a05f8404116872bfd86
BLAKE2b-256 3c25ef69a3b975dda9fa6018152a701920efa0efac3ab4c1df335491019a946b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ef45cef8057f22539b56be94063740f6f93c2e8e5144fe4dca8a2050032bb05c
MD5 be5b48cda2e7a4bbc870e44f0d5c6a12
BLAKE2b-256 eede0999c2799d9166521b4a24304bbf6241cb5339b90d4aaf7c45d38849418d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1b621ce74955e7e298568cd6338d510897d0f316e7d03d8c67f58fd8daa1074c
MD5 59484bb867d433ab86107baae196f7c9
BLAKE2b-256 61d9a3a7dc8cef33bee4c1ccca4d0131c516ccda9499b33001c8e5ae7e0e5dd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp315-abi3.abi3t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp315-abi3.abi3t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 84a344fa1fdde27bd29fd7278009c0f187285f7fc5ce2e5ab9f1e8882faf4e77
MD5 d8e9da9c72f6bf2571345117af143a73
BLAKE2b-256 2f91a6456087621b4fb9c8d7ba44e7ed86eaf8c96b1529c104285cad7a7957a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp315-abi3.abi3t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp314-cp314t-win_arm64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 de00811d33f0e0baf852c65fbdd8e588a505ddbdb69bc29099736db6e707a408
MD5 1bb55b51b32f2082beb544bc56335a09
BLAKE2b-256 300906287fdd31b8ba75dff495e0c10634ad6c718ff19d6613dda1f2c64e5fcf

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp314-cp314t-win_arm64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 a09e1343c6663f740f61d2684a612281f7450351f16806bcf7c4b48bc5105eac
MD5 ff7e64df9853b91048f175792709d686
BLAKE2b-256 aa92ae6a63d57eb71dae04651980dd99149007a939c0b9277276e8676fd93fea

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp314-cp314t-win_amd64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df45ee43c57cbe9a6d6803fb0b4efe8bb9f2e845e38ca423b4c7be10d1850f1c
MD5 b3c224e39bde733690fc020c7915323e
BLAKE2b-256 e66a0dc0bc0e231fda45f84ad3e7fe18dd4174a235b7f60f238f218d3a06d787

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp314-cp314t-macosx_11_0_arm64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp314-cp314t-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp314-cp314t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d17a88eb4326efb8ac16a935a06b80d2e898d23b902cacb72ed484444303c279
MD5 e415cb5b73f7f4ac6b9a1748e8984f6b
BLAKE2b-256 06808a80c56e5199ca718ebdc3c7267bee2c6896c74814e522a6bda5c3c25bbf

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp314-cp314t-macosx_10_12_x86_64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp38-abi3-win_arm64.whl.

File metadata

  • Download URL: mirascript-0.1.85-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 484.2 kB
  • Tags: CPython 3.8+, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mirascript-0.1.85-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 0983322d289192d3e078ad854a664021ed3d87327c4c88c6d3b4cee3e58832c8
MD5 f9be4adb0166136be6462d933bc67b90
BLAKE2b-256 858c0b08818b7d94ff70a8d647252732741c5a3ecc37f39b50dec4ee9f6e5a1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp38-abi3-win_arm64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: mirascript-0.1.85-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 511.6 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mirascript-0.1.85-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 101e726c3a03186911dba61cfd617286b2dd686048f69b36917d333f84689aaf
MD5 b87d43d89ff56c8eaeac4d2c595342f0
BLAKE2b-256 c3f4fa1882c253a7f4f6614cd82d34b68ec4b3f0ecb7d187cfedfa9d0c0790a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp38-abi3-win_amd64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp38-abi3-pyemscripten_2026_0_wasm32.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp38-abi3-pyemscripten_2026_0_wasm32.whl
Algorithm Hash digest
SHA256 1412b3fa872fcac5a2cdc88636e528642fcee1284cedb48642c6efc19e9b5ef4
MD5 103b1fd823e44df446031098cae390d3
BLAKE2b-256 52667f1cc6aedf4914dca30fb7003b86adf8b9cfeba3eaf1ed2c71ac2ca90f65

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp38-abi3-pyemscripten_2026_0_wasm32.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2773c51f23ff4b73ce7f6b8c2e5c7b4134f777e7f7664077379dbcc039bcd370
MD5 327dba93d7efda2e7ab5fa8e6a156c69
BLAKE2b-256 62651975507001f88c5acba34c0240889b0f98a5c4f360ea118d34b9b5440f04

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp38-abi3-musllinux_1_2_x86_64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d86859428bf53a737fcec346c281da0e48f97ad3db97453862ed249159749cde
MD5 4d61e443dbd63eb2ee94d54bd2d9d5a1
BLAKE2b-256 d97f5846db53a6080b3356b7c04d1e6b58267b75e5cbe732c6be0bee9c9a5d07

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp38-abi3-musllinux_1_2_aarch64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c0f28215f730010f62108af054e0f2c08b3058b729cb171d772125aa5533909e
MD5 d3122b613241b4faa573c6bb109b0597
BLAKE2b-256 ddcae97787f0efb39fa855f2c4d942d3bcd587b60e8fcad52c10399bb6bd3529

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp38-abi3-manylinux_2_28_aarch64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 32cd4b47acdc62ac157cee55d97a47b501cfe6e4b494bdd8b41aef08b94a935e
MD5 c651c6b74a2b3aab99acd2e334609a4e
BLAKE2b-256 d7978dc4b937e9f4791160ee3e9c572c690faf441787db43c1caec312592f64a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7792cc43dacf811673ff609336356264a961bf07312e445213eb499e29f184ae
MD5 67001ee6477e61a8e68777e0efb42c95
BLAKE2b-256 aa65c5689605c3e4b0963975542c1f577bfd724ca73827a052b074efc68c85a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp38-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirascript-0.1.85-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.85-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 63867db958caf3ab8e8b0d05ad0fd3bf97b3255cbf32e94f75e199105a558422
MD5 817a87407ad2aa1d2a53e385ec4db730
BLAKE2b-256 04ada14d0b8223866543a8c74b3833074995ce229cff31d037569b758ca18266

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirascript-0.1.85-cp38-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on CloudPSS/MiraScript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.89

18 files

0.1.88

18 files

0.1.87

18 files

0.1.86

18 files

This release

0.1.85 This release

18 files

0.1.84

18 files

0.1.83

18 files

0.1.82

18 files

0.1.81

18 files

0.1.80

18 files

0.1.79

18 files

0.1.78

17 files

0.1.76

17 files

0.1.74

17 files

0.1.73

17 files

0.1.70

17 files

0.1.69

17 files

0.1.68

17 files

0.1.67

17 files

0.1.62

17 files

0.1.12

3 files

0.1.11

3 files

0.1.10

3 files

0.1.9

3 files

0.1.5

2 files

0.1.4

2 files

0.1.2

2 files

0.0.10

2 files

0.0.9

2 files

0.0.6

2 files

Supported by

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