{"id":13421765,"url":"https://github.com/jupyterlab/jupyter-renderers","last_synced_at":"2025-05-14T09:11:38.399Z","repository":{"id":38421190,"uuid":"93772766","full_name":"jupyterlab/jupyter-renderers","owner":"jupyterlab","description":"Renderers and renderer extensions for JupyterLab","archived":false,"fork":false,"pushed_at":"2025-02-20T07:10:37.000Z","size":7133,"stargazers_count":498,"open_issues_count":42,"forks_count":78,"subscribers_count":28,"default_branch":"main","last_synced_at":"2025-05-04T15:02:14.096Z","etag":null,"topics":["fasta","geojson","jupyterlab","jupyterlab-extension","katex","plotly","vega","vega-lite"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/jupyterlab.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,"publiccode":null,"codemeta":null},"funding":{"custom":"https://jupyter.org/about#donate"}},"created_at":"2017-06-08T16:59:07.000Z","updated_at":"2025-03-27T17:56:44.000Z","dependencies_parsed_at":"2023-02-08T05:31:13.322Z","dependency_job_id":"75de564a-e801-432a-abee-6877944ea879","html_url":"https://github.com/jupyterlab/jupyter-renderers","commit_stats":{"total_commits":461,"total_committers":30,"mean_commits":"15.366666666666667","dds":0.6355748373101953,"last_synced_commit":"63af72ba0c8ec0123acb9e317366ed31ce0e1488"},"previous_names":[],"tags_count":142,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterlab%2Fjupyter-renderers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterlab%2Fjupyter-renderers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterlab%2Fjupyter-renderers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterlab%2Fjupyter-renderers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jupyterlab","download_url":"https://codeload.github.com/jupyterlab/jupyter-renderers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254110374,"owners_count":22016391,"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":["fasta","geojson","jupyterlab","jupyterlab-extension","katex","plotly","vega","vega-lite"],"created_at":"2024-07-30T23:00:29.697Z","updated_at":"2025-05-14T09:11:38.352Z","avatar_url":"https://github.com/jupyterlab.png","language":"HTML","funding_links":["https://jupyter.org/about#donate"],"categories":["Uncategorized","HTML","JupyterLab Renderer","JupyterLab渲染器"],"sub_categories":["Uncategorized"],"readme":"# Jupyter Renderers\n\n![Github Actions Status](https://github.com/jupyterlab/jupyter-renderers/workflows/CI/badge.svg)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jupyterlab/jupyter-renderers/master?urlpath=lab/tree/notebooks)\n\nThis is a\n[monorepo](https://github.com/lerna/lerna#what-does-a-lerna-repo-look-like) that\nconsists of [JupyterLab](https://github.com/jupyterlab/jupyterlab) _mimerender extensions_ for common file and MIME types.\n\n## Packages\n\n| Name                                              | Mime types                                                         | File extensions                                            | Info                                                                                                                            |\n| ------------------------------------------------- | ------------------------------------------------------------------ | ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |\n| [fasta-extension](packages/fasta-extension)       | `application/vnd.fasta.fasta`                                      | `.fasta`                                                   | [![Version](https://img.shields.io/pypi/v/jupyterlab-fasta?style=flat-square)](https://pypi.org/project/jupyterlab-fasta/)      |\n| [geojson-extension](packages/geojson-extension)   | `application/geo+json`                                             | `.geojson`, `.geo.json`                                    | [![Version](https://img.shields.io/pypi/v/jupyterlab-geojson?style=flat-square)](https://pypi.org/project/jupyterlab-geojson)   |\n| [katex-extension](packages/katex-extension)       | N/A                                                                | N/A                                                        | [![Version](https://img.shields.io/pypi/v/jupyterlab-katex?style=flat-square)](https://pypi.org/project/jupyterlab-katex)       |\n| [mathjax2-extension](packages/mathjax2-extension) | N/A                                                                | N/A                                                        | [![Version](https://img.shields.io/pypi/v/jupyterlab-mathjax2?style=flat-square)](https://pypi.org/project/jupyterlab-mathjax2) |\n| [vega3-extension](packages/vega3-extension)       | `application/vnd.vega.v3+json`, `application/vnd.vegalite.v2+json` | `.vg`, `.vl`, `.vg.json`, `.vl.json`, `.vega`, `.vegalite` | [![Version](https://img.shields.io/pypi/v/jupyterlab-vega3?style=flat-square)](https://pypi.org/project/jupyterlab-vega3)       |\n\n## Looking for plotly-extension?\n\n[@jupyterlab/plotly-extension](https://www.npmjs.com/package/@jupyterlab/plotly-extension) is being deprecated. Please use the Plotly-supported [jupyterlab-plotly](https://www.npmjs.com/package/jupyterlab-plotly). See the [plotly.py README](https://github.com/plotly/plotly.py#jupyterlab-support-python-35) for more info.\n\n## Install\n\nWith JupyterLab 3.0 and above, it is possible to install the prebuilt extensions with `pip`:\n\n```bash\npip install jupyterlab-fasta\npip install jupyterlab-geojson\npip install jupyterlab-katex\npip install jupyterlab-mathjax2\npip install jupyterlab-vega3\n```\n\n## Contributing\n\nIf you would like to contribute to the project, please read our [contributor documentation](https://github.com/jupyterlab/jupyterlab/blob/master/CONTRIBUTING.md).\n\nJupyterLab follows the official [Jupyter Code of Conduct](https://github.com/jupyter/governance/blob/master/conduct/code_of_conduct.md).\n\n## Requirements\n\n- Node.js \u003e= 18 (see [Installing Node.js and jlpm](https://github.com/jupyterlab/jupyterlab/blob/master/CONTRIBUTING.md#installing-nodejs-and-jlpm) in the JupyterLab docs)\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\ngit clone https://github.com/jupyterlab/jupyter-renderers.git\ncd jupyter-renderers\n\n# install the fasta extension\ncd packages/fasta-extension\n\n# Install package in development mode\npip install -e .\n\n# Link your development version of the extension with JupyterLab\njupyter labextension develop . --overwrite\n\n# Rebuild the extensions TypeScript source after making changes\njlpm run build\n```\n\n### Rebuilding extensions\n\nAfter making changes to the source packages, the packages must be rebuilt:\n\n```bash\n# Rebuild all the extensions at once\njlpm run build\n\n# To rebuilt a particular extension, for example the fasta extension\ncd packages/fasta-extension\njlpm run build\n```\n\nYou may also watch a particular extension directory for changes and automatically rebuild:\n\n```bash\n# In one terminal tab, watch the jupyter-fasta directory\ncd packages/fasta-extension\njlpm run watch\n\n# Run JupyterLab in another terminal\njupyter lab\n```\n\n### Publishing packages\n\nBuild all Python packages:\n\n```\nrm -rf dist/*\njlpm build-py\ntwine upload dist/jupyterlab*\n```\n\n### Creating icons\n\nTo create a JupyterLab icon for a new MIME or file type, you can use the Sketch\nfile in this repo or [fork the file on\nFigma](https://www.figma.com/file/c2TwOvxAAXCzDccrybQKapZK/icons?node-id=0%3A1)\nand export your icon as an SVG. See the [GeoJSON icon](https://github.com/jupyterlab/jupyter-renderers/tree/master/packages/geojson-extension/style) for reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupyterlab%2Fjupyter-renderers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjupyterlab%2Fjupyter-renderers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupyterlab%2Fjupyter-renderers/lists"}