wasmer-python
domonic
Our great sponsors
wasmer-python | domonic | |
---|---|---|
13 | 32 | |
1,955 | 130 | |
1.2% | - | |
6.1 | 6.1 | |
7 months ago | 3 months ago | |
Rust | 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.
wasmer-python
-
WebAssembly: byte-code of the future
It's also possible to do this from many other languages. For example rust, ruby, python or from the CLI.
-
WebAssembly: Adding Python Support to WASM Language Runtimes
PyOdide isn't currently supported outside of browsers, though that might change.
Either way, I couldn't figure out how to do the above sequence of steps with any of the available Python WASM runtimes - they're all very under-documented at the moment, sadly. I tried all three of these:
- https://github.com/wasmerio/wasmer-python
- https://github.com/bytecodealliance/wasmtime-py
- https://github.com/wasm3/pywasm3
- Back-end languages are coming to the front-end
-
Running python in a browser (no sever)
Well... not with that attitude.
-
WAGI: WebAssembly Gateway Interface
Not just for web either: if you ship WebAssembly bytecode as part of your python package, you can push your platform dependencies out to a wasm runtime and skip most of the build matrix.
A runtime like wasmer-python [0] is only 1.5MB.
[0]: https://github.com/wasmerio/wasmer-python
- Wasmer Python
- Lona - A web framework for responsive web apps in full python
- What do you guys think of Dominate? Use cases?
- Can you convert python to JavaScript with libraries?
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?
streamlit - Streamlit — A faster way to build and share data apps.
pglet - Pglet - build internal web apps quickly in the language you already know!
reactpy - It's React, but in 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.
wagi - Write HTTP handlers in WebAssembly with a minimal amount of work
examples - Sample apps for Pglet
aiohttp-json-rpc - Implements JSON-RPC 2.0 using aiohttp
Flask - The Python micro framework for building web applications.
wasi-experimental-http - Experimental outbound HTTP support for WebAssembly and WASI
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