pyxl4
blursed
pyxl4 | blursed | |
---|---|---|
4 | 1 | |
81 | 4 | |
- | - | |
0.0 | 10.0 | |
over 3 years ago | over 4 years ago | |
Python | Python | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pyxl4
-
It's React, but in Python
might just use pyxl4, by dropbox or Guido himself.
https://github.com/pyxl4/pyxl4
example:
- Rux: A JSX-inspired way to render view components in Ruby
- Adding C-style for loops to Python for fun
-
Lona - A web framework for responsive web apps in full python
any chance of adding support for something like pyxl4? it would make adding html a lot easier as it wouldn't require creating a new class each time manually.
blursed
-
Adding C-style for loops to Python for fun
I did something similar to option 3 to make the default numeric "callable", since the dunder __call__ methods can't be overwritten for integer types. For example, in regular arithmetic notation, something like 6(7+8) could be read as 6*(7+8), but trying to do this in Python gives you `SyntaxWarning: 'int' object is not callable;`, since you're essentially trying to do a function call on the literal 6. The workaround was to use a custom codec to wrap all integer literals to give them the expected call behavior.
Repo if anyone is interested: https://github.com/ckw017/blursed
This was inspired by a way less silly usecase, future f-strings, which added f-string support to older versions of Python in a similar way using codecs: https://github.com/asottile-archive/future-fstrings
What are some alternatives?
elementary - Not Another Templating Language
lambdex - Write complicated anonymous functions beyond lambdas in Python.
pyxl3 - A Python 3 extension for writing structured and reusable inline HTML.
future-fstrings - A backport of fstrings to python<3.6
cinje - A Pythonic and ultra fast template engine DSL.
pyxl - A Python extension for writing structured and reusable inline HTML.
rbexy - A Ruby template language and component framework inspired by JSX and React
geodesy
Jinja2 - A very fast and expressive template engine.
nose-of-yeti - Provides an RSpec inspired dsl for python tests. Inspired by the yeti project found at http://github.com/fmeyer/yeti