Tools to run Python bytecode in the browser.
This is experimental code. If it breaks, you get to keep all the shiny pieces.
What it does:
- Unmarshals Base64 encoded bytecode into Code objects
- Implements most of the common Python VM opcodes
What it doesn't do:
- Make a good distinction between integer and floating point math
- Any attempt at unicode handling.
See the tests/test.html file for an example of usage.
Documentation for Batavia can be found on Read The Docs.
Batavia is part of the BeeWare suite. You can talk to the community through:
- @pybeeware on Twitter
- The BeeWare Users Mailing list, for questions about how to use the BeeWare suite.
- The BeeWare Developers Mailing list, for discussing the development of new features in the BeeWare suite, and ideas for new tools for the suite.
If you experience problems with Batavia, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.