Software Alternatives & Reviews

Brython VS Pug

Compare Brython VS Pug and see what are their differences

Brython logo Brython

Brython's goal is to replace Javascript with Python, as the scripting language for web browsers.

Pug logo Pug

Pug is a robust, elegant, feature rich template engine for Node.js
  • Brython Landing page
    Landing page //
    2023-04-19
  • Pug Landing page
    Landing page //
    2023-09-28

Brython videos

كورس python تطوير الويب - باستخدام brython بديل JavaScript

More videos:

  • Review - Mensahe Ni Elloraine sa Asawang Si Brython Lamb, Ano ang Kahulugan Nito?

Pug videos

Everything You Need to Know About Pugs - Characteristics and Care

More videos:

  • Review - Wolf Dog Reviews Food With Pug!
  • Review - Pug Dog Breed - Pros and Cons

Category Popularity

0-100% (relative to Brython and Pug)
Programming Language
79 79%
21% 21
Javascript UI Libraries
0 0%
100% 100
OOP
100 100%
0% 0
Development
0 0%
100% 100

User comments

Share your experience with using Brython and Pug. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Brython should be more popular than Pug. It has been mentiond 42 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Brython mentions (42)

  • Reviving PyMiniRacer: A Python <> JavaScript Bridge
    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 / about 1 month ago
  • Is Python a better alternative for JavaScript??
    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: 5 months ago
  • WASM: Big Deal or Little Deal?
    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 / 8 months ago
  • How does PyScript actually work?
    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: 10 months ago
  • Is Python a bad programming language?
    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: 12 months ago
View more

Pug mentions (20)

  • Building Vue Components With Pug & Stylus
    If you have a bit of Nodejs SSR background, you would already be accustomed to templating libraries like Pug, Handlebars, EJS, etc. If you’re from a PHP background you would be familiar with the Blade templating engine. These templating libraries basically help you render dynamic data from the backend on the frontend. They also help you generate markup with loops based on conditions. - Source: dev.to / about 1 month ago
  • Just Normal Web Things
    The right way to start is with HTML and motherfucking web site. https://motherfuckingwebsite.com/ Really. At this point this is what web sites should strive to be. Pug is a great way to write HTML by hand. I integrated it with GitHub Pages so pug sources get compiled to HTML and published when commits are pushed. Great experience. https://pugjs.org/ - Source: Hacker News / 9 months ago
  • Migrate Your Express Application to Fastify
    To illustrate the process of migrating from Express to Fastify, we have prepared a demo application. This application utilizes Express, Mongoose, and Pug to create a URL Shortener app as follows:. - Source: dev.to / 10 months ago
  • Simplify Form Development with Smarkform!
    Disclaimer: The markup of CodePen examples is still in Pug. However, you can view it compiled as HTML by opening the code tab menu and selecting "View compiled HTML" (But, by the way, if you are not already familiar with Pug Templates, I strongly advise you to check them out). Source: 11 months ago
  • Pugs eye popped out
    I'm sorry about your doggie, but you have the wrong subreddit. The Pug template engine https://pugjs.org/ is discussed here exclusively. Dogs are not discussed here. Source: about 1 year ago
View more

What are some alternatives?

When comparing Brython and Pug, you can also consider the following products

Skulpt - Skulpt is an entirely in-browser implementation of Python.

Jinja2 - Jinja2 is a template engine written in Python.

Transcrypt - Transcrypt is a Python to JavaScript transpiler.

Handlebars - Handlebars is a JavaScript template library that is, more or less, based on ...

JavaScript - Lightweight, interpreted, object-oriented language with first-class functions

mustache - Mustache is a simple web template system with implementations available for ActionScript, C++...