Skip to content

Integrate Jupyter notebook (python) or similar for client scripting #41

@VigneshVSV

Description

@VigneshVSV

Users should be able to write custom scripts to control their devices, both in python and javascript.

We deal with the python use case here. Currently a newer wotpy version (with HTTP protocol binding) is being worked out, nevertheless we should prepare a scripting UI so that it can integrated immediately once wotpy is ready. Assuming that a HTTP python client will be available, create a new tab "Scripting" where this client will be accessible

Rough steps:

  • spin up a jupyter server with default python environments as a docker container in our kubernetes cluster, read-only (ask for credentials)
  • Find a suitable jupyter client, especially like the VS code version and not the default jupyter version. The VS code version does not have all the full fledged UI, but just input output blocks, which is what we need.
  • connect the jupyter client to server
  • hide this feature in production, but deploy into staging cluster if already available (please ask for info)

This is just a basic PoC to start integrating jupyter. Userfriendliness and deploying containers per user, we can deal in other issues.
Authentication also needs to setup for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersintermediateintermediate level good first issues, might be little harder to complete

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions