https://github.com/muna-ai/muna-py
Run AI models anywhere. https://muna.ai/explore
https://github.com/muna-ai/muna-py
ai deep-learning machine-learning numpy pytorch serverless serverless-gpu
Last synced: 2 days ago
JSON representation
Run AI models anywhere. https://muna.ai/explore
- Host: GitHub
- URL: https://github.com/muna-ai/muna-py
- Owner: muna-ai
- License: apache-2.0
- Created: 2023-05-15T15:10:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-19T05:17:11.000Z (3 days ago)
- Last Synced: 2026-01-19T13:44:29.655Z (3 days ago)
- Topics: ai, deep-learning, machine-learning, numpy, pytorch, serverless, serverless-gpu
- Language: Python
- Homepage: https://docs.muna.ai
- Size: 2.31 MB
- Stars: 75
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# Muna for Python

Run AI models anywhere.
## Installing Muna
Muna is distributed on PyPi. This distribution contains both the Python client and the command line interface (CLI). To install, open a terminal and run the following command:
```sh
# Install Muna
$ pip install --upgrade muna
```
> [!NOTE]
> Muna requires Python 3.10+
## Retrieving your Access Key
Head over to [muna.ai](https://www.muna.ai/account/developer) to create an account by logging in. Once you do, generate an access key:

## Making a Prediction
First, create a Muna client, specifying your access key:
```py
from muna import Muna
# Create a Muna client
muna = Muna(access_key="")
```
Then make a prediction:
```py
# Create a prediction
prediction = muna.predictions.create(
tag="@fxn/greeting",
inputs={ "name": "Peter" }
)
# Print the returned greeting
print(prediction.results[0])
```
## Using the Muna CLI
Open up a terminal and login to the Muna CLI:
```sh
# Login to Muna
$ muna auth login
```
Then make a prediction:
```sh
# Make a prediction using the Muna CLI
$ muna predict @fxn/greeting --name Peter
```
___
## Useful Links
- [Discover predictors to use in your apps](https://muna.ai/explore).
- [Join our Slack community](https://muna.ai/slack).
- [Check out our docs](https://docs.muna.ai).
- Learn more about us [on our blog](https://blog.muna.ai).
- Reach out to us at [hi@muna.ai](mailto:hi@muna.ai).
Muna is a product of [NatML Inc](https://github.com/natmlx).