{"id":14156155,"url":"https://github.com/jupytercalpoly/jupyterlab-code-snippets","last_synced_at":"2025-04-06T04:11:50.544Z","repository":{"id":40796855,"uuid":"273073628","full_name":"jupytercalpoly/jupyterlab-code-snippets","owner":"jupytercalpoly","description":"Save, reuse, and share code snippets using JupyterLab Code Snippets!","archived":false,"fork":false,"pushed_at":"2023-03-31T17:03:19.000Z","size":83147,"stargazers_count":166,"open_issues_count":24,"forks_count":24,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T03:05:18.857Z","etag":null,"topics":["code-snippet","jupyterlab","snippet"],"latest_commit_sha":null,"homepage":"https://jupyterlab-code-snippets-documentation.readthedocs.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jupytercalpoly.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-06-17T20:38:36.000Z","updated_at":"2024-12-15T19:14:01.000Z","dependencies_parsed_at":"2024-03-28T08:23:33.883Z","dependency_job_id":null,"html_url":"https://github.com/jupytercalpoly/jupyterlab-code-snippets","commit_stats":{"total_commits":588,"total_committers":9,"mean_commits":65.33333333333333,"dds":0.3299319727891157,"last_synced_commit":"24ea8a6908c8fdc61cd4e500b804291a47ab7e3f"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupytercalpoly%2Fjupyterlab-code-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupytercalpoly%2Fjupyterlab-code-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupytercalpoly%2Fjupyterlab-code-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupytercalpoly%2Fjupyterlab-code-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jupytercalpoly","download_url":"https://codeload.github.com/jupytercalpoly/jupyterlab-code-snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430871,"owners_count":20937874,"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":["code-snippet","jupyterlab","snippet"],"created_at":"2024-08-17T08:05:15.317Z","updated_at":"2025-04-06T04:11:50.529Z","avatar_url":"https://github.com/jupytercalpoly.png","language":"JavaScript","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# JupyterLab Code Snippet\n\n## Save, reuse, and share code snippets using JupyterLab Code Snippets\n\n![Github Actions Status](https://github.com/jupytercalpoly/jupyterlab-code-snippets/workflows/Build/badge.svg) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jupytercalpoly/jupyterlab-code-snippets.git/master?urlpath=lab) [![npm version](https://badge.fury.io/js/jupyterlab-code-snippets.svg)](https://badge.fury.io/js/jupyterlab-code-snippets 'View this project on npm') [![PyPI version](https://badge.fury.io/py/jupyterlab-code-snippets.svg)](https://badge.fury.io/py/jupyterlab-code-snippets) [![Conda Version](https://img.shields.io/conda/vn/conda-forge/jupyterlab-code-snippets.svg)](https://anaconda.org/conda-forge/jupyterlab-code-snippets) [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) [![Documentation Status](https://readthedocs.org/projects/jupyterlab-code-snippets-documentation/badge/?version=latest)](https://jupyterlab-code-snippets-documentation.readthedocs.io/en/latest/?badge=latest)\n\nThis extension is a derivative of [Elyra](https://github.com/elyra-ai/elyra)'s original design and further developed by Jupyter Cal Poly Team.\n\nRead [Press Release](./PRESSRELEASE.md) for more information.\n\nCheck out [the Current Progress](./PROGRESS.md) to keep up with our feature updates!\n\nThis extension is composed of a NPM package named `jupyterlab-code-snippets`\nfor the frontend extension.\n\n![Alt Text](Design/overview.gif)\n\n## Requirements\n\n- JupyterLab \u003e= 3.5.3\n- Python \u003e= 3.7\n\n## Install\n\nInstall using jupyter:\n\n```bash\njupyter labextension install jupyterlab-code-snippets\n```\n\nInstall using pip:\n\n```bash\npip install jupyterlab-code-snippets\n```\n\n```bash\nconda install -c conda-forge jupyterlab-code-snippets\n```\n\n## Troubleshoot\n\nIf it is installed, try:\n\n```bash\njupyter lab clean\njupyter lab build\n```\n\n## Contributing\n\n### Install\n\nThe `jlpm` command is JupyterLab's pinned version of\n[yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use\n`yarn` or `npm` in lieu of `jlpm` below.\n\n```bash\n# Clone the repo to your local environment\n# Move to jupyter-lab-code-snippets directory\n\n# Install dependencies\njlpm\n# Build Typescript source\njlpm build\n# Link your development version of the extension with JupyterLab\njupyter labextension install .\n# Rebuild Typescript source after making changes\njlpm build\n# Rebuild JupyterLab after making any changes\njupyter lab build\n```\n\nYou can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.\n\n```bash\n# Watch the source directory in another terminal tab\njlpm watch\n# Run jupyterlab in watch mode in one terminal tab\njupyter lab --watch\n```\n\nNow every change will be built locally and bundled into JupyterLab. Be sure to refresh your browser page after saving file changes to reload the extension (note: you'll need to wait for webpack to finish, which can take 10s+ at times).\n\n### Uninstall\n\n```bash\njupyter labextension uninstall jupyterlab-code-snippets\n```\n\nOR\n\n```bash\npip uninstall jupyterlab-code-snippets\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupytercalpoly%2Fjupyterlab-code-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjupytercalpoly%2Fjupyterlab-code-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupytercalpoly%2Fjupyterlab-code-snippets/lists"}