Batavia is an early alpha project. If it breaks, you get to keep all the shiny pieces.

Batavia is an implementation of the Python virtual machine, written in JavaScript. It enables you to run Python bytecode in the browser.

It honors Python 3.4 syntax and conventions, but also provides the ability to reference objects and classes defined natively in JavaScript.

Table of contents


Get started with a hands-on introduction for beginners

How-to guides

Guides and recipes for common problems and tasks, including how to contribute


Explanation and discussion of key topics and concepts


Technical reference - commands, modules, classes, methods


Batavia is part of the BeeWare suite. You can talk to the community through: