Skip to main content

Portable workspace runtime prototype with MMUKO and PolyCall Pong demo.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

microvm-0.2.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

microvm-0.2.0-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file microvm-0.2.0.tar.gz.

File metadata

  • Download URL: microvm-0.2.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for microvm-0.2.0.tar.gz
Algorithm Hash digest
SHA256 30caf76b558cc6dfc4bf2107f345a80b9b3dcb3c70bda9e146b0613ed813ed24
MD5 0e94c5888d3d22255cc7b1f3a78ec3f2
BLAKE2b-256 19d8ac42ffab08d5715a3efca30358c04a8c683c52fc98e4c4f23c9e1a2c4985

See more details on using hashes here.

Provenance

The following attestation bundles were made for microvm-0.2.0.tar.gz:

Publisher: publish.yml on obinexus/microvm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file microvm-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: microvm-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for microvm-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 811b0e9700b702833df5b26978496e1ce1c8d51c9b3a37b52ef2917aa20ecb55
MD5 5d186708d9a2572c27256ff34168b653
BLAKE2b-256 8c4c1ad7555c8d475486d038afbad23a39ee18d06bc1b7e97de71c1e25afa8c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for microvm-0.2.0-py3-none-any.whl:

Publisher: publish.yml on obinexus/microvm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page