Batavia is an early alpha project. If it breaks, you get to keep all the shiny pieces.
Batavia requires a Python 3.4 installation, and a virtualenv to run it all in.
Check the Setting up your environment for configuration help.
Downloading and Installing
Clone the code repositories:
$ mkdir pybee $ cd pybee $ git clone https://github.com/pybee/batavia
Setup a virtualenv (for other environments, see Getting Started).
$ virtualenv --python=$(which python3) venv $ . venv/bin/activate $ cd batavia $ pip install -e .
> virtualenv venv > venv\Scripts\activate > cd batavia > pip install -e .
$ npm install
Compile the Batavia library and bundle it’s dependencies:
$ npm run build
For more detailed setup instructions, see the Getting Started tutorial
Running Batavia in the browser
After you have setup the local installation of Batavia, you can now run Python in the browser:
$ cd testserver $ pip install -r requirements.txt $ ./manage.py runserver
then open a web browser at http://localhost:8000
For more detailed instructions, see the Python In The Browser guide.
If you'd like to contribute to Batavia development, our guide for first time contributors will help you get started.
If you experience problems with Batavia, log them on GitHub.
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.