{"id":27959122,"url":"https://github.com/datalayer-examples/ipywidgets-example","last_synced_at":"2025-08-02T02:12:00.273Z","repository":{"id":183233652,"uuid":"602930905","full_name":"datalayer-examples/ipywidgets-example","owner":"datalayer-examples","description":"🪐 Jupyter IPyWidgets example.","archived":false,"fork":false,"pushed_at":"2023-02-17T14:28:55.000Z","size":190,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-12T21:39:47.141Z","etag":null,"topics":["example","ipywidgets","jupyter"],"latest_commit_sha":null,"homepage":"https://jupyter-ui.datalayer.tech","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datalayer-examples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-02-17T08:52:04.000Z","updated_at":"2023-08-01T14:19:25.000Z","dependencies_parsed_at":"2023-07-23T15:15:12.514Z","dependency_job_id":null,"html_url":"https://github.com/datalayer-examples/ipywidgets-example","commit_stats":null,"previous_names":["datalayer-examples/ipywidgets-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datalayer-examples/ipywidgets-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalayer-examples%2Fipywidgets-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalayer-examples%2Fipywidgets-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalayer-examples%2Fipywidgets-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalayer-examples%2Fipywidgets-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datalayer-examples","download_url":"https://codeload.github.com/datalayer-examples/ipywidgets-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalayer-examples%2Fipywidgets-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268326739,"owners_count":24232496,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["example","ipywidgets","jupyter"],"created_at":"2025-05-07T18:28:38.946Z","updated_at":"2025-08-02T02:12:00.264Z","avatar_url":"https://github.com/datalayer-examples.png","language":"TypeScript","readme":"\n# ipywidgets-example\n\n[![Build Status](https://travis-ci.org/datalayer-examples/ipywidgets-example.svg?branch=master)](https://travis-ci.org/datalayer-examples/ipywidgets_example)\n[![codecov](https://codecov.io/gh/datalayer-examples/ipywidgets-example/branch/master/graph/badge.svg)](https://codecov.io/gh/datalayer-examples/ipywidgets-example)\n\n\nA Custom Jupyter Widget Library\n\n## Installation\n\nYou can install using `pip`:\n\n```bash\npip install ipywidgets_example\n```\n\nIf you are using Jupyter Notebook 5.2 or earlier, you may also need to enable\nthe nbextension:\n```bash\njupyter nbextension enable --py [--sys-prefix|--user|--system] ipywidgets_example\n```\n\n## Development Installation\n\nCreate a dev environment:\n```bash\nconda create -n ipywidgets_example-dev -c conda-forge nodejs npm python jupyterlab\nconda activate ipywidgets_example-dev\n```\n\nInstall the python. This will also build the TS package.\n```bash\npip install -e \".[test, examples]\"\n```\n\nWhen developing your extensions, you need to manually enable your extensions with the\nnotebook / lab frontend. For lab, this is done by the command:\n\n```\njupyter labextension develop --overwrite .\nnpm run build\n```\n\nFor classic notebook, you need to run:\n\n```\njupyter nbextension install --sys-prefix --symlink --overwrite --py ipywidgets_example\njupyter nbextension enable --sys-prefix --py ipywidgets_example\n```\n\nNote that the `--symlink` flag doesn't work on Windows, so you will here have to run\nthe `install` command every time that you rebuild your extension. For certain installations\nyou might also need another flag instead of `--sys-prefix`, but we won't cover the meaning\nof those flags here.\n\n### How to see your changes\n#### Typescript:\nIf you use JupyterLab to develop then you can watch the source directory and run JupyterLab at the same time in different\nterminals to watch for changes in the extension's source and automatically rebuild the widget.\n\n```bash\n# Watch the source directory in one terminal, automatically rebuilding when needed\nnpm run watch\n# Run JupyterLab in another terminal\njupyter lab\n```\n\nAfter a change wait for the build to finish and then refresh your browser and the changes should take effect.\n\n#### Python:\nIf you make a change to the python code then you will need to restart the notebook kernel to have it take effect.\n\n## Updating the version\n\nTo update the version, install tbump and use it to bump the version.\nBy default it will also create a tag.\n\n```bash\npip install tbump\ntbump \u003cnew-version\u003e\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatalayer-examples%2Fipywidgets-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatalayer-examples%2Fipywidgets-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatalayer-examples%2Fipywidgets-example/lists"}