Skip to main content

PyO3 bindings for the Moirai Rust concurrency runtime.

Project description

moirai-python

moirai-python provides PyO3 bindings over the Rust moirai crate. The importable package does not implement its own scheduler, chunk planner, workload kernels, benchmark harness, or execution backend; it exposes a native moirai::Moirai runtime lifecycle facade.

Releases

GitHub Releases tagged moirai-python-v<version> build locked Linux, Windows, and universal macOS wheels for CPython 3.10 through 3.13. The release workflow installs and exercises each wheel, validates its distribution name and version, generates SHA-256 checksums and build provenance, attaches those artifacts to the GitHub Release, and publishes the same wheels to PyPI through OIDC Trusted Publishing. The tag version must equal the moirai-python Cargo package version; Cargo is the sole version source.

Contracts

  • MoiraiPython wraps a native moirai::Moirai runtime.
  • Worker count validation occurs at construction.
  • worker_count, has_work, join, and shutdown forward to the wrapped runtime.
  • Workload functions and benchmark-specific processing helpers are excluded from the Python package. Comparative performance coverage belongs in scheduler-level Rust benchmarks or external harnesses that do not expand the public Python API.

Usage

py -3.13 -m pip install moirai-python

# Source checkout verification
py -3.13 -m pip install -e moirai-python
py -3.13 -m unittest discover moirai-python\tests

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

moirai_python-0.4.0-cp313-cp313-win_amd64.whl (169.6 kB view details)

Uploaded CPython 3.13Windows x86-64

