[jupyter] Re: Getting output of jupyter_client execution

2018-03-21 Thread Ariel Balter

>
> Here is a simple jupyter_client wrapper for playing around:
>
>
https://gist.github.com/abalter/9786332199806a03961f06da9861edf6
 

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/9730a632-1e32-4aff-a4a1-bc3ffeedb826%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] JupyterLab support for %matplotlib notebook?

2018-03-21 Thread Jason Grout
See https://github.com/jupyterlab/jupyterlab/issues/3118 for further
discussion of what I imagine is the issue here - that JupyterLab by default
does not execute embedded javascript in html output. Likely the %matplotlib
notebook could be updated to address this.

Jason


On Wed, Mar 21, 2018 at 1:17 PM Graham Wheeler  wrote:

> Is the notebook trusted?
>
>
> On March 21, 2018 at 12:45:12 PM, insearchofanswer...@gmail.com (
> insearchofanswer...@gmail.com) wrote:
>
> Will there be JupyterLab support for animations via
>
>  %matplotlib notebook
>
> Right now, using this and attempting a FuncAnimation yields a message
> saying JavaScript is disabled.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+unsubscr...@googlegroups.com.
> To post to this group, send email to jupyter@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/cbd311ba-2dc4-4562-a525-da66ec53b2c0%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+unsubscr...@googlegroups.com.
> To post to this group, send email to jupyter@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAMVm8GQf71r2kxTfwu%2B0vTFAPvSE2y8Wmt-H06WNfATu52Qc%3DQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHyUvV1hJiL-bf_FSOGhFcAL7sNc8eVG6VyqvA5HJSaAfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Jupyter notebook for concurrent logins and shared libraries

2018-03-21 Thread Michael Milligan
For #2 it depends on how complex your dependencies are, but in general
making each virtual environment available as a Jupyter kernel should do
what you want. Hint: you'll want to edit the "kernel.json" files to give
them descriptive names for the UI!

On Wed, Mar 21, 2018 at 3:49 PM, Paul Hobson  wrote:

> Rockssk,
>
> I think JupyterHub can handle parts 1 and 3:
> https://github.com/jupyterhub/jupyterhub
>
> I'm not sure about your needs for 2, though.
> -paul
>
>
>
> On Wed, Mar 21, 2018 at 1:42 PM, rockssk  wrote:
>
>> All,
>>
>>we have multiple python projects going on currently , each have their
>> own virtual environment and maintain the dependant packages/libraries
>> within the venv
>>
>>We are looking for a solution where
>>   1. Multiple developers can login at the same time into a central
>> notebook app, and execute code within their venv
>>   2. Maintain dependent libraries/packages at a central location.
>>   3. Be able to execute python and pyspark code from the notebook
>>
>>
>> Any pointers/solution is much appreciated
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jupyter+unsubscr...@googlegroups.com.
>> To post to this group, send email to jupyter@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jupyter/85ac7264-fb12-424c-baef-94206e0147e5%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+unsubscr...@googlegroups.com.
> To post to this group, send email to jupyter@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/CADT3MEAWppBaqnw3Cpq%2B0e-nmOaxYqq8Rvv5yr4gPG_ef%2B4u1Q%
> 40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPuy8gq1pnaov1uht36-vOrV4Gb9dHrHQxZjzhadnJAZrZw8tg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Jupyter notebook for concurrent logins and shared libraries

2018-03-21 Thread Paul Hobson
Rockssk,

I think JupyterHub can handle parts 1 and 3:
https://github.com/jupyterhub/jupyterhub

I'm not sure about your needs for 2, though.
-paul



On Wed, Mar 21, 2018 at 1:42 PM, rockssk  wrote:

> All,
>
>we have multiple python projects going on currently , each have their
> own virtual environment and maintain the dependant packages/libraries
> within the venv
>
>We are looking for a solution where
>   1. Multiple developers can login at the same time into a central
> notebook app, and execute code within their venv
>   2. Maintain dependent libraries/packages at a central location.
>   3. Be able to execute python and pyspark code from the notebook
>
>
> Any pointers/solution is much appreciated
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+unsubscr...@googlegroups.com.
> To post to this group, send email to jupyter@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/85ac7264-fb12-424c-baef-94206e0147e5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CADT3MEAWppBaqnw3Cpq%2B0e-nmOaxYqq8Rvv5yr4gPG_ef%2B4u1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Jupyter notebook for concurrent logins and shared libraries

2018-03-21 Thread rockssk
All,

   we have multiple python projects going on currently , each have their 
own virtual environment and maintain the dependant packages/libraries 
within the venv
  
   We are looking for a solution where 
  1. Multiple developers can login at the same time into a central 
notebook app, and execute code within their venv
  2. Maintain dependent libraries/packages at a central location.
  3. Be able to execute python and pyspark code from the notebook


