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.4.tar.gz (170.2 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.4-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.4.tar.gz.

File metadata

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

File hashes

Hashes for mirascript-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6377dd0de2819ab51e0e8d784d9b987ee959f903755e550e3c733bf3246e7d04
MD5 7ebef12dd6afa035404a4e6613d43c8a
BLAKE2b-256 22bbead4f86d1b5772c4f387f3582a0ce00908ead1b65b894c9ed6444ce0f97d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mirascript-0.1.4-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f34a4bf307f447100f351c8071bca170ee1d7e86ea8b57ae67975dfc63c6aa5f
MD5 aa848d9a077e9cffc02bcdc142e05ea1
BLAKE2b-256 10266cb22e7e183056755921359de647a26686d9c447794ed221ec81e7b5b356

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