Easy Python Transition
Brython allows developers who are familiar with Python to write client-side code for web applications, making it easier to transition from server-side to client-side development without learning JavaScript.
Pythonic HTML Interactions
It enables developers to interact with the DOM and the browser using Python's syntax, which can be more intuitive for Python developers compared to JavaScript.
Rich Libraries
Brython includes many of the common Python libraries, enabling the use of familiar tools and code structures in web development.
Rapid Prototyping
Because of its simplicity and Python's concise syntax, Brython can be useful for rapid prototyping of web interfaces and functionalities.
Promote Brython. You can add any of these badges on your website.
We have collected here some useful links to help you find out if Brython is good.
Check the traffic stats of Brython on SimilarWeb. The key metrics to look for are: monthly visits, average visit duration, pages per visit, and traffic by country. Moreoever, check the traffic sources. For example "Direct" traffic is a good sign.
Check the "Domain Rating" of Brython on Ahrefs. The domain rating is a measure of the strength of a website's backlink profile on a scale from 0 to 100. It shows the strength of Brython's backlink profile compared to the other websites. In most cases a domain rating of 60+ is considered good and 70+ is considered very good.
Check the "Domain Authority" of Brython on MOZ. A website's domain authority (DA) is a search engine ranking score that predicts how well a website will rank on search engine result pages (SERPs). It is based on a 100-point logarithmic scale, with higher scores corresponding to a greater likelihood of ranking. This is another useful metric to check if a website is good.
The latest comments about Brython on Reddit. This can help you find out how popualr the product is and what people think about it.
Hi HN! Codyssey is a small game where you write simple control system logic in Python to solve minigames. I've been working on it for over two years; its first iteration was as a workshop for beginning programmers with just basic Python knowledge. I wanted something that would take abstract code and make it visual, interactive and fun. Now, after many iterations, I'm launching it as a small web game. To try the... - Source: Hacker News / about 2 months ago
Hi HN! Codyssey is a small programming game where you write Python functions to solve minigames. Think pong, flappy bird - the functions serve as a control mechanism for the player. It evolved from an end-of-year activity I made for an introduction to programming class for 9th graders, difficulty has been adjusted obviously. I ran it as a workshop / competition at several conferences, now considering making it... - Source: Hacker News / 12 months ago
For those exploring, here was one of the best โPython in the browserโ projects I found: https://brython.info/. - Source: Hacker News / almost 2 years ago
You can run Python in every web browser using PyScript (https://pyscript.net) or Brython (https://brython.info). - Source: Hacker News / over 2 years ago
On a related note, Brython lets you run Python in the browser through JavaScript. You can even see Python in the HTML with โtext/pythonโ SCRIPT tags. https://brython.info/. - Source: Hacker News / over 2 years ago
For frontend there is Brython. It is a Python interpreter written in JavaScript that allows embedding Python scripts in to HTML much like you would with JavaScript. Source: over 2 years ago
I'm rooting for WASM to win. One of the things that discouraged me from Front-end Web Development is JavaScript weirdness. It just has too many pitfalls and it's very hard to debug for a newcomer unless you study a proper JS course that tells you precisely all of these traps before you get burned. I've never found a programming language that didn't behave like I expected it on first touch, except for JS. I am... - Source: Hacker News / almost 3 years ago
This is the primary difference between Pyodide and projects like Transcrypt or Brython: rather than transpiling to JavaScript, you get the real-deal CPython interpreter running client-side in the user's browser. There are a few things that don't work out of the box, since CPython usually runs on a computer and the Browser environment has some unique restrictions (lack of low-level access to networking, for one),... Source: about 3 years ago
Web frontend is doable. See Brython. Still a bit of a performance hit though. The big standard library is a burden if you have to download it. Source: over 3 years ago
Pyscript is a Python library that allows you to write Python code that is executed in the browser. It is based on Brython and Pyodide and can be used to write interactive web pages, games, and much more.It provides a simple and easy-to-use interface for developers to write Python code that is compiled into JavaScript and runs in the browser. - Source: dev.to / over 3 years ago
Depends on exactly what you want to do, but some applications can run entirely on the front end. You could host that for free on something like GitHub pages. You can use things like PyScript or Brython to convert to Wasm or JavaScript. Source: over 3 years ago
Browser extensions are made with Javascript, but maybe python is possible using brython. I'm not sure though, I never try myself. Source: over 3 years ago
Plan probably is around a hosted apps model where apps can be embedded in iframes or similar. Vercel to fly, everyone is basically selling a flavour of Heroku with a desirable outcome of lower maintenance overhead. But yes, it is a tradeoff and the abstractions underneath are leaky. It is not just React but NextJS and then the whole NodeJS ecosystem which is surely one of the most challenging ones. That client/web... - Source: Hacker News / over 3 years ago
Actually, yes, but through an iframe with the source being a file with the code in it. Look into FastCGI. Also, like Javascript, you can use python on web pages. Look into Brython. Source: over 3 years ago
Keep learning python and then use brython for web development. Source: almost 4 years ago
Brython is a Python interpreter written in Javascript and it allows you to place Python scripts in HTML. Source: almost 4 years ago
But, there's JS has been optimized well over the years. I know it and don't like it much, either (ugly syntax, goofy asynchronous setup), but there's no denying its till-now command over the web navigator ecosystem. However, if WebAssembly jumps a version (to handle strings better, for instance), the question will eventually die down entirely. If you want to do JavaScript without doing JavaScript (i.e., still... Source: about 4 years ago
The Brython homepage loads brython.js which is ~800KB and brython_stdlib.js which is 4.23MB, so Brython is actually smaller. Source: about 4 years ago
Python formerly lacked front-end capabilities in comparison to other languages such as JavaScript. However, Python programmers have created libraries (such as Brython) to let their favourite language run on the web. - Source: dev.to / about 4 years ago
It's great to see more options for Python in the browser but the ecosystem has existed for a while. If anyone is interested, there are some cool Python-in-the-browser implementations like Brython and Skulpt that are worth checking out. Source: over 4 years ago
At first glance seems very similar to brython (https://brython.info/). Interesting but I will wait a little... Source: over 4 years ago
Do you know an article comparing Brython to other products?
Suggest a link to a post with product alternatives.
Is Brython good? This is an informative page that will help you find out. Moreover, you can review and discuss Brython here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.