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">


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.

Files for brython, version 3.9.2
Filename, size File type Python version Upload date Hashes
Filename, size brython-3.9.2-py3.10.egg (1.4 MB) File type Egg Python version 3.9.2 Upload date Hashes View
Filename, size brython-3.9.2.tar.gz (1.4 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page