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.5.tar.gz (170.1 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.5-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.5.tar.gz.

File metadata

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

File hashes

Hashes for mirascript-0.1.5.tar.gz
Algorithm Hash digest
SHA256 585cc039af54c6fa61af256ed8e493c1b6f60d986d0dcfecc5f4a58b4e83dfe4
MD5 bf46deec7e989eb69b9c34894031e5ef
BLAKE2b-256 acfc07e45dc55d93fb9d907af79926dbb55be748394bacaa66dd1a8eb9332261

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mirascript-0.1.5-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d6abaca8a98ebe51bb2cf4111afa1fa746f75bd2b5bbf2aa0c3a0ea7882f3a47
MD5 c70b23fc8d2c093302f48f3417ddb777
BLAKE2b-256 61ad33ee5f400eebb39bb849350939585e069298d502faf4f67799347c6a84fa

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