[jupyter] Jupyterhub, dockerspawner, and docker swarm

2017-03-31 Thread 'Ian Stuart' via Project Jupyter
I am trying to get JupyterHub to talk to an external Docker Swarm - and by this, I mean that the swarm is hosted on a [private] cloud whilst the 'Hub is on an external machine. Environment: * jupyterhub 0.7.2 running on CentOS 7 (initially instantiated inside a docker container on the host, th

[jupyter] What's the expected behaviour from a Notebook's Content Manager?

2017-07-03 Thread 'Ian Stuart' via Project Jupyter
I have subclassed ContentManager, to use a locally provide Cloud Infrastructure, however I'm not getting what I would expect as "Expected Behaviour" - I would expect a cell with f = open('my_file.txt', w) f.write('hello world') f.close to write to the cloud storage, not local file-store If t

Re: [jupyter] What's the expected behaviour from a Notebook's Content Manager?

2017-07-03 Thread 'Ian Stuart' via Project Jupyter
rt!) > > On Mon, Jul 3, 2017 at 12:31 AM, 'Ian Stuart' via Project Jupyter > > wrote: > > I have subclassed ContentManager, to use a locally provide Cloud > > Infrastructure, however I'm not getting what I would expect as "Expected > > Beh

[jupyter] Modifying the Dynamic Buttons in the Notebook Server

2018-01-25 Thread 'Ian Stuart' via Project Jupyter
I have a need to write an extension to the notebook *server* which is triggered by a button in the *dynamic-buttons* div. There are two, maybe three, parts to this question. 1) I've read http://mindtrove.info/4-ways-to-extend-jupyter-notebook/#nb-server-exts - but where does this code & how d

Re: [jupyter] Modifying the Dynamic Buttons in the Notebook Server

2018-01-29 Thread 'Ian Stuart' via Project Jupyter
On 27 January 2018 at 10:03, Thomas Kluyver wrote: > On 25 January 2018 at 16:50, 'Ian Stuart' via Project Jupyter < > jupyter@googlegroups.com> wrote: >> >> 2) Are there any examples of Server extensions I can explore? >> > > Cite2c adds some

Re: [jupyter] Modifying the Dynamic Buttons in the Notebook Server

2018-01-29 Thread &#x27;Ian Stuart&#x27; via Project Jupyter
On 29 January 2018 at 09:20, Thomas Kluyver wrote: > If you want to do things in the Javascript, that's a notebook extension > (aka nbextension) rather than a server extension. You might need a > corresponding server extension for your new buttons to talk to (cite2c is > an example of an extensio

[jupyter] Re: dashboard applications built on Jupyter

2018-02-23 Thread &#x27;Ian Stuart&#x27; via Project Jupyter
Sort of.. Installing an extension to operate with the Dashboard page (as opposed to within a notebook) is relatively easy. The *analytics* part is beyond my ken Code setup ./ setup.py myExt/ __init__.py amd/ index.js setup.py: #!/usr/bin/env python from setuptools import setup s

[jupyter] Allowing client-side nbextension to talk to server-side extension

2018-02-23 Thread &#x27;Ian Stuart&#x27; via Project Jupyter
Let us assume I have successfully installed a client-side extension that has the following code-fragment: var settings = { url : '/nbu/upload', processData : false, type : "PUT

[jupyter] Re: Allowing client-side nbextension to talk to server-side extension

2018-02-23 Thread &#x27;Ian Stuart&#x27; via Project Jupyter
Further: http://localhost:/nbu/download -- 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, sen

[jupyter] Re: Allowing client-side nbextension to talk to server-side extension

2018-02-23 Thread &#x27;Ian Stuart&#x27; via Project Jupyter
Solved! The definition of the `put` method handler was indented incorrectly, so not seen by the `NbuFileHandler` class :sigh: - sorry -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails