https://github.com/ktaletsk/yason
Jupyter Notebook Remote Scheduler for Argo on Kubernetes
https://github.com/ktaletsk/yason
argo jupyter kubernetes papermill
Last synced: about 1 month ago
JSON representation
Jupyter Notebook Remote Scheduler for Argo on Kubernetes
- Host: GitHub
- URL: https://github.com/ktaletsk/yason
- Owner: ktaletsk
- License: mit
- Created: 2019-05-22T16:11:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-29T03:07:42.000Z (over 1 year ago)
- Last Synced: 2024-05-29T16:24:27.528Z (over 1 year ago)
- Topics: argo, jupyter, kubernetes, papermill
- Language: Python
- Homepage:
- Size: 220 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
.. image:: https://img.shields.io/pypi/v/yason.svg
:target: https://pypi.python.org/pypi/yason.. image:: https://img.shields.io/travis/com/ktaletsk/yason.svg
:target: https://travis-ci.com/ktaletsk/yason.. image:: https://readthedocs.org/projects/yason/badge/?version=latest
:target: https://yason.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status.. image:: https://pyup.io/repos/github/ktaletsk/yason/shield.svg
:target: https://pyup.io/repos/github/ktaletsk/yason/
:alt: Updates==========================================
yason: Jupyter Notebook Scheduler for Argo
==========================================.. image:: logo.png
:height: 50px
:align: center
:alt: logoJupyterHub deployed on Kubernetes allows teams to do data analysis in the browser and efficiently share computational resources. But when it comes to Jupyter Notebooks, it is not easy to run them remotely and non-interactively or schedule them. Fortunately, with Papermill and Argo Workflows it is now possible to do just that. Yason is Python package and CLI for scheduling the remote execution of Jupyter Notebooks.
* Free software: MIT license
* Documentation: https://yason.readthedocs.io.Features
--------* Check the status of all scheduled notebook jobs
* Schedule a notebook for execution
* Get resulting notebook after execution
* Delete scheduled notebook jobComing soon
-----------* Including multiple files/folders together with Notebook for execution
* Integration with Argo events for schedulingPrerequisites
-------------Yason is intended to run on JupyterLab pods spawned by JupyterHub deployed on Kubernetes. Yason also requires Argo Workflows to be deployed on the same cluster in the namespace `argo`. S3 bucket is required for intermediate storage of Notebooks before and after their execution.
See more details and instructions in the full documentation https://yason.readthedocs.io
Usage
-----To use Yason in Python project::
from yason import yason
CLI Tool
--------To use Yason as CLI tool, type::
yason COMMAND [ARGS]
To see the list of all scheduled Notebooks for your JupyterHub username, type::
yason list
To schedule and execute Notebook immediately, type::
yason run .ipynb
To get the resulting Notebook after execution, type::
yason get
i.e.::yason get 25fe9753bc854148aac26ff7d97ba128 My_Notebook_result.ipynb
To delete the scheduled Notebook from your list, type::
yason delete
i.e.::yason delete 25fe9753bc854148aac26ff7d97ba128
Name
----Yason (or Jason) in Greek mythology is the leader of Argonauts. Yason brings your Jupyter Notebooks on board of Argo (Workflows).
Credits
-------This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage