{"id":13608875,"url":"https://github.com/jtpio/jupyterlab-python-file","last_synced_at":"2025-10-21T19:13:49.642Z","repository":{"id":48263820,"uuid":"153530911","full_name":"jtpio/jupyterlab-python-file","owner":"jtpio","description":"JupyterLab extension to create Python files","archived":true,"fork":false,"pushed_at":"2025-02-03T07:49:32.000Z","size":305,"stargazers_count":51,"open_issues_count":1,"forks_count":13,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-16T17:42:35.263Z","etag":null,"topics":["jupyter","jupyterlab","jupyterlab-extension"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jtpio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-10-17T22:21:21.000Z","updated_at":"2025-02-04T06:34:15.000Z","dependencies_parsed_at":"2022-08-30T04:52:01.696Z","dependency_job_id":null,"html_url":"https://github.com/jtpio/jupyterlab-python-file","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fjupyterlab-python-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fjupyterlab-python-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fjupyterlab-python-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fjupyterlab-python-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtpio","download_url":"https://codeload.github.com/jtpio/jupyterlab-python-file/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248605392,"owners_count":21132160,"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":["jupyter","jupyterlab","jupyterlab-extension"],"created_at":"2024-08-01T19:01:30.692Z","updated_at":"2025-10-21T19:13:49.329Z","avatar_url":"https://github.com/jtpio.png","language":"Python","funding_links":[],"categories":["JupyterLab扩展"],"sub_categories":[],"readme":"# jupyterlab-python-file\n\n**Archived**\n\nThis project is archived. JupyterLab 3.1+ now supports creating new Python files:\n\n![image](https://user-images.githubusercontent.com/591645/131118479-6587edbd-82d1-4fb4-a025-82ee7b9c62b2.png)\n\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jtpio/jupyterlab-python-file/main?urlpath=lab)\n[![PyPI](https://img.shields.io/pypi/v/jupyterlab-python-file.svg)](https://pypi.org/project/jupyterlab-python-file)\n[![conda-forge](https://img.shields.io/conda/vn/conda-forge/jupyterlab-python-file.svg)](https://anaconda.org/conda-forge/jupyterlab-python-file)\n[![npm](https://img.shields.io/npm/v/jupyterlab-python-file.svg)](https://www.npmjs.com/package/jupyterlab-python-file)\n\nCreate Python Files from JupyterLab\n\n![screenshot](./doc/screenshot.png)\n\n![screenshot2](./doc/screenshot2.png)\n\n## Prerequisites\n\n- JupyterLab 1.0+\n\n## Installation\n\nFor JupyterLab 3.x, the extension can be installed with `pip`:\n\n```bash\npip install jupyterlab-python-file\n```\n\nOr with `conda`:\n\n```bash\nconda install -c conda-forge jupyterlab-python-file\n\n# or with mamba\nmamba install jupyterlab-python-file\n```\n\nFor JupyterLab 1.x and 2.x:\n\n```bash\njupyter labextension install jupyterlab-python-file\n```\n\n## Development\n\nNote: You will need NodeJS to build the extension package.\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# Change directory to the jupyterlab-python-file directory\n\n# create a new environment\nconda create -n jupyterlab-python-file -c conda-forge python nodejs -y\nconda activate jupyterlab-python-file\n\n# install the JupyterLab pre-release\npython -m pip install --pre jupyterlab\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 extension Typescript source after making changes\njlpm run build\n```\n\nYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.\n\n```bash\n# Watch the source directory in one terminal, automatically rebuilding when needed\njlpm run watch\n# Run JupyterLab in another terminal\njupyter lab\n```\n\nWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtpio%2Fjupyterlab-python-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtpio%2Fjupyterlab-python-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtpio%2Fjupyterlab-python-file/lists"}