# beeware/batavia

A JavaScript implementation of the Python virtual machine.

Repository: https://github.com/beeware/batavia
Canonical: https://ross.abutalabs.com/products/batavia
Homepage: http://pybee.org/batavia
Language: JavaScript
License: NOASSERTION
License Family: other
Archived: true
Last push: 2020-05-31T05:55:55+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4043, "days_push": 2285, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1377, forks 415 (observed 2026-08-28T04:04:33.365439+00:00)

## What it is
Batavia is a Python virtual machine implemented in JavaScript, allowing Python 3.5+ bytecode to run in the browser. It is an early alpha project from the BeeWare project that is currently on hiatus.

## Use cases
- run python code in the browser
- execute python bytecode in javascript
- port python programs to the web
- embed a python interpreter in a web page
- interoperate python objects with javascript

## When to choose
- you need to run simple Python 3.5-era bytecode in a browser without a server
- you want to study or experiment with a Python VM implemented in JavaScript

## When to avoid
- you need a maintained or production-ready Python-in-browser solution
- you need modern Python (3.8+) features or recent standard library support
- you want Python on the web today - WASM-based tools like Pyodide are better supported

## Facets
- artifact type: library
- maturity: abandoned
- function: interpreter, compiler, wasm
- domain: programming-languages, web-development, compilers
- platform: browser
- tags: python-vm, bytecode, python-in-browser, early-alpha, beeware, nodejs, javascript

## Member repositories
- beeware/batavia (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:33.365439+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:25.540504+00:00, confidence not recorded.
  - readme: https://github.com/beeware/batavia (fetched 2026-08-28T04:04:33.365439+00:00, sha 01af89fff75c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
