-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usage with voici #37
Comments
To do what it does, |
Thanks! This is good to know, and enough for now. That said, thank you for |
Yeah, I see a way to patch built voici pages after the fact... I'll see if
it's sane to add that as an opt-in. the goal would be getting it fixed and
under test upstream, but see above about... Opinions.
I was really hoping pyodide-lock itself would do most of this for me,
without a js runtime, but ain't nothing easy.
…On Sun, Jan 12, 2025, 13:46 Asko Soukka ***@***.***> wrote:
Thanks! This is good to know, and enough for now.
That said, thank you for jupyterlite-pyodide-lock. I was able to use the
lock files it leaves to create somewhat maintainable nix-packaging for
jupyterlite with pyodide based environments.
—
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALCRHVCHHYDJ6SXBNLETL2KLBADAVCNFSM6AAAAABUZD2EP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBVHA4TGMJTG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
pyodide-lock is great and thanks to JupyterLite already running in the browser, Voici does not actually add as much as Voila adds on server based notebook.
Would you have examples to point on how to make Lite UI more minimal (like hide most of the user interface around open notebook) and auto-execute the notebook when opened? 🙏
… Nicholas Bollweg ***@***.***> kirjoitti 12.1.2025 kello 22.45:
Yeah, I see a way to patch built voici pages after the fact... I'll see if
it's sane to add that as an opt-in. the goal would be getting it fixed and
under test upstream, but see above about... Opinions.
I was really hoping pyodide-lock itself would do most of this for me,
without a js runtime, but ain't nothing easy.
On Sun, Jan 12, 2025, 13:46 Asko Soukka ***@***.***> wrote:
> Thanks! This is good to know, and enough for now.
>
> That said, thank you for jupyterlite-pyodide-lock. I was able to use the
> lock files it leaves to create somewhat maintainable nix-packaging for
> jupyterlite with pyodide based environments.
>
> —
> Reply to this email directly, view it on GitHub
> <#37 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAALCRHVCHHYDJ6SXBNLETL2KLBADAVCNFSM6AAAAABUZD2EP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBVHA4TGMJTG4>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.
|
Made a PR to
Welp, The problem with "just" hiding most of the UI is that without being able to control everything, it won't work for the general case. At its core, the UX for the IPython terminal, Lab, Notebook, Console, Voici, various "slides" layers, etc. are all subsets of some underlying state machine. Eventually that whole thing needs to get hoisted up, made declarative with a schema, and then we can build whatever we want with it... but for now, Lite needs to stay pretty laser focused on "serve a REPL against a fake linux computer in your browser" with varying amounts of chrome wrapped around it, and do absolutely as little as possible beyond trying to make it "work like Lab and Notebook".
As a Lite site owner, you own the HTML. One can:
Again, this is what As with Lab core, we've been pushing fairly hard against any auto-running behavior in Lite, as failures become irrecoverable/undiagnosable once "most" of the UI is taken away. There are additional extensions that do this, but I don't have any recommendations. |
@bollwyvl Thanks for the pull and comprehensive answer! I'll take another look on Also, I was not sure, which parts of JupyterLite could be configured with configuration files and which by customizing the end result (or with custom Python package which registers custom pydoit-tasks). |
Pretty much anything is fair game. The high road is always using After that, one can get rather deep in the weeds with custom addons: while it's possible to write these as a bag of magic-named functions (e.g. The most aggressive thing is to make a custom |
It seems that jupyterlite-pyodide-lock works well with voici with the patch ❤️ |
Cool. Certainly wasn't this guy that wrote it directly into |
Hey all, so this works with Voici now? A little confused on what the full setup is .....you have ipywidgets working? |
As of today, the above comment is still accurate:
If a new version of All of the above is... part of the very compelling reason to choose to make very sure a build environment using |
Any change / experiences that this has been tried out with https://github.com/voila-dashboards/voici and what kind of custom steps it could required?
The text was updated successfully, but these errors were encountered: