Skip to main content

Muna for Python

Muna logo

Compile and run AI models locally & in the cloud.

Installing Muna

Muna is distributed on PyPi. This distribution contains both the Python client and the command line interface (CLI). Run the following command in terminal:

# Install Muna
$ pip install --upgrade muna

Running a Model

First, create a Muna client, specifying your access key (create one here):

from muna import Muna

# 💥 Create an OpenAI client
openai = Muna("<ACCESS KEY>").beta.openai

Next, run a model:

# 🔥 Create a chat completion
completion = openai.chat.completions.create(
  model="@openai/gpt-oss-20b",
  messages=[
    { "role": "user", "content": "What is the capital of France?" }
  ],
  acceleration="local_gpu"
)

Finally, use the results:

# 🚀 Use the results
print(completion.choices[0].message)

Muna is a product of NatML Inc.

Metadata

Release files for muna 0.1.40

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

Source distribution (sdist)

Source distribution for muna 0.1.40
File Size Uploaded Provenance Actions
muna-0.1.40.tar.gz 33.6 MB Without provenance Details for muna-0.1.40.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for muna 0.1.40
File Interpreter ABI Platform Actions
muna-0.1.40-py3-none-any.whl Python 3 none any Details for muna-0.1.40-py3-none-any.whl

Total release size: 67.3 MB

Release files / muna-0.1.40.tar.gz

Download URL muna-0.1.40.tar.gz
Size 33.6 MB
Tags Source
SHA-256 checksum
How to use checksums
bd1f5037363d9c6e1b4c84f35087b8db1fa9f426613d8a71a7461d9d625df9f0
BLAKE2b-256 checksum
How to use checksums
18b5b9c4afde33431b259de03389db385297f5e9e14ee8d7fe5a362e559b8a1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / muna-0.1.40-py3-none-any.whl

Download URL muna-0.1.40-py3-none-any.whl
Size 33.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ec50078b0e944ecfa94faa35d4d5ceed47b97a863fbb9f6d61555e1d8a6c5c90
BLAKE2b-256 checksum
How to use checksums
3cc18eb75fb4cd9e2375ff69d638e62d787651041088d98fd39345dad387cb5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for muna 0.1.40

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.1.40 This release

2 release files No 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