duckscript
pyscript
duckscript | pyscript | |
---|---|---|
4 | 46 | |
558 | 18,417 | |
1.8% | 0.3% | |
7.7 | 8.6 | |
about 1 month ago | 8 days ago | |
Rust | Python | |
Apache License 2.0 | Apache License 2.0 |
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.
duckscript
- Duckscript
- RustPython
-
New alternative for clap (declarative, basic and simple)
Currently i'm using it in cargo-make but will also use it later to parse args for duckscript commands.
-
Are there any embeddable languages in rust?
At it's most basic you could make a really simple interpreter by just doing such a thing, and there is essentially already such a simple language like that built for/in rust called Duckscript (rust has a surprisingly large number of little embedded languages), and that would be completely and entirely sufficient for many purposes, though if you want speed then you'll need to JIT or AOT the code, which is why wasm is so handy as you can interpret or JIT (or even AOT it with wasmer) without the much larger overhead of a, for example, javascript or java embedded runtime.
pyscript
-
Comparing the Top 12 Best Python Web Frameworks for Developers
PyScript is an open-source framework that allows you run your Python code in the browser. With PyScript, developers can write Python scripts that directly interacts with the browser, just like JavaScript does.
-
5 Open Source Python Projects You Should Know About in 2024
Where to check it out: https://github.com/pyscript/pyscript
- PyScript: An open source platform for Python in the browser
- MicroPython in WASM
- Show HN: Dillo 3.1.0 released after 9 years
-
RustPython
You are right for the most part. I attended a talk about pyscript[1] (runs python in the browser using wasm which is similar) and there is a 2x performance hit.
[1] https://pyscript.net
-
Python HTTP library 'urllib3' now works in the browser
PyScript maintainer here - I'd love to hear more about this application! Either here, or over on our Discord (invite link is on the GitHub Page [1]).
[1] https://github.com/pyscript/pyscript?tab=readme-ov-file#summ...
-
Convert code from alpha version to latest version. Where to find complete and precise changelogs?
For the first question - why your code previously created an HTML node but now just prints out the literal characters of the HTML - that was a change made in 2022.12.1, in Pull Request 915 to be specific. You can check out the single-line change that caused this, if you want. Essentially, calls to Element.write() or display() have their contents escaped by default, which wasn't the case before.
-
How to access py-click from py-script?
Note that in the current release (2023.03.1 at time of writing), py-[event] listeners are only hooked up once at page-load time, so changing that attribute after the page loads won't do anything. In the upcoming release, py-[event] handlers are dynamically attached and managed each time a py-[event] attribute on the page is changed. (PR 1435)
-
After tearing my hair out writing JavaScript the last few days how close are we to Python in the browser?
PyScript started as a usability layer around Pyodide for those not used to working in JS. It's now working on things like incorporating the Micropython runtime as an alternative, moving the interpreter to a worker thread, adding a plugins ecosystem, easier events API's, and more.
What are some alternatives?
wasmi - Embeddable, efficient and versatile WebAssembly interpreter.
brython - Brython (Browser Python) is an implementation of Python 3 running in the browser
clap4shell - Standalone wrapper of clap for shell scripts
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
vonuvoli-scheme - vonuvoli Scheme -- an R7RS interpreter written in Rust focused on systems programming and scripting (i.e. processes, file-system, etc.) with performance and safety in mind
django-readers - A lightweight function-oriented toolkit for better organisation of business logic and efficient selection and projection of data in Django projects.