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.
Release files for brython 3.14.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| brython-3.14.3.tar.gz | 1.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| brython-3.14.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 3.3 MB
Release files / brython-3.14.3.tar.gz
| Download URL | brython-3.14.3.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7c42a732903a9b733979080cebd99ab8d7277cb5874e8b97f0dbf571da991c0
|
|
BLAKE2b-256 checksum How to use checksums |
92801aabcc72ba6106265868b6845ead1c67fc2f28ccb2e8d0f974ddaf8660bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0rc3
|
Release files / brython-3.14.3-py2.py3-none-any.whl
| Download URL | brython-3.14.3-py2.py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e38e2d85a48bd3bf1e19beb05d76d5645ff3c73cf278b808e95005a0492cd42c
|
|
BLAKE2b-256 checksum How to use checksums |
5e96e6f77f14f4e5062782b1b44789baad68d077b3a53277f428438c141ffcbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0rc3
|