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.10.0.tar.gz (1.4 MB view hashes)

Uploaded Source

Built Distribution

brython-3.10.0-py3.10.egg (1.4 MB view hashes)

Uploaded Source

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