htmlx
domonic
Our great sponsors
htmlx | domonic | |
---|---|---|
2 | 32 | |
4 | 130 | |
- | - | |
0.0 | 6.1 | |
almost 2 years ago | 3 months ago | |
Python | Python | |
MIT License | 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.
htmlx
-
You Should Compile Your Python and Here’s Why
After reading the article last night. I spent the whole evening about 5 hours getting one of my DOM libraries to compile with mypyc. It's a hacky codebase with little to no type hinting. I had to rewrite a fair abit to appease mypy and in most cases just used 'Any'. It's still got runtime issues and is buggy but I got at least a 2x speed increase on rendering a single node... https://github.com/byteface/htmlx/blob/mypyc/benchmarks.md
However I was unable to compile from my mac, could only compile using linux. but that could be as I'm using older version of dev tools.
- htmlx - a pure python dom
domonic
- Ludic: New framework for Python with seamless Htmx support
-
Sunday Daily Thread: What's everyone working on this week?
I did the 100th release of this python DOM 0.9.11... https://github.com/byteface/domonic
I've managed to tweak domonic (https://github.com/byteface/domonic) to work with elementpath (https://github.com/sissaschool/elementpath)...
-
Web Scraping Open Knowledge
I'm not sure about quicker. Doesn't scrapy use elementpath?. which converts a css query to an xpath under the hood as there is no complete CSSOM available for python. Likely as there is no modern standards based python dom to operate on so doing it on lxml tree is probably the best option. I find the main difference is xpath can return an attribute value where as css returns the node. You can use either from the terminal in my lib... https://github.com/byteface/domonic (as it uses elementpath like scrapy)
-
5% of the 420 python codebases we checked had silently skipped tests - including big projects with over 50k stars and 20k forks
Thanks for your tool. I've been using it this week and updated a bunch of code. You are now a contributer... https://github.com/byteface/domonic/pull/58
-
htmlx - a pure python dom
[domonic](https://domonic.readthedocs.io/) will continue to evolve. It's a pure python dom I been working on in free time over last 2 years... https://github.com/byteface/domonic/
-
Saturday Daily Thread: Resource Request and Sharing! Daily Thread
and used it on my lib yesterday... https://github.com/byteface/domonic/commit/96a91bbf3ee6f672bc1c0e5978f55e45706392aa
- an evolving python DOM for creating html
- PyML - A python library to build html.
- A python 3 library to create HTML with an evolving DOM API
What are some alternatives?
Pyston - A faster and highly-compatible implementation of the Python programming language.
pglet - Pglet - build internal web apps quickly in the language you already know!
mypy - Optional static typing for Python
dominate - Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API. It allows you to write HTML pages in pure Python very concisely, which eliminate the need to learn another template language, and to take advantage of the more powerful features of Python.
examples - Sample apps for Pglet
Flask - The Python micro framework for building web applications.
enaml-web - Build interactive websites with enaml
TurboGears - Python web framework with full-stack layer implemented on top of a microframework core with support for SQL DBMS, MongoDB and Pluggable Applications
AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python
Django - The Web framework for perfectionists with deadlines.
wasmer-python - 🐍🕸 WebAssembly runtime for Python
Bottle - bottle.py is a fast and simple micro-framework for python web-applications.