Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 00:28
    kevin-bates commented #4998
  • Oct 23 23:17
    betteridiot commented #4999
  • Oct 23 23:15
    vnijs commented #4998
  • Oct 23 22:56
    kevin-bates commented #4998
  • Oct 23 22:26
    vnijs commented #4998
  • Oct 23 21:51
    kevin-bates commented #4998
  • Oct 23 20:59
    vnijs commented #4998
  • Oct 23 20:36
    kevin-bates commented #4998
  • Oct 23 19:32
    sickmint79 opened #5000
  • Oct 23 19:27
    betteridiot opened #4999
  • Oct 23 18:14
    vnijs commented #4998
  • Oct 23 18:03
    Mridularora18 commented #4973
  • Oct 23 16:01
    ahangsleben commented #4944
  • Oct 23 14:41
    kevin-bates commented #4998
  • Oct 23 13:25
    canivel commented #4332
  • Oct 23 12:51
    blankws commented #4998
  • Oct 23 12:49
    blankws opened #4998
  • Oct 23 10:53
    AndrewTsao opened #4997
  • Oct 23 09:55
    Sodbo opened #4996
  • Oct 23 08:59
    BjornFJohansson commented #3035
Luciano Resende
@lresende
you should try to not manipulate the contents of the file manually, but maybe use something like nbformat ? https://github.com/jupyter/nbformat
Luciano Resende
@lresende
I am doing some basic tests with the 6.0 distros and I am planning to push the 6.0 RC1 this morning
jupyter/notebook#4723
Luciano Resende
@lresende
Jupyter Notebook 6.0.0rc1 is now available, use pip install —upgrade --pre notebook to install/upgrade your environment. Please help us validate the release candidate and provide feedback by creating an issue at https://github.com/jupyter/notebook
Min RK
@minrk
@lresende thanks for doing that work!
Bill Major
@rwmajor2
@lresende Is there an approximate release date for 6.0 final?
Min RK
@minrk
a candidate usually gets a couple weeks to a month of testing, depending on what's new and feedback
gjogonzalezc
@gjogonzalezc
Hi all, can somebody help me with some ideas to trigger sequentially several jupyter notebooks?
Jürgen Hermann
@jhermann
go into more detail
gjogonzalezc
@gjogonzalezc
basically is setting up a notebooks which contains a sort of pipeline calling different notebooks (one for the ETL, and other for EDA ), this way I can run just one master notebook .. probably this is not the best way to do it
I don't need outputs being load into the master notebooks
Jürgen Hermann
@jhermann
use %run
gjogonzalezc
@gjogonzalezc
I did it several times it returns an error and everytime forced a .py at the end of the filename.ipynb
Luciano Resende
@lresende
Papermill project can help you do just that
even without the requirement of the master nootebook
But in your case %run might be enough
gjogonzalezc
@gjogonzalezc
Ok thank you a lot!
Luciano Resende
@lresende
Just FYI -> Notebook 6.0 release in-progress, targetting availability in couple hours
Min RK
@minrk
:tada:
Vishesh Mangla
@XtremeGood
Hi
is there any default width beyond which latex breaks in jupyter cells
?
Joshua Zeltser
@joshuazeltser
We have been working over the past few months on an Accessibility Toolbar for Jupyter notebooks focussing on accessibility for people with dyslexia and visual impairment. It would be great to gain some feedback from anyone interested. Toolbar Video: https://youtu.be/8Nv3uosr8s4 Our GitHub fork: https://github.com/uclixnjupyternbaccessibility/jupyter_contrib_nbextensions
Luciano Resende
@lresende
Youtube says video is unavailable
Joshua Zeltser
@joshuazeltser
try now
Luciano Resende
@lresende
Better, thanks
CH Albach
@calbach
Hi all, in a Jupyter UI extension is there a reliable way to determine the default kernel selection, or block until it is known? I found Jupyter.notebook.session.kernel_model.name but turns out session may still be null depending on how the long the notebook takes to render/load
Aaron Hall, MBA
@aaronchall

