Skip to main content

umi-melee

The Universal Melee Interface (UMI): the Python library and conformance test for bots in the Computer Melee Championship, where Super Smash Bros. Melee bots play each other on equal hardware.

pip install umi-melee

A bot

import numpy as np
import umi


class MyBot(umi.Bot):
    name, characters, delay = "my-bot", "ALL", 18

    def setup(self, session):
        self.rng = np.random.default_rng()      # load your model here

    def act(self, batch):
        # batch.frames: one frame per game, from your seat: frames["players"][:, 0] is your bot
        ctrl = self.rng.random((len(batch.games), 13), dtype=np.float32)
        return umi.Actions(ctrl=ctrl)           # one controller row per game


if __name__ == "__main__":
    umi.serve(MyBot())

umi.Bot handles the protocol, batching, and padding. A model with memory also defines initial_state(n), and its act takes and returns each game's memory: act(batch, state) -> (actions, state).

Check it

umi-conform --cmd "python run.py"

It plays your bot against a built-in arena and reports anything the real one would refuse.

Enter it

Zip run.py, requirements.txt, and your weights, and upload them on the site. Entry is by invitation for now: ask through the site's contact page or in the #artificial-intelligence channel of the Slippi Discord.

Metadata

Release files for umi-melee 0.1.0

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

Source distribution (sdist)

Source distribution for umi-melee 0.1.0
File Size Uploaded Provenance
umi_melee-0.1.0.tar.gz 291.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for umi-melee 0.1.0
File Interpreter ABI Platform
umi_melee-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 586.2 kB

Release files / umi_melee-0.1.0.tar.gz

Download URL umi_melee-0.1.0.tar.gz
Size 291.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b92709fee67423ac46c96555d5b02f7a87ff6f09ef1235c2f7c6cf0a4af03a27
BLAKE2b-256 checksum
How to use checksums
34755eb9310705915e54dac3917883f2f147dd646c28b838d5055467b76cb637
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / umi_melee-0.1.0-py3-none-any.whl

Download URL umi_melee-0.1.0-py3-none-any.whl
Size 294.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e42f5aa2be3912eda881fc257f643fb49d1841b2845ffb34b1c328d8a87c7c56
BLAKE2b-256 checksum
How to use checksums
e284a98cea6eef0e18455485f4353814dadb7a22375a7398cd1c4f4a98015aa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for umi-melee 0.1.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.

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.0 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