Any pointers/solution is much appreciated

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/85ac7264-fb12-424c-baef-94206e0147e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] JupyterLab support for %matplotlib notebook?

2018-03-21 Thread Graham Wheeler
Is the notebook trusted?


On March 21, 2018 at 12:45:12 PM, insearchofanswer...@gmail.com (
insearchofanswer...@gmail.com) wrote:

Will there be JupyterLab support for animations via

 %matplotlib notebook

Right now, using this and attempting a FuncAnimation yields a message
saying JavaScript is disabled.


--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/cbd311ba-2dc4-4562-a525-da66ec53b2c0%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAMVm8GQf71r2kxTfwu%2B0vTFAPvSE2y8Wmt-H06WNfATu52Qc%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] JupyterLab support for %matplotlib notebook?

2018-03-21 Thread insearchofanswers87
Will there be JupyterLab support for animations via

 %matplotlib notebook

Right now, using this and attempting a FuncAnimation yields a message 
saying JavaScript is disabled.


-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/cbd311ba-2dc4-4562-a525-da66ec53b2c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Enterprise Gateway on Kubernetes

2018-03-21 Thread John Keane
Hi Luciano,

I was just wondering if there had been any progress on this work over the 
last 2 months and whether the Kubernetes resource manager for the Jupyter 
Enterprise Gateway is close to being released.

Cheers,
John

On Monday, 15 January 2018 15:41:37 UTC, Luciano Resende wrote:
>
> Very good time for the question as we are currently working on this and 
> have started pushing some initial prototype code to a kubernetes branch. 
> Our goal is to have some good portion of this working by sometime next 
> month. 
>
> If you have specific requirements, please let us know. Also, feel free to 
> join us on this effort and come help us in the project.
>
> On Mon, Jan 15, 2018 at 6:15 AM John Keane  > wrote:
>
>> Hi there,
>>
>> I am very interested in being able to create and interact with 
>> containerized kernels and it looks like the Jupyter Enterprise Gateway is 
>> designed to handle just that, however it currently only supports Spark/YARN.
>>
>> Would it be possible to get some guidance on how to configure the 
>> Enterprise Gateway to work with Kubernetes?
>>
>> I've noticed that the project roadmap includes support for Kubernetes and 
>> development has already begun (
>> https://github.com/jupyter-incubator/enterprise_gateway/commit/43b8f7a38f3ed406314c57b81cacb95023dbdce1),
>>  
>> would it be possible to get a roughly estimated timeline on when this 
>> functionality will be released?
>>
>> Cheers,
>> John
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jupyter+u...@googlegroups.com .
>> To post to this group, send email to jup...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jupyter/71cf6b05-a5e3-43b6-9275-16c32705f7e8%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> Sent from my Mobile device
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/7d7d3c51-6655-4dfa-88c9-3082cc4a9718%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Running the proxy without SSL

2018-03-21 Thread Norman Gray


Greetings.

It's not clear how I configure JuypterHub to run with plain HTTP rather 
than HTTPS, or how to have it listen on two separate interfaces.


I plan to terminate SSL in an nginx reverse proxy, so I want JupyterHub 
to to run without SSL.  I can't work out quite how to do that: that is, 
I might be reporting a documentation issue here, rather than a 
functionality one.


The page 
 
implies, but doesn't quite state, that if one simply omits 
c.JupyterHub.ssl_key and .ssl_cert, then the server will run 
successfully without SSL.  If that is the case, then that page could 
usefully be more explicit about that.  (I could of course just try this 
in a test server and see what happens, but partly for the doc-bug, and 
partly for the reason below, that wouldn't quite answer my question).


The section 'If SSL termination happens outside of the Hub' makes it 
clear that this (no SSL) is a possible configuration, but isn't clear 
how to get to that.


My situation is that I have a production JupyterHub running with SSL on 
port 8000, but I want to have this live instead behind an nginx proxy on 
the same machine.  Thus I want to deprecate the port-8000 service in 
favour of the proxied one, but not yet remove it.  Thus I'd like to have 
the JuypterHub running on port 8000 with SSL, and _also_ listening on 
another port, only on localhost, without SSL.


The parameters c.JupyterHub.ip and .port take only single values, rather 
than a list, so I'm guessing that this _isn't_ a supported 
configuration, but I can't see anywhere in the docs that makes that 
explicit (but I might just be missing the right instructions).  In that 
case, I might be better off having two JupyterHub instances running, 
with different configs.


Best wishes,

Norman


--
Norman Gray  :  https://nxg.me.uk

--
You received this message because you are subscribed to the Google Groups "Project 
Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/617CD2B8-0E62-4683-9C01-6F0383A82F00%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] open multiple files?

2018-03-21 Thread Björn Johansson
Can I do 

jupyter-lab file1.ipynb file2.ipynb
 
or something similar to open multiple files?

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/3ee058a1-7f1e-4f38-bd8e-f19b62bfe44b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.