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

Uploaded source

Built Distribution

brython-3.10.6-py3.10.egg (1.5 MB view hashes)

Uploaded 3 10 6

Supported by

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