{"id":18104785,"url":"https://github.com/springmt/jupyter_notebook_sample","last_synced_at":"2025-04-06T06:18:14.433Z","repository":{"id":193471227,"uuid":"688856883","full_name":"SpringMT/jupyter_notebook_sample","owner":"SpringMT","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-14T06:05:09.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T11:52:17.884Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpringMT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-08T08:49:01.000Z","updated_at":"2023-09-08T08:49:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"5fcac5fb-0016-446b-beb3-7e02921fb9d0","html_url":"https://github.com/SpringMT/jupyter_notebook_sample","commit_stats":null,"previous_names":["springmt/jupyter_notebook_sample"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Fjupyter_notebook_sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Fjupyter_notebook_sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Fjupyter_notebook_sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Fjupyter_notebook_sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpringMT","download_url":"https://codeload.github.com/SpringMT/jupyter_notebook_sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441126,"owners_count":20939245,"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":"2024-10-31T22:15:51.349Z","updated_at":"2025-04-06T06:18:14.427Z","avatar_url":"https://github.com/SpringMT.png","language":"Jupyter Notebook","readme":"# jupyter-notebook-sample\n\n## ryeで管理\n\n```\nrye init\nrye add jupyter\nrye sync\n```\n\n## jupyter notebook起動\n\n```\nrye run jupyter notebook\n```\n\n## nbstripoutの設定\n\n### install\n```\nrye add nbstripout\nrye sync\n```\n\n### commit hook\ncommit hookの設定は各自で実施しなければならない。\n下記コマンドを実行する。\n\n```\nrye run nbstripout --install\n```\n\nそうすると gitのconfigに下記が設定される\n```\n[filter \"nbstripout\"]\n\tclean = \\\"/Users/springmt/jupyter_notebook_sample/.venv/bin/python\\\" -m nbstripout\n\tsmudge = cat\n[diff \"ipynb\"]\n\ttextconv = \\\"/Users/springmt/jupyter_notebook_sample/.venv/bin/python\\\" -m nbstripout -t\n```\n\nこの状態でcommitする。\n\nこの状態でcommitすると差分はこんな感じ\n\nhttps://github.com/SpringMT/jupyter_notebook_sample/compare/73778a45a5a74f5e1f9c4437c629ba7b3e449fd6...46f2614d1c563522a55be7c32c9e8ee4c784ddb8\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmt%2Fjupyter_notebook_sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringmt%2Fjupyter_notebook_sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmt%2Fjupyter_notebook_sample/lists"}