Skip to main content

MiraScript 的 Python 绑定允许在 Python 中使用 MiraScript 编译器。它提供了一个简单的接口来编译 MiraScript 脚本,并返回编译结果和诊断信息。

Project description

MiraScript Python Bindings

MiraScript 的 Python 绑定允许在 Python 中使用 MiraScript 编译器。它提供了一个简单的接口来编译 MiraScript 脚本,并返回编译结果和诊断信息。

开发

  1. 初始化虚拟环境

    python -m venv .venv
    source .venv/bin/activate # Windows: .venv\Scripts\activate
    
  2. 安装依赖

    pip install -r requirements.txt
    
  3. 编译并安装 bindings

    maturin develop
    

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

mirascript-0.1.2.tar.gz (170.9 kB view details)

Uploaded Source

Built Distribution

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

mirascript-0.1.2-cp37-abi3-win_amd64.whl (455.4 kB view details)

Uploaded CPython 3.7+Windows x86-64

File details

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

File metadata

  • Download URL: mirascript-0.1.2.tar.gz
  • Upload date:
  • Size: 170.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.5

File hashes

Hashes for mirascript-0.1.2.tar.gz
Algorithm Hash digest
SHA256 dd84a8d4958ff6f1a068a8639b4ee0398db378a936c80b6ac5104aa78fef3159
MD5 f9ca1d991b7bf1fccca14db670be69ea
BLAKE2b-256 0ea173b9e9214cb9661d2ee8d936990e720e03ba9b8b38db6f2b7e9fb3828cdf

See more details on using hashes here.

File details

Details for the file mirascript-0.1.2-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for mirascript-0.1.2-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6b4bcf39155241c2a17f3d02d542b9a2d3fe7db3caf20ad5df8b94c78c71149e
MD5 996d535f4ba55226e08f3401f08c1344
BLAKE2b-256 422ad5b50f6d5321e5c1ffae42bcf7d67352f6e30d34bae931d524ad64e08fb3

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