Comments (12)
Yep still not solved, too many projects :) It's in my queue of things to go do but my free time has been severely constrained lately.
from nbclient.
Pssshhh next you're gonna tell me that a global crisis has happened or something 😅😭
from nbclient.
I think this solution is actually clean.
from nbclient.
We may want to provide a hook for providers of (other) comm targets than jupyter-widgets implementing things that impact the notebook state to provide similar pure python "front ends" like this output widget.
Will open a PR for this tomorrow.
from nbclient.
With the 0.4.0 release this is now solved. Note you still have to "Trust Notebook" in classic UI when loading in a browser after execution like other js generating components.. Thanks @maartenbreddels for tackling the implementation!
from nbclient.
I just want to confirm that this is still an unresolved issue, right? I know we've had some changes in nbclient since this opened up but none of that resolve this yeah?
from nbclient.
Should we move the mechanism we have in Voilà to handle that to nbclient?
The VoilaExecutor
inerits from NotebookClient
, and includes a mock OutputWidget
which mimicks the behavior of the real front-end output widget.
This was developed by @maartenbreddels and I think he should be credited with the commit should this be included in nbclient.
from nbclient.
I was thinking the same thing actually. @maartenbreddels gave some helpful pointers here jupyter/nbconvert#923 (comment) though nobody has implemented a solution yet. I think I'd be +1 on it unless somebody else has a cleaner solution in mind
from nbclient.
That's sounds great, I didn't mean to imply this wasn't a clean solution, it seems good to me. I will defer to you all about the right approach 👍
from nbclient.
I'm all for adding this from Voilà. While I didn't get around to implementing the same logic I'll gladly review a PR
from nbclient.
I agree, I think nbclient is the right place for this. Happy to port the work + test to nbclient.
Long term I think the way the Output widget works should change.
from nbclient.
Indeed, thanks so much @maartenbreddels :-)
from nbclient.
Related Issues (20)
- Using nbclient to talk to jupyter lab running remotely HOT 10
- Renamed default branch to main
- 0.6.1: sphinx faiils because missing file HOT 2
- Background Python process after running tests
- How to reuse exsisting kernel? HOT 4
- Test failure in ipywidgets 8 HOT 2
- nbclient 0.6.6 doesn't report cell magic error properly
- Cell caching HOT 6
- just_run does not close event loop it creates HOT 2
- Project dependencies may have API risk issues HOT 2
- 0.7.1: pytest is failing because missing ` jupyter_core.utils.ensure_async` HOT 11
- jupyter_core version constraint is invalid HOT 3
- nbclient >= 0.7.1 raises ImportError when trying to open a notebook HOT 1
- AttributeError: 'KernelManager' object has no attribute 'cleanup' HOT 5
- `NotebookClient.wait_for_reply` hangs with jupyter_client 8 or later HOT 4
- Is it possible to programmatically inspect variables of a NotebookNode? HOT 5
- output of type `stream` is split over multiple cells HOT 10
- execute_cell running error HOT 4
- ipykernel.comm.Comm is deprecated HOT 3
- Calling `jupyter-execute` runs the notebook but doesn't save it HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nbclient.