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.
Metadata
Release files for brython 3.15.0
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.15.0.tar.gz | 1.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| brython-3.15.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 3.5 MB
Release files / brython-3.15.0.tar.gz
| Download URL | brython-3.15.0.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d70d06c6014c9503af7c4582ed78f5c772fd6286ba0c3642118453570fda1c00
|
|
BLAKE2b-256 checksum How to use checksums |
8252d9d5bb769edeb140723f0d1bd95abfe5421fca05635e02b28ff51356cda6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.0b3
|
Release files / brython-3.15.0-py2.py3-none-any.whl
| Download URL | brython-3.15.0-py2.py3-none-any.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b967735b80a4215e47d4cbbc7f86ffff1753e694d9adfb2140e7db91c979e510
|
|
BLAKE2b-256 checksum How to use checksums |
97e71f10d950a07cc5b015f7c74fc6078513cf50f9840de7dff50aab57348324
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.0b3
|