Skip to main content

Brython is an implementation of Python 3 running in the browser

Project description

With Brython you can write browser programs in Python instead of Javascript, by inserting Python code in an HTML page by:

<script type="text/python">
...
</script>

Usage:

pip install brython

Then in an empty folder:

brython-cli --install

or in a folder with older versions already present:

brython-cli --update

The package includes a page demo.html with examples of use. For more information see the Brython site.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brython-3.12.5.tar.gz (1.4 MB view hashes)

Uploaded Source

Built Distribution

brython-3.12.5-py3-none-any.whl (1.5 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page