Theia is an IDE that emulates VS code, but with a browser client-server model, rather than a native app. This makes it a natural fit for SherlockML.
These code snippets demonstrate how to build shell functions to manage AWS credentials stored in pass.
See the accompanying blog post for full details on how to use these.
This script adds multiple users by email to a Faculty project. The users need to exist in the platform: it does not invite users.
To use this:
- Create the project you want to invite users to.
- Create a Jupyter server in that project.
- Download
add-users-by-email.py
in the project workspace by running, e.g.
Often, you want the user to choose n options (where n is small-ish) from a very large (hundreds or thousands) number of possibilities. Good UX around this dictates that the user should be able to search for the options they want.
This gist puts together a minimal example of binding a search field with multiple checkboxes using ipywidgets.
Apache Airflow is an open source tool for creating task pipelines. It lets you define sets of tasks and dependencies between those tasks, and then takes care of the execution.
Airflow can be a useful add-on to SherlockML: you can schedule
This gist lets you keep IPython notebooks in git repositories. It tells git to ignore prompt numbers and program outputs when checking that a file has changed.
To use the script, follow the instructions given in the script's docstring.
For further details, read this blogpost.
The procedure outlined here is inspired by this answer on Stack Overflow.