brython-dev/brython — 6.6k★ trên GitHub (Python). Brython (Browser Python) is an implementation of Python 3 running in the browser
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Brython supports the syntax of Python 3,
and the modules of the CPython distribution written in Python, except for the
features that are not relevant in the browser context (writing on disk for
instance).
Since version 3.8.0, Brython implements the Python version of the same major /
minor version number.
It includes libraries to interact with DOM elements and events,
and with existing Javascript libraries such as jQuery, D3, Highcharts, Raphael etc.
It supports the latest specs of HTML5/CSS3, and can use CSS Frameworks like
Bootstrap3, LESS, SASS etc.
Getting started
Zero install !
The most simple way to get started, without anything to install, is to use the
distribution available online through jsDelivr.
You can choose the latest stable release :
The previous code will allow you to use raw python code, but if you import
modules from the standard library you have to load a single javascript file
with the available stdlib:
To install Brython locally, if you have a CPython distribution with pip :
pip install brython
then create a new directory and run
brython-cli install
or by loading the latest version of the Brython zip file from the
releases page.
In both cases, the distribution includes brython.js (the core Brython engine)
and brython_stdlib.js (a bundle of all the files in the standard distribution).
It also includes the page demo.html that shows a few examples of how you
can interact with a web page using Python as the scripting language : create
new elements, access and modify existing elements, create graphics, animations,
send Ajax requests, etc.
Test Brython online
If you want to test Brython online you can visit the following:
Editor
Console
Gallery of examples
There is a gallery of examples
where you can see simple and advanced examples using vanilla Brython or
interacting with Javascript libraries.
Documentation
You can start by reading the official Brython tutorial.
Full documentation is available on the official site.
You can read the docs in English and
French.
Curious about how Brython works ?
A tutorial
explains how to build Android applications with Brython.
You can also Ask Brython Guru, it is a Brython-focused AI to answer your questions.
Community (questions, feedback, issues, new features, ...)
You can subscribe and post to the
mailing list.
If you find a bug/issue or do you want to see a new feature in Brython, please,
open a new issue.
If you want to contribute to Brython, please read the contributing guide.
Thank you
BrowserStack for providing an access
to their online testing environment.
brython-dev/brython có 6.6k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/brython-dev/brython. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
brython-dev/brython có phải mã nguồn mở không?
Có — brython-dev/brython phát hành theo license BSD-3-Clause, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/brython-dev/brython.
brython-dev/brython có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho brython-dev/brython. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
brython-dev/brython có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho brython-dev/brython. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
brython-dev/brython còn đang phát triển không?
Commit gần nhất trên brython-dev/brython là 1 ngày trước (theo timestamp GitHub). Repo có 534 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc thêm về brython-dev/brython ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/brython-dev/brython là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
brython có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về brython.