{"id":13500696,"url":"https://github.com/beeware/batavia","last_synced_at":"2025-12-12T05:03:06.869Z","repository":{"id":36119213,"uuid":"40421806","full_name":"beeware/batavia","owner":"beeware","description":"A JavaScript implementation of the Python virtual machine.","archived":true,"fork":false,"pushed_at":"2020-05-31T05:55:55.000Z","size":23309,"stargazers_count":1382,"open_issues_count":52,"forks_count":419,"subscribers_count":84,"default_branch":"master","last_synced_at":"2025-11-27T17:27:32.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://pybee.org/batavia","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beeware.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-09T01:40:34.000Z","updated_at":"2025-11-06T09:31:39.000Z","dependencies_parsed_at":"2022-08-08T13:16:13.293Z","dependency_job_id":null,"html_url":"https://github.com/beeware/batavia","commit_stats":null,"previous_names":["pybee/batavia"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/beeware/batavia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fbatavia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fbatavia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fbatavia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fbatavia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beeware","download_url":"https://codeload.github.com/beeware/batavia/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fbatavia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27662261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-11T02:00:11.302Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T22:01:10.386Z","updated_at":"2025-12-12T05:03:06.375Z","avatar_url":"https://github.com/beeware.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"Batavia is currently on hiatus\n==============================\n\n**The BeeWare project isn't currently focussing on Batavia development.**\nPython on the Web is still a goal that is important to the BeeWare project;\nhowever, the approach that is being used by Batavia needs to be reconsidered.\nIn particular, the emergence of WASM as a viable target for web development\nopens many options for Python on the web that weren't previously possible.\n\nAs a result, we're not dedicating any BeeWare resources to Batavia development,\nand we we're not encouraging other to contribute to VOC at this time.\n\nIf you're interested in exploring future directions for Batavia, please `get in\ntouch \u003chttps://gitter.im/beeware/general\u003e`__.\n\n.. image:: http://beeware.org/project/projects/bridges/batavia/batavia.png\n    :width: 72px\n    :target: https://beeware.org/batavia\n\n=======\nBatavia\n=======\n|py-version| |pypi-version| |pypi-status| |license| |build-status| |gitter|\n\n.. |py-version| image:: https://img.shields.io/pypi/pyversions/batavia.svg\n    :target: https://pypi.python.org/pypi/batavia\n.. |pypi-version| image:: https://img.shields.io/pypi/v/batavia.svg\n    :target: https://pypi.python.org/pypi/batavia\n.. |pypi-status| image:: https://img.shields.io/pypi/status/batavia.svg\n    :target: https://pypi.python.org/pypi/batavia\n.. |license| image:: https://img.shields.io/pypi/l/batavia.svg\n    :target: https://github.com/beeware/batavia/blob/master/LICENSE\n.. |build-status| image:: https://beekeeper.beeware.org/projects/beeware/batavia/shield\n    :target: https://beekeeper.beeware.org/projects/beeware/batavia\n.. |gitter| image:: https://badges.gitter.im/beeware/general.svg\n    :target: https://gitter.im/beeware/general\n\n\n**Batavia is an early alpha project. If it breaks, you get to keep all the shiny pieces.**\n\nBatavia is an implementation of the Python virtual machine, written in\nJavaScript. With Batavia, you can run Python bytecode in your browser.\n\nIt honors Python 3.5+ syntax and conventions, and allows you to\nreference objects and classes defined natively in JavaScript.\n\nQuick Start\n---------------\n\nPrerequisites\n~~~~~~~~~~~~~~\n\nBatavia requires a Python 3.5, 3.6, or 3.7 installation, and a virtualenv to\nrun it all in.\n\nYou also need to have a recent install of `Node.js \u003chttps://nodejs.org\u003e`_\n(from the 10.x LTR series), and a current version of npm. If\nyour version of npm is outdated, you can update it using the command::\n\n$ npm install npm@latest -g\n\nCheck the `Setting up your environment\n\u003chttp://beeware.org/contributing/how/first-time/setup/\u003e`_ for configuration help.\n\n\nDownloading and Installing\n~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n1. Clone the code repositories\n::\n\n $ mkdir beeware\n $ cd beeware\n $ git clone https://github.com/beeware/batavia\n\n2. Setup a virtualenv:\n\n(for other environments, see `Getting Started \u003chttps://batavia.readthedocs.io/en/latest/tutorial/tutorial-0.html\u003e`_).\n\n\nLinux/Unix/Mac\n--------------\nType the following commands in your terminal ::\n\n$ python3 --version\n$ python3 -m venv venv\n$ . venv/bin/activate\n$ cd batavia\n$ pip install -e .\n\nWindows\n-------\n\nType the following commands in your terminal ::\n\n    \u003e py -3 -m venv venv\n    \u003e venv\\Scripts\\activate\n    \u003e cd batavia\n    \u003e pip install -e .\n\nWindows (with only conda installed)\n-----------------------------------\n\nType in the following commands in your terminal ::\n\n   \u003e pip install virtualenvwrapper-win\n   \u003e mkvirtualenv venv\n   \u003e workon venv\n   \u003e cd batavia\n   \u003e pip install -e .\n\n3. Install `Node.js \u003chttps://nodejs.org\u003e`_.\n\nYou must have a recent version of Node; we do our testing using v10.x. Once\nyou've installed Node, you can use it to install the JavaScript dependencies\nand compile the Batavia library::\n\n$ npm install\n\n\n4. Compile the Batavia library and bundle its dependencies\n\nRun the following command in the terminal ::\n\n$ npm run build\n\n\nFor more detailed setup instructions, see the `Getting Started tutorial \u003chttps://batavia.readthedocs.io/en/latest/tutorial/tutorial-0.html\u003e`_\n\n\nRunning Batavia in the browser\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nAfter you have setup the local installation of Batavia, you can now run Python in the browser: ::\n\n$ cd testserver\n$ pip install -r requirements.txt\n$ python manage.py runserver\n\nthen open a web browser at `http://localhost:8000 \u003chttp://localhost:8000\u003e`_\n\nFor more detailed instructions, see the `Python In The Browser\n\u003chttp://batavia.readthedocs.io/en/latest/tutorial/tutorial-1.html\u003e`_ guide.\n\n\nRunning Batavia in the terminal\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIf you want to run some Python code from a file in the terminal, you can also run Batavia on Node: ::\n\n$ npm run python /path/to/python/file.py\n\nThis will should run the Python file and show output on the terminal.\n\nFor more details see `Running Python code using Batavia from the command line\n\u003chttp://batavia.readthedocs.io/en/latest/tutorial/tutorial-2.html\u003e`_.\n\n\nDocumentation\n-------------\n\n`Documentation for Batavia \u003chttp://batavia.readthedocs.io/en/latest/\u003e`_ can be found on `Read The Docs \u003chttps://readthedocs.org\u003e`_, including:\n\n* `Getting Started \u003chttps://batavia.readthedocs.io/en/latest/tutorial/index.html\u003e`__\n* `So, why is it called \"Batavia\"? \u003chttps://batavia.readthedocs.io/en/latest/background/faq.html#why-batavia\u003e`_\n* `More Frequently Asked Questions \u003chttps://batavia.readthedocs.io/en/latest/background/faq.html\u003e`_.\n\n\nContributing\n------------\n\nIf you'd like to contribute to Batavia development, our `guide for first time contributors \u003chttp://beeware.org/contributing/how/first-time/\u003e`_ will help you get started.\n\nIf you experience problems with Batavia, `log them on GitHub \u003chttps://github.com/beeware/batavia/issues\u003e`_.\n\n\nCommunity\n---------\n\nBatavia is part of the `BeeWare suite \u003chttp://beeware.org\u003e`_. You can talk to the community through:\n\n* `@pybeeware on Twitter \u003chttps://twitter.com/pybeeware\u003e`_\n\n* The `beeware/general \u003chttps://gitter.im/beeware/general\u003e`_ channel on Gitter.\n\nWe foster a welcoming and respectful community as described in our\n`BeeWare Community Code of Conduct \u003chttp://beeware.org/community/behavior/\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeware%2Fbatavia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeeware%2Fbatavia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeware%2Fbatavia/lists"}