Skip to main content

microvm

A lightweight microservice VM framework for distributed applications.

Installation

Install MicroVM from PyPI:

python -m pip install microvm
microvm --help

For local development from a checkout:

python -m pip install -e ".[dev]"

Quick Start

Extract Bundled Examples

The PyPI package includes the repository docs, examples, and demo assets. Copy them into a working directory before running the example workspaces:

microvm bundle list
microvm bundle extract C:\Users\Public\Public\microvm-bundle

Inspect a Workspace

View the structure and components of a workspace:

microvm inspect /workspace/examples/pong-microvm

Run a Workspace

Execute all MicroVM components in a workspace:

microvm --runtime-root /workspace/.runtime run /workspace/examples/pong-microvm

Example: Pong MicroVM Demo

The examples/pong-microvm workspace demonstrates five MicroVM components:

  • web: full-screen HTML5 canvas Pong.
  • matchmaking: LAN scan, invite/accept, game events, and MMUKO state.
  • polycall: native PolyCall detection plus adapter fallback stream.
  • voice: voice-channel negotiation events.
  • u-agent: adaptive practice opponent named u.
microvm inspect examples/pong-microvm
microvm --runtime-root .runtime run examples/pong-microvm

Then open:

http://127.0.0.1:8890

Runtime State

python -m unittest tests/test_microvm_cli.py
python -m unittest discover -s tests -v

Build and Publish

Build local distribution artifacts:

python -m build
python -m twine check dist/*

Publish to TestPyPI first, then PyPI, using trusted publishing or local credentials. Do not commit package tokens or API keys.

Production releases are published from GitHub Actions when a v* tag is pushed. See docs/PUBLISHING.md for the one-time trusted publisher setup and release checklist.

Metadata

Release files for microvm 0.2.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 microvm 0.2.0
File Size Uploaded
microvm-0.2.0.tar.gz 1.1 MB Details

Built distribution (wheel)

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

Total release size: 2.3 MB

Release files / microvm-0.2.0.tar.gz

Download URL microvm-0.2.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
30caf76b558cc6dfc4bf2107f345a80b9b3dcb3c70bda9e146b0613ed813ed24
BLAKE2b-256 checksum
How to use checksums
19d8ac42ffab08d5715a3efca30358c04a8c683c52fc98e4c4f23c9e1a2c4985
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 26, 2026.

Transparency log

Release files / microvm-0.2.0-py3-none-any.whl

Download URL microvm-0.2.0-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
811b0e9700b702833df5b26978496e1ce1c8d51c9b3a37b52ef2917aa20ecb55
BLAKE2b-256 checksum
How to use checksums
8c4c1ad7555c8d475486d038afbad23a39ee18d06bc1b7e97de71c1e25afa8c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

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