hyperscript
mercury
Our great sponsors
hyperscript | mercury | |
---|---|---|
24 | 76 | |
2,589 | 3,739 | |
0.9% | 1.7% | |
0.0 | 8.7 | |
almost 3 years ago | 8 days ago | |
HTML | Python | |
MIT License | GNU Affero General Public License v3.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.
hyperscript
-
Ludic: New framework for Python with seamless Htmx support
* https://github.com/hyperhype/hyperscript
There is also a working integration with Django that enables the use of neat-html as a template backend, however it isn't up on GitHub yet.
I find the space of HTML generation libraries which can leverage the power of Python, really interesting.
-
What is the state of the art for creating domain-specific languages (DSLs) with Rust?
In fairness, there's a lot of overlap between embedded DSLs and libraries — a library like Hyperscript for generating HTML in JavaScript is in many ways a DSL, but it's also just a bunch of functions that are easy to put together in a particular way. But this is often good enough!
-
Ask HN: What happened to vanilla HTML/CSS/JS development?
Hyperscript (https://github.com/hyperhype/hyperscript) is actually quite nice when you get used to it, and I actually prefer it over JSX. Pair it with something like microh[0], and it gets even better.
I believe you are talking about this hyperscript: https://hyperscript.org/
Whereas the parent post is talking about: https://github.com/hyperhype/hyperscript
Unfortunately, the creator of https://hyperscript.org/ hijacked the name even when the term "hyperscript" is still used to refer to dominictarr's project and the `h('p', 'hello world') API of declaring templates in JavaScript (as seen in React, Preact, Mithril, etc.).
-
_hyperscript – a small scripting language for the web
The naming of this project clashes horribly with https://github.com/hyperhype/hyperscript. It's not like it's in a different ecosystem or something. It is a web project that is guaranteed to cause confusion.
-
My thoughts on Mithril.js
With Mithril.js, you generate HTML using a hyperscript dialect like this:
-
Show HN: A simple Wordle clone in 60 lines, using Hyperscript
Hyperscript already has an established meaning in this space, as a pure JS-based syntax alternative to JSX.
See https://github.com/hyperhype/hyperscript and all its descendants, like Mithril, HyperApp or Sinuous.
Could you please think of another name ?
I'm confused. Hyperscript is supposed to be an alternative way to writing JSX.
Hyperscript.org doesn't seem to be related to this at all?
-
Hyperscript - the hidden language of React
The reason is dead simple. It's exported as h because it's a hypescript function. So what exactly is hypescript?
mercury
-
mercury VS solara - a user suggested alternative
2 projects | 13 Oct 2023
-
Show HN: Web App with GUI for AutoML on Tabular Data
Web App is using two open-source packages that I've created:
- MLJAR AutoML - Python package for AutoML on tabular data https://github.com/mljar/mljar-supervised
- Mercury - framework for converting Jupyter Notebooks into Web App https://github.com/mljar/mercury
You can run Web App locally. What is more, you can adjust notebook's code for your needs. For example, you can set different validation strategies or evalutaion metrics or longer training times. The notebooks in the repo are good starting point for you to develop more advanced apps.
-
streamlit VS mercury - a user suggested alternative
2 projects | 8 Jul 2023
-
[OC] Analyzing 15,963 Job Listings to Uncover the Top Skills for Data Analysts (update)
Analysis was done in Jupyter Notebook with Python 3.10, Pandas, Matplotlib, wordcloud and Mercury framework.
-
[OC] Data Analyst Skills in need based on 15,963 job listings
Analysis was done in Jupyter Notebook with Python 3.10 kernel, Pandas, Matplotlib, wordcloud and Mercury framework to share notebook as a web application with widgets and code hidden. Gif created in Canva.
-
Ask HN: Fastest way to turn a Jupyter notebook into a website these days?
https://github.com/mljar/mercury
Im working also on cloud offering so you will upload notebooks and set domain. It is available in alpha at https://cloud.runmercury.com
-
Lona - create full web-applications from a simple Python script
Haha, yes, Last week I showed the community my framework mercury for converting Python notebooks to web apps. For sure, there is a huge need for such frameworks that lower the barrier of building web apps. The JS frameworks might be very confusing ...
-
Show HN: Mercury – Turn Python Notebooks to Web Apps
Hi! We're Piotr and Aleksandra, founders of Mercury (https://RunMercury.com), an open source framework for converting Jupyter Notebooks to Web Apps. You can turn Python notebook into interactive web app, static website, presentation, report or dashboard and share it online with non-technical users. You can self-host Mercury or use our hosting service (coming soon!).
Our GitHub: https://github.com/mljar/mercury
Sharing Python notebooks is challenging. You can't send notebook directly to non-technical stakeholders. You need to copy-paste results/charts into Word/PowerPoint or rewrite notebook to web framework. Mercury converts notebook to web app. User can execute cells but can't edit them.
Mercury offers set of widgets that can be added to the notebook. When serving notebook with Mercury, widget change triggers automatic re-execution of cells. Not all cells are re-executed, only cells with widget definition and below, so you can cache results from previous cells execution (loading large dataset or model).
Mercury comes with handy feautures to make sharing easy:
- decide to hide or show notebook's code,
- add authentication to notebooks, so only selected users can view them,
- export final notebook to PDF or HTML file,
- all to create output files in notebook, and make them downloadable,
- share multiple notebooks on one Site.
How does Mercury differ from existing solutions?
- it was desinged for notebooks, it offers simple re-execution of cells after widget update,
- it has built-in authentication.
Mercury is available on AGPLv3. We would like to offer a hosting service, to make deployment very easy (just upload notebook to have website). We offer commercial license for companies looking for private forks and dedicated support.
We’d love to hear from the HN community about this framework!
-
[P] Build data web apps in Jupyter Notebook with Python only
Mercury GitHub repo https://github.com/mljar/mercury
What are some alternatives?
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
streamlit - Streamlit — A faster way to build and share data apps.
voila - Voilà turns Jupyter notebooks into standalone web applications
gomponents - View components in pure Go, that render to HTML 5.
Alpine
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
papermill - 📚 Parameterize, execute, and analyze notebooks
voila-gridstack - Dashboard template for Voilà based on GridStackJS
reagent - A minimalistic ClojureScript interface to React.js
window.fetch polyfill - A window.fetch JavaScript polyfill.
jupytext - Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
awesome-streamlit - The purpose of this project is to share knowledge on how awesome Streamlit is and can be