Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

Moruna

Moruna is a fast, lightweight runtime that runs your Python functions over datasets larger than memory, inside a memory limit you set, and sizes the work itself so the job neither runs out of memory nor leaves the machine idle.

Use cases

Run a model over a large dataset. Apply a tokenizer, a scoring model or any Python function to every row of a Parquet dataset that does not fit in memory, and write the results as Parquet.

Stay inside a memory limit. Give a job a budget, or let Moruna read its container's limit. Moruna measures what your function uses and adjusts batch sizes and workers to stay under it.

Resume a job that was stopped. Restart a long job from its last checkpoint instead of from the beginning. The output is the same as a run that was never interrupted.

Run a job described in a file. Describe the input, functions, output and budget in a job document, then run it with the moruna command from a scheduler, a container or a virtual machine.

Quickstart

pip install moruna
import moruna
import pyarrow as pa

@moruna.function
def shout(batch):
    loud = pa.array([s.as_py().upper() for s in batch.column("text")])
    return batch.append_column("loud", loud)

report = moruna.run(
    moruna.ParquetSource("events/"),
    [shout],
    moruna.ParquetSink("events-loud/"),
    budget="8GiB",
)
print(report)

Moruna requires Python 3.14. On the standard build of Python, add allow_gil=True; on the free-threaded build, Python functions run on every core. The quickstart builds a dataset and runs this end to end.

A Moruna node, the data OS that runs jobs on a cloud machine, requires an x86-64 CPU with x86-64-v3 (AVX2, BMI2, FMA and the rest of the level). Every current x86 Azure D-series size has it.

Documentation

Getting started
Learn the concepts, then run your first job.
Using Moruna
Write functions, run jobs from Python or the command line, and choose where they run.
How it works
Understand how Moruna sizes work, keeps memory under the limit and resumes.
Reference
Look up functions, the job document, commands and the run report.

Read the documentation website.


Contributing · Changelog · Apache-2.0 license

Metadata

Release files for moruna 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Built distributions (wheels)

Table of built distributions (wheels) for moruna 0.7.0
File Actions
moruna-0.7.0-cp314-cp314t-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Details for moruna-0.7.0-cp314-cp314t-manylinux_2_28_x86_64.whl
moruna-0.7.0-cp314-cp314t-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 Details for moruna-0.7.0-cp314-cp314t-manylinux_2_28_aarch64.whl
moruna-0.7.0-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details for moruna-0.7.0-cp314-cp314t-macosx_11_0_arm64.whl
moruna-0.7.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for moruna-0.7.0-cp314-cp314-manylinux_2_28_x86_64.whl
moruna-0.7.0-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details for moruna-0.7.0-cp314-cp314-manylinux_2_28_aarch64.whl
moruna-0.7.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for moruna-0.7.0-cp314-cp314-macosx_11_0_arm64.whl

Total release size: 122.8 MB

Release files / moruna-0.7.0-cp314-cp314t-manylinux_2_28_x86_64.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL moruna-0.7.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 22.4 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c12f96cfab01cdac6ec0850e51ee0fc01fde126f34b407fd367e2d676ffadebb
BLAKE2b-256 checksum
How to use checksums
b6768e3376329a6448bed92081d6d22e47268f1f8336d98af32db117baa21593
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / moruna-0.7.0-cp314-cp314t-manylinux_2_28_aarch64.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL moruna-0.7.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Size 21.2 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
757f2e126b64934d4aaac856ee0283161c12ecf216373f2c3e09142d96bdf085
BLAKE2b-256 checksum
How to use checksums
b3b909a57c32a1b88c668fed61a46d3432b91d422876124b2a8dac8d73c14248
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / moruna-0.7.0-cp314-cp314t-macosx_11_0_arm64.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL moruna-0.7.0-cp314-cp314t-macosx_11_0_arm64.whl
Size 17.8 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fa8dd5ddc1377daab72d4dce319aa8648c6071f930553b5069d63502b28b9a11
BLAKE2b-256 checksum
How to use checksums
02f63d21e816990cf9e2163e06cd0c8ffb9e18fb623d43f264ab5d366a134bf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / moruna-0.7.0-cp314-cp314-manylinux_2_28_x86_64.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL moruna-0.7.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 22.4 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c3b794f346efadf944452f6b2ad4b5d29baaabc257cd541d5614f2095a435cd5
BLAKE2b-256 checksum
How to use checksums
7c469de25f7fed70fd5528bef60ea0c68e10f93b0e8c3eb7ec5e77d745ef539f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / moruna-0.7.0-cp314-cp314-manylinux_2_28_aarch64.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL moruna-0.7.0-cp314-cp314-manylinux_2_28_aarch64.whl
Size 21.1 MB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
75d798a91af6ae33c32673e6e02f7a7aa0c69bf031e52b3f41a6f8f0b7358e4d
BLAKE2b-256 checksum
How to use checksums
01bf067877c6cad5dd2d21a067cebd505f5143d0af886ae05be433dccd30ca90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / moruna-0.7.0-cp314-cp314-macosx_11_0_arm64.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL moruna-0.7.0-cp314-cp314-macosx_11_0_arm64.whl
Size 17.8 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
08b0eb9e8a73259bbd8942d77c8b26dfbbd0a71744c7ea3e253c6722bbf3fc66
BLAKE2b-256 checksum
How to use checksums
7923a081c63cc2bdd6142ef05d9f2f78150bef5d5c49e20ca43a63a1f454d908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for moruna 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 0.6.5 6 files With provenance
  • Added 0.7.0 6 files Without provenance

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.7.0 This release

6 release files Loss of provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page