Provide a single executable cell
See original GitHub issueHi dear jupyterians,
I’m a french teacher and I really like this project because it’s quite difficult for students to install python on their own machines.
First of all the full notebook frontend would be very useful for practicing on projects.
But sometimes we just need a single cell to show a quick example or ask a question. Is there’s any component in the jupyterstack that could be ported as something as simple as a web component as it is done on wc-component
.
https://github.com/vanillawc/wc-code
Thanks for sharing this as an open source project.
Problem
Proposed Solution
Additional context
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:19 (16 by maintainers)
Top Results From Across the Web
Make your code cells executable - Jupyter Book
This provides you with a Live Code button that, when clicked, will convert each code cell into an interactive cell that can be...
Read more >How to make a Single Executable VS 2010 - Stack Overflow
If VS2010 is anything like VS2008, you need to go to project properties/c++/code generation and select a static runtime library.
Read more >Executable models of pathways built using single-cell...
Executable models of pathways built using single - cell RNAseq data reveal immune cell heterogeneity in people living with HIV and ...
Read more >Synthesising Executable Gene Regulatory Networks from ...
These single-cell measurements provide snapshots of the states of the cells that make up a tissue, instead of the population-level averages ...
Read more >Working with Jupyter code cells in the Python Interactive window
Jupyter (formerly IPython Notebook) is an open-source project that lets you easily combine Markdown text and executable Python source code on one canvas ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI I have recently been iterating on REPLite (https://github.com/jtpio/replite) to provide a minimal code console that is easy to embed on other websites with:
The motivation was to make it easier it to try
numpy
in the browser on numpy.org: https://github.com/numpy/numpy.org/pull/547For now it’s just the RetroLab console page (
/retro/consoles
) with custom CSS and plugins to read options for the URL query arguments.Ideally there should be a more generic way for building small lab and lite remixes from scratch with less effort (https://github.com/jupyterlab/jupyterlab/pull/11693). Or we ship a new
cell
app as mentioned above once #118 is fixed.Right. It’s a good goal. Once we have #118 squared away, we’ll be able to do all kinds of custom apps (without substantially over-inflating the final archive (or having to do multiple releases), with a file tree more like:
As for integration of that
cell
: I anticipate the initial approach being aniframe
with a (documented) URL param mini-language as the most-broadly integrateable solution.We can emit a few things over
postMessage
(with a schema) but generally won’t have access to the outer scope, and would rely on the source documents being in_static/files
, but wouldn’t need them indexed.Anyhow, maybe something like