{"id":23779458,"url":"https://github.com/saagie/jupyter-saagie-plugin","last_synced_at":"2026-04-10T11:30:15.639Z","repository":{"id":62573450,"uuid":"77942385","full_name":"saagie/jupyter-saagie-plugin","owner":"saagie","description":"Easily create a Saagie Python job from a local Jupyter notebook","archived":false,"fork":false,"pushed_at":"2018-03-01T12:27:41.000Z","size":70,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-02-01T11:03:55.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.saagie.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saagie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-03T18:28:29.000Z","updated_at":"2017-10-25T16:15:05.000Z","dependencies_parsed_at":"2022-11-03T18:34:17.210Z","dependency_job_id":null,"html_url":"https://github.com/saagie/jupyter-saagie-plugin","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saagie%2Fjupyter-saagie-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saagie%2Fjupyter-saagie-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saagie%2Fjupyter-saagie-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saagie%2Fjupyter-saagie-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saagie","download_url":"https://codeload.github.com/saagie/jupyter-saagie-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239979322,"owners_count":19728500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-01T10:18:50.934Z","updated_at":"2026-04-10T11:30:15.594Z","avatar_url":"https://github.com/saagie.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jupyter Saagie plugin\nThis plugin allows you to easily create a Saagie Python job from\na local Jupyter notebook.\n\n## Install\nIn your Jupyter Python environment, run:\n`pip install jupyter-saagie-plugin`\n\n## Usage\nSimply run `jupyter notebook` as always, you will see a new button\nin the toolbar. Use it to log in to your account and deploy a job\nusing the code in your notebook. You can update an existing job as well.\n\nFor deploying to a Python job, Python 3.5 \u0026 2.7 are supported.\n\nIf you want to pre-fill your Saagie root URL (used in the plugin's login form),\nyou can setup a `SAAGIE_ROOT_URL` environment variable before you run the notebook.\n\n## Uninstall\n```\npip uninstall jupyter-saagie-plugin\njupyter nbextension uninstall saagie --user\n```\n\n## Modifying this extension\nIn dev mode, you can use a Docker of Jupyter notebook and install this extension in it.\nFirst, run a Jupyter Docker in bash mode:\n\n```\ndocker run -it --rm -p 8888:8888 --user root -e GRANT_SUDO=yes -v [your_project_path]/jupyter-saagie-plugin/:/jupyter-saagie-plugin/ [--env SAAGIE_ROOT_URL=\"https://xxx-manager.prod.saagie.io/\"] saagie/jupyter-python-nbk:latest /bin/bash\n```\n_(Seting up the `SAAGIE_ROOT_URL` environment variable is optional)_\n\n\nThen install the Jupyter extension in your Docker container:\n```\ncd /jupyter-saagie-plugin/\npython3 setup.py install\ncd /notebooks-dir\n/usr/local/bin/start-notebook.sh --NotebookApp.token='' --NotebookApp.password=''\n```\n\n## Build and share\nIn order to build this plugin, run the following command:\n```\npython setup.py sdist\n```\nThis will generate a tar.gz archive in the `dist` directory.\n\nIf you want to share it on Pypi, just install [twine](https://pypi.python.org/pypi/twine) (with `pip install twine`) and run:\n```\ntwine upload dist/jupyter-saagie-plugin-x.x.x.tar.gz\n```\n\nBut first, You can test your Pypi deployment on [TestPypi](https://testpypi.python.org/pypi) test environment. If so, just run:\n```\ntwine upload --repository-url https://test.pypi.org/legacy/ dist/jupyter-saagie-plugin-x.x.x.tar.gz\n``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaagie%2Fjupyter-saagie-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaagie%2Fjupyter-saagie-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaagie%2Fjupyter-saagie-plugin/lists"}