I'm trying to use export but I keep getting this kind of error message on the server (and when I access the api/nbconvert it gives me {}

Content security violation: {csp-report":{"document-uri":"http://localhost:8889/api/nbconvert"...

Aaron Hall, MBA
@aaronchall
It seems to me that tornado.web.authenticated is checking for current_user - how do I ensure I have that bool(current_user) -> True?
Andreas Klostermann
@akloster
I have a custom kernelspec and would like to add paths to the PYTHONPATH environment variable without overwriting the old entries... how would I do that?
Kevin Bates
@kevin-bates

Hi @akloster, this topic has popped up from time to time, and is something I'd like to have as well. So, this being the triggering inspiration, I went ahead and created a PR to allow for this, assuming jupyter/jupyter_client#472 provides the functionality you need. If this fits your needs, it would be great if you could take it for a spin.

Since this, if approved, won't be available for a bit, you could workaround this by wrapping the launch of your kernel in a script that alters the env to your liking prior to the kernel's actual launch. This is a common trick when launching kernels as spark drivers. I can point you to such examples if you like.

Andreas Klostermann
@akloster
@kevin-bates thank you for your work, I am sure this will be useful. I created a new python package, https://github.com/akloster/freecad_jupyter , to solve the particular problem I had.
@kevin-bates the package includes a script which sets up the path correctly.
Kris Wilson
@kwlzn
:wave:
I'm part of a small team at Twitter working on Jupyter Notebook-based remote development environments for our DS/ML use cases.
We'd love to make more upstream contributions to the project. I was wondering if there was a recommended approach to discussing issues and seeking our reviewers for PRs? We have one out here that solves a data privacy/security compliance issue: jupyter/notebook#4835
Andreas Klostermann
@akloster
@kevin-bates I solved my problem largely by making a custom kernel launcher
I am trying to make integration between Jupyter and FreeCAD better. I have now a custom kernel class derived of IPythonKernel, but I am having trouble customizing anything with that
particularly I would like to do things like register line magics and display hooks from the kernel (not from extensions in a Profile , because that would require more user interaction when installing)
Andreas Klostermann
@akloster
I'm using IPKernelApp.launch_instance(kernel_class=FreeCADKernel) to launch the kernel. However, I can't find any way to hook up a function to be executed once the shell and ioloop are installed. Before that I can't register the display hooks
Jason Bratt
@jasonhero
Does anyone have any examples of creating a custom websocket message from a server extension and passing it along to aJS extension?
Ben Thayer
@bthayer2365
Hey everyone, I wrote some code for a pull request to fix a problem with backspacing while using multicursor. Is anyone here familiar with CodeBullet and willing to review this pull request? jupyter/notebook#4804
Jason Grout
@jasongrout
Thank you very much! I haven't had time to come back to this PR in the notebook yet, but it is in my queue to review (and anyone else willing to review it, please don't wait for me!)
My time is mostly concentrated on JupyterLab at this point. Do you know if this is also an issue in JupyterLab? Just curious.
Ben Thayer
@bthayer2365
Not sure, I can check and fix if needed. I had some issues with my local git repo, so this PR got closed. I'll submit another PR soon
Jason Grout
@jasongrout
whew, thanks. I was afraid you closed it because you were getting frustrated. Sorry, I wish I could do more to review and merge more quickly.
Ben Thayer
@bthayer2365
No worries! I had all my code on master, so it was messing with everything from my other branches. It was a mess... I just put it on it's own branch. Here's the new PR: jupyter/notebook#4880
Jason Grout
@jasongrout
yes, definitely good practice to do a PR from a branch, not master
another reason is it is easier to collaborate with others on a PR on a branch, but often github will prevent people from pushing to your master
Jan Nylund
@jannylund
Howdy. I got a question that I asked in jupyterhub, but probably belongs here. If I use the basenotebook and include influx-python, it breaks urrlib3's certificate validation. This does not behave similar with standard python container, but I haven't been able to figure out what happens. Reproducable code here: jannylund/jupyterhub-influx-cert-issue@2e534f2