moirai_python-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (312.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

moirai_python-0.4.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (493.9 kB view details)

Uploaded CPython 3.13macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

moirai_python-0.4.0-cp312-cp312-win_amd64.whl (169.7 kB view details)

Uploaded CPython 3.12Windows x86-64

moirai_python-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (312.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

moirai_python-0.4.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (494.1 kB view details)

Uploaded CPython 3.12macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

moirai_python-0.4.0-cp311-cp311-win_amd64.whl (169.3 kB view details)

Uploaded CPython 3.11Windows x86-64

moirai_python-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (312.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

moirai_python-0.4.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (494.0 kB view details)

Uploaded CPython 3.11macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

moirai_python-0.4.0-cp310-cp310-win_amd64.whl (169.7 kB view details)

Uploaded CPython 3.10Windows x86-64

moirai_python-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (312.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

moirai_python-0.4.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (494.9 kB view details)

Uploaded CPython 3.10macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file moirai_python-0.4.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for moirai_python-0.4.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a73bb8e8906ca6ed68206bd077db1cca600a383accba5ae72bdbebb906a370d3
MD5 5225cb55bc43ee1ef879b43e4f8379ce
BLAKE2b-256 4fec9c4dea46a11258def056a06e6cd1c351b1b4e29f9830244f977429b4d1c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirai_python-0.4.0-cp313-cp313-win_amd64.whl:

Publisher: python-release.yml on ryancinsight/Moirai

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

File details

Details for the file moirai_python-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for moirai_python-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 98ee8390e3bce65e2a7bdbbab17a64f8471858ffaf0c1cc793659bdd916b283c
MD5 88195d7129edab00afe84601fd131914
BLAKE2b-256 5016fa2ce641277e8c36a080160dee3ce7f509b74d12c7c6d25133d855037f69

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirai_python-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: python-release.yml on ryancinsight/Moirai

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

File details

Details for the file moirai_python-0.4.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for moirai_python-0.4.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 6e4c6aa2910b33a9b1d3232fd131308a26f7fb7a9fdb99b0141728691f440200
MD5 7600d42c23058d796982477482267299
BLAKE2b-256 3045ff9a41f60403b52328beb95c9763f4e3ebc72c9cfe4b4af19e3bfc8d4806

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirai_python-0.4.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: python-release.yml on ryancinsight/Moirai

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

File details

Details for the file moirai_python-0.4.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for moirai_python-0.4.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 04bd981833eea59f08d648f400fcd4b9f7ba0265e52d9abe2409d95edbdc50bd
MD5 324e76800529c3281972997f4ab1c70a
BLAKE2b-256 395aec9a3ab6a92ed07bc0a6f0f9abaf167d08958a1b19f64c6283fc200bfc79

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirai_python-0.4.0-cp312-cp312-win_amd64.whl:

Publisher: python-release.yml on ryancinsight/Moirai

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

File details

Details for the file moirai_python-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for moirai_python-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6e5533ea092d01ec59d07630d9bc5d51bd2b91a73f3dae379bd30447391d9838
MD5 4849e042fe7cfdc0a4d0ebb9a2ba4c3c
BLAKE2b-256 c83c09774b52d3cfc11d4ffb3629ed05be695484f513f991119b359be4f6d613

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirai_python-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: python-release.yml on ryancinsight/Moirai

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

File details

Details for the file moirai_python-0.4.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for moirai_python-0.4.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 87b3802ea72538ea2553647eb03dc69886cb528a10bf8422cd8ed5d66cfd819e
MD5 67741c0965fcda3528932ee8fd332bcf
BLAKE2b-256 21adb9c4d1c9684dcdc10830cd411bf05ebb188f1e7713f310144be0fce133b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirai_python-0.4.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: python-release.yml on ryancinsight/Moirai

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

File details

Details for the file moirai_python-0.4.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for moirai_python-0.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 486ab5e538fda8dd0e9d4b785d6e46271386a01b403a8ae24c523ec45146b8cd
MD5 672682ba3e00ed203908374e6f73dd9e
BLAKE2b-256 f89a5f33d56a7d78344d4e30d8213df28741b2fed89ee265dbb57eb22369a648

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirai_python-0.4.0-cp311-cp311-win_amd64.whl:

Publisher: python-release.yml on ryancinsight/Moirai

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

File details

Details for the file moirai_python-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for moirai_python-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e6ae67e49d221604b2227f4276c6989d1e6de7d28acc22502ba4c7385d3ce8d
MD5 42f88560693b63ca5dc21cd74737ae8b
BLAKE2b-256 11eea88b0de258615166b1c8f970e7953946722ba30fdf7dbaa64621d878b4df

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirai_python-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: python-release.yml on ryancinsight/Moirai

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

File details

Details for the file moirai_python-0.4.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for moirai_python-0.4.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 b3c903f61df35f2624fef0f657439a9a0755c97bcdd1e6356d15347afabab94f
MD5 e25591dfef42c063825e197c2c4805c2
BLAKE2b-256 f59597e268f2c9fc794aca40bd7ec4a82123055ff3a9741152a04a8440a961ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirai_python-0.4.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: python-release.yml on ryancinsight/Moirai

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

File details

Details for the file moirai_python-0.4.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for moirai_python-0.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0367de52e788717419236e841b721080454812a184b4b5473469a2ae5e5b4363
MD5 8528a31e8b2dba0e15f3b6250b18f881
BLAKE2b-256 dfb45272cc05eeeb0439b05cdd5f342c1b743c46529da411d49ea60d12bf98a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirai_python-0.4.0-cp310-cp310-win_amd64.whl:

Publisher: python-release.yml on ryancinsight/Moirai

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

File details

Details for the file moirai_python-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for moirai_python-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7347e1fe840257899be101f6cc4f332e62fb007cfdde9e5c0928422dcd187afe
MD5 7f837bbfb297918fed8cdf1acf5d3ae1
BLAKE2b-256 f2131a733a80515031055e5f7d296afd247e6ba929ecaa9146a7247d8f84e702

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirai_python-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: python-release.yml on ryancinsight/Moirai

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

File details

Details for the file moirai_python-0.4.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for moirai_python-0.4.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 d1eba2e31bf2a4e5e595758ce49aae32aa56aeab94f20a8fc8130a67d1bb5586
MD5 4f6d29886b8121dffbfbd89eb30cf510
BLAKE2b-256 0d823c08a71c2b663bf441cdc83eea850245c845459df53f5a3f2ce7f85f9a41

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirai_python-0.4.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: python-release.yml on ryancinsight/Moirai

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

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