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. With Batavia, you can run Python bytecode in your browser.
It honors Python 3.4.4+ syntax and conventions, and let's you reference objects and classes defined natively in JavaScript.
To take Batavia for a spin, run through the Getting Started guide.
Then have some fun with the first tutorial, and try out running Python in your browser.
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.
We foster a welcoming and respectful community as described in our BeeWare Community Code of Conduct.
On 27 October, 1628, Commandeur Francisco Pelsaert took command of the Batavia, and with 340 passengers and crew, set sail from Texel.
Their destination? The Spice Islands - or more specifically, island of Java in the Dutch East Indies (now part of Indonesia).
The Batavia was... a Java ship (rimshot!).
Interestingly, during the voyage, Ariaen Jacobsz and onderkoopman Jeronimus Cornelisz incited a mutiny, because they didn't want to go to Java - they wanted to escape to start a new life somewhere else. As a result of the mutiny, on 4 June 1629, the Batavia ran aground on Morning Reef, part of the Houtman Abrolhos, about 450km North of Perth, Western Australia, where this project was conceived.
The full story of the Batavia is known to most Western Australian schoolchildren, and is a harrowing tale of intrigue, savagery, and murder. It serves as a reminder of what can happen when you force people to go to Java :-)
The wreck of the Batavia was recovered in the 1970s, and now stands in the shipwrecks gallery of the Western Australian Maritime Museum.
If you experience problems with Batavia, log them on GitHub.
If you'd like to contribute to Batavia development, our guide for first time contributors will help you get started.
If you want to contribute code, please fork the code and submit a pull request.
Before submitting a pull request, please make sure your forked branch is up to date with the original branch. To do this:
set your upstream remote:
$ git remote add upstream https://github.com/pybee/batavia.git
make sure you have the latest changes from upstream:
$ git fetch upstream
rebase your master branch to upstream before pushing to GitHub and submitting a pull request:
$ git rebase upstream/master