Skip to content
forked from beeware/batavia

A Javascript implementation of the Python virtual machine.

License

Notifications You must be signed in to change notification settings

jcronyn/batavia

 
 

Repository files navigation

http://pybee.org/project/projects/bridges/batavia/batavia-72.png

Batavia

https://travis-ci.org/pybee/batavia.svg?branch=master

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.

Tutorial

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

Documentation for Batavia can be found on Read The Docs.

Community

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

We foster a welcoming and respectful community as described in our BeeWare Community Code of Conduct.

Why "Batavia?"

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.

Issues

If you experience problems with Batavia, log them on GitHub.

Contributing

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
    

About

A Javascript implementation of the Python virtual machine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 49.5%
  • Python 48.1%
  • HTML 2.1%
  • Makefile 0.3%