Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    balamuruganvg
    @balamuruganvg
    Is there anyway i can skip building js/css files while creating the notebook package(wheel) from source? I am using jupyterlab for frnt end and dont need to build js/css in the notebook repo.
    Jason Grout
    @jasongrout
    I don't think so
    but soon we'll rely on the jupyter server, which won't require the notebook js
    balamuruganvg
    @balamuruganvg
    that will be great, thanks
    Amos Bird
    @amosbird
    Hi, how can I start jupyter without password token?
    balamuruganvg
    @balamuruganvg
    you can pass --NotebookApp.token='' when you start jupyter server or you can set this in the jupyter config file.
    Amos Bird
    @amosbird
    ok
    btw, can I use gpg to verify ?
    Brian M Hamlin
    @darkblue-b
    Jupyter install under Ubuntu 1804 .. can someone remind me of steps to debug the Python3 environment? basically, a dot-so binary library is available in /usr/local/lib .. and other apps get it, big ones.. but when Jupyter starts the Python3 world, only the default /usr/lib version is found
    additionally, using ipython3 from the command line also gets the /usr/local/lib version.. but Jupyter does not, for the same lib
    Brian M Hamlin
    @darkblue-b
    sudo lsof -c python3 | grep local ## appears to show two process parents getting the local/ lib
    Brian M Hamlin
    @darkblue-b
    hm - this might be specific to geopandas 0.6.2, not jupyter, because I can see the /usr/local/lib GEOS open with lsof
    right - import shapely; from shapely import geos; geos.geos_version_string ## shows the /usr/local/lib version clearly
    same base setup, same python3 binary .. sorry to bother Jupyter ! package specific it seems
    L. Kärkkäinen
    @Tronic
    🅟🅐🅡🅣🅨 like it's the last day of Python 2!
    Ronny Pfannschmidt
    @RonnyPfannschmidt
    hi, anyone aware of a jupyter notebook/sublime integration that would allow to "livecode from sublime and see cell updates /dependent cell updates in a notebook display
    im doing some data exploration and the classical notebook based flow is a pain (as notebooks have no mechanism of reuse/code sharing themselfes)
    Jason Grout
    @jasongrout

    as notebooks have no mechanism of reuse/code sharing themselfes

    You can import notebooks (https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Importing%20Notebooks.html, https://pypi.org/project/importnb/), or use jupytext to have a notebook that actually is a plain text file: https://github.com/mwouts/jupytext

    Ronny Pfannschmidt
    @RonnyPfannschmidt
    @jasongrout tha importnb thing looks kind of scarry, jupytext look interesting, i wonder if it has some kind of ditor itnegration, since code snippets in a browser are still horrendously painful typically
    Ronny Pfannschmidt
    @RonnyPfannschmidt
    @jasongrout by chance any idea how to make jupytext keep in/stay in sync with a text editor?
    Zachary Sailer
    @Zsailer

    @RonnyPfannschmidt -- checkout Jupytext's docs on syncing between Jupyter's server and outside text editors.

    In short, keeping docs in sync between a running jupyter server and an outside text editor isn't easy. Jupytext is just a replacement for the stock ContentsManager, so docs are updated on "save" and frontent clients are unaware until you checkout those changes (i.e. through a page refresh).

    Ronny Pfannschmidt
    @RonnyPfannschmidt
    @Zsailer thanks for that link
    Zachary Sailer
    @Zsailer
    Inside jupyterLab, you can use jupytext to link an ipynb file with other formats then edit that same document with Notebook view + Jlab's text editor view.
    Ronny Pfannschmidt
    @RonnyPfannschmidt
    for me the ideal case would be to use sublime but have "live coding magic" happen
    Zachary Sailer
    @Zsailer
    ah I see. edit the notebook document in sublime and have the rendered notebook document view update in real time.
    Ronny Pfannschmidt
    @RonnyPfannschmidt
    yeah, would be even better for me if "data dependent" cells would autoupdate on changes
    (i have sets of input data that are large, which occasionally releoad, and i wnat to do quick feedback loops on the content filtering/integrating
    Zachary Sailer
    @Zsailer
    Is it just the view in the output of those cells that you need updated? In other words, are you just looking for a dashboard of your data?
    Ronny Pfannschmidt
    @RonnyPfannschmidt
    kind of, im occasionally changing the big datasets, and im tinkering with the process,ing and i want to get updates of the samaller sets after each of the changes to the processing functions
    basically im wirting utility and helper functions for sorting out a multipe datasets with each a few million entries and i want to see updates/results swiftly
    Zachary Sailer
    @Zsailer

    Ok, cool. I think I understand... :)

    I think you'll have to get creative to make this happen. I'm wondering if you can use something like Hermes to connect sublime to a running Jupyter Kernel. Then, create an ipywidget that's tracking the state of your large datasets. On changes, the "view" of that widget updates (showing the sorting operations you're doing in real time). Connect a notebook to that same running kernel and render the widget. As that widget object updates, the view should update in the notebook in real time.

    It's not pretty, but it's an idea :P

    Ronny Pfannschmidt
    @RonnyPfannschmidt
    i think i'll have to defer to just using hemes and rerunning certain cells
    Ronny Pfannschmidt
    @RonnyPfannschmidt
    hmm, running into trouble with hermes, unfortunately the maintainer is currently not active on it for personal reasons and imcertainly not in a place where i can make it work, unfortunate
    Ronny Pfannschmidt
    @RonnyPfannschmidt
    so well - viva la jupyter lab
    Jason Grout
    @jasongrout
    Thanks for sharing, I hadn't heard of hermes. For reference, here is the issue talking about the current state of the Hermes maintainer: ngr-t/SublimeHermes#60
    Ronny Pfannschmidt
    @RonnyPfannschmidt
    @jasongrout thanks for cross-linking that, it slipped me
    Jason Grout
    @jasongrout
    no problem
    SurveyorSamuel
    @SurveyorSamuel
    Hi all
    Someone to help me with launching Jupyter Notebook
    Tom Roderick
    @tomrod-pcci-2
    Cross-post from jupyterhub: Hi all! We're a small nonprofit in healthcare considering a move to jupyterlab for our main IDE. Looking for recommendations to standard practices to verify jupyterlab extensions aren't incidentally or intentionally sending data to external servers (a data governance issue). Any pointers?
    Frank Rosquin
    @cnf
    hi, could anyone help me with volumeclaims for jupyterhub on k8s?
    it's a single node setup, with kubernetes.io/no-provisioner local-storage only, and the helm install doesn't seem to like that much
    Prakash Ujjwal
    @prakashujjwal1010
    hi everyone, i am having an idea to create my a create a webapp to execute python code using jupyter runtime , i have researched about it and i found out about how jupyter notebook works, its architecture etc and about jupyter-client. i want to use jupyter-client in my app but i am facing difficulty to how to proceed ? thanks
    Kevin Bates
    @kevin-bates
    Hi @cnf. Please post this question in the jupyterhub room where you’ll be more likely to get a better response: https://gitter.im/jupyterhub/jupyterhub. A discussion forum is also available, if you’d prefer that: https://discourse.jupyter.org/c/jupyterhub/10.
    Kevin Bates
    @kevin-bates
    @prakashujjwal1010 - could you elaborate a bit on what aspects of just using jupyter notebook are not sufficient? I’m wondering if you only needed kernel management, then either of the Gateway projects (Kernel Gateway or Enterprise Gateway) might meet your needs. These projects essentially expose kernel management via the REST API, but don’t expose Content and notebook file management operations, etc.
    Prakash Ujjwal
    @prakashujjwal1010
    @kevin-bates jupyter notebook is sufficient. but i wanted to make a app as a project which have inbuilt function to execute python code and other features like q/a for kids etc. yes i have read about kernel gateway. but it would need internet to make , i was thinking to have offline kernel management to execute code .what's about jupyter-client api ? btw thanks
    Kevin Bates
    @kevin-bates
    @prakashujjwal1010 - that sounds awesome - nice stuff! Although I haven’t built an application directly on jupyter_client, you might be able to make some good headway with the manager and client classes and it looks like test_client.py might have most of the interesting aspects covered. I'm guessing you’d want to launch a kernel and essentially interact with code execution and I think that’s exactly what that test does.
    Prakash Ujjwal
    @prakashujjwal1010
    thanks. i'll check it out.
    matrixbot
    @matrixbot
    white_gecko Hello, I've played arround with jupyter notebook a bit. Now I want to write a paper with it. What is the recomended way/best practice to manage citations/bibliography? I come from latex, I don't use zotero.
    white_gecko * Hello, I've played around with jupyter notebook a bit. Now I want to write a paper with it. What is the recommended way/best practice to manage citations/bibliography? I come from latex, I don't use zotero.