Skip to main content

cuju-render

cuju-render is the browser renderer of cuju, the bit-exact, batched reimplementation of Google Research Football. It shows matches in three dimensions, with sound, from recordings saved to files and live from a running batch, and it keeps a registry of teams for requested matches, tournaments, challenges and games played by keyboard, controller or touch. Every page has a command or a Python call beside it, so agents use it as people do.

The renderer reads states and never writes one. Watching a match therefore leaves every observation, reward, done flag and state of the batch as it would be unwatched, bit for bit.

Installation

cuju-render installs into the folder of cuju and adds the module cuju.render and the command cuju render. The extra render of cuju installs it with a version that fits.

pip install 'cuju[render]'

pip install cuju-render does the same and brings cuju along when it is missing. cuju-render 0.1 runs with cuju 0.2.1 and every later release of cuju 0.2.

The pages run in a recent Chrome, Edge, Firefox or Safari, and the Export video dialog of Watch draws and encodes the video in that browser with nothing else installed. The command cuju render video needs an installed Chrome, Edge or Chromium, which writes MP4 with H.264 or WebM, and nothing beside it.

Quick start

Three lines of Python show a running batch in the browser, in a new tab from a script and inside the notebook in Jupyter and Google Colab.

import cuju.render
batch = cuju.BatchEnvironment('11_vs_11_stochastic_l1_r0', environment_count=8)
cuju.render.show(batch)

The demo plays a live match of the built in AI with no script at all, and serve starts the server on its own.

cuju render demo
cuju render serve --open

cuju render app opens the page in a window of its own, and cuju render app --install adds it to the computer's apps, a shortcut on Windows, an entry of the applications menu on Linux and an app in ~/Applications on macOS. The extra app, pip install 'cuju-render[app]', draws that window with the system's web view, and without it the window comes from Edge, Chrome, Chromium or Brave.

Documentation

License

The code is licensed under the Apache License 2.0. The page ships three.js and Fabric.js under the MIT license, icons of Lucide under the ISC license, art converted from Gameplay Football under the Unlicense, characters, clips and sounds under CC0 1.0, and copies of cuju's logo under CC BY 4.0. NOTICE names every part, and the license texts are in LICENSES. cuju-render is an independent project, neither affiliated with nor endorsed by Google.

Metadata

Release files for cuju-render 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 cuju-render 0.1.0
File Size Uploaded Provenance Actions
cuju_render-0.1.0.tar.gz 17.5 MB With provenance Details for cuju_render-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cuju-render 0.1.0
File Interpreter ABI Platform Actions
cuju_render-0.1.0-py3-none-any.whl Python 3 none any Details for cuju_render-0.1.0-py3-none-any.whl

Total release size: 34.4 MB

Release files / cuju_render-0.1.0.tar.gz

Download URL cuju_render-0.1.0.tar.gz
Size 17.5 MB
Tags Source
SHA-256 checksum
How to use checksums
a6be8677932548b002fb0f3a25f38621570ef6d51324c92a6178e3830e046bb6
BLAKE2b-256 checksum
How to use checksums
7ab2bc02af4999d4c6c842d023e68e2a2d3af3239a8a231b1bc1b38c2e1b083c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

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

Download URL cuju_render-0.1.0-py3-none-any.whl
Size 16.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2161504432ac7050b6dcf5ad7344064bf4b2110be134598c6251abd7ec716744
BLAKE2b-256 checksum
How to use checksums
b5769ee4bbb3c8a2f5246a33d6223c46bf6e58bded297bb48889b55621bbe307
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for cuju-render 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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cuju_render-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

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 Full 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