jupyterlab-reset-fixer


Namejupyterlab-reset-fixer JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/team-monolith-product/jupyterlab-reset-fixer
Summaryfixes regex pattern for reset-on-load command.
upload_time2022-10-08 10:29:22
maintainer
docs_urlNone
authorChangHwan Lee
requires_python>=3.7
licenseBSD-3-Clause
keywords jupyter jupyterlab jupyterlab3
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # jupyterlab_reset_fixer

It fixes regex pattern for reset-on-load command. `reset=` also triggers workspace reset.


## Requirements

### 0.\*.\*

- JupyterLab >= 3.0

### 1.\*.\*

- JupyterLab >= 4.0

1.* versions are developed and tested with JupyterLab 4.0.0a29.

## Install

To install the extension, execute:

```bash
pip install jupyterlab_reset_fixer
```

## Uninstall

To remove the extension, execute:

```bash
pip uninstall jupyterlab_reset_fixer
```

## Contributing

### Creating Conda Environment

For `0.*.*` versions,
```
conda create -n jupyterlab-ext --override-channels --strict-channel-priority -c conda-forge -c nodefaults jupyterlab=3 cookiecutter nodejs jupyter-packaging git
```

### Development install

Note: You will need NodeJS to build the extension package.

The `jlpm` command is JupyterLab's pinned version of
[yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
`yarn` or `npm` in lieu of `jlpm` below.

```bash
# Clone the repo to your local environment
# Change directory to the jupyterlab_reset_fixer directory
# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm build
```

You 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.

```bash
# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm watch
# Run JupyterLab in another terminal
jupyter lab
```

With 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).

By default, the `jlpm build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:

```bash
jupyter lab build --minimize=False
```

### Development uninstall

```bash
pip uninstall jupyterlab_reset_fixer
```

In development mode, you will also need to remove the symlink created by `jupyter labextension develop`
command. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`
folder is located. Then you can remove the symlink named `jupyterlab-reset-fixer` within that folder.

### Testing the extension

#### Frontend tests

This extension is using [Jest](https://jestjs.io/) for JavaScript code testing.

To execute them, execute:

```sh
jlpm
jlpm test
```

#### Integration tests

This extension uses [Playwright](https://playwright.dev/docs/intro/) for the integration tests (aka user level tests).
More precisely, the JupyterLab helper [Galata](https://github.com/jupyterlab/jupyterlab/tree/master/galata) is used to handle testing the extension in JupyterLab.

More information are provided within the [ui-tests](./ui-tests/README.md) README.

### Packaging the extension

See [RELEASE](RELEASE.md)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/team-monolith-product/jupyterlab-reset-fixer",
    "name": "jupyterlab-reset-fixer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "Jupyter,JupyterLab,JupyterLab3",
    "author": "ChangHwan Lee",
    "author_email": "lch@team-mono.com",
    "download_url": "https://files.pythonhosted.org/packages/44/cd/52173a4c7e68236a97bd219033072824c584b48f016f4e0cd5ec74e9d3c7/jupyterlab_reset_fixer-1.0.0.tar.gz",
    "platform": "Linux",
    "description": "# jupyterlab_reset_fixer\n\nIt fixes regex pattern for reset-on-load command. `reset=` also triggers workspace reset.\n\n\n## Requirements\n\n### 0.\\*.\\*\n\n- JupyterLab >= 3.0\n\n### 1.\\*.\\*\n\n- JupyterLab >= 4.0\n\n1.* versions are developed and tested with JupyterLab 4.0.0a29.\n\n## Install\n\nTo install the extension, execute:\n\n```bash\npip install jupyterlab_reset_fixer\n```\n\n## Uninstall\n\nTo remove the extension, execute:\n\n```bash\npip uninstall jupyterlab_reset_fixer\n```\n\n## Contributing\n\n### Creating Conda Environment\n\nFor `0.*.*` versions,\n```\nconda create -n jupyterlab-ext --override-channels --strict-channel-priority -c conda-forge -c nodefaults jupyterlab=3 cookiecutter nodejs jupyter-packaging git\n```\n\n### Development install\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_reset_fixer directory\n# Install package in development mode\npip install -e .\n# Link your development version of the extension with JupyterLab\njupyter labextension develop . --overwrite\n# Rebuild extension Typescript source after making changes\njlpm 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 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\nBy default, the `jlpm build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:\n\n```bash\njupyter lab build --minimize=False\n```\n\n### Development uninstall\n\n```bash\npip uninstall jupyterlab_reset_fixer\n```\n\nIn development mode, you will also need to remove the symlink created by `jupyter labextension develop`\ncommand. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`\nfolder is located. Then you can remove the symlink named `jupyterlab-reset-fixer` within that folder.\n\n### Testing the extension\n\n#### Frontend tests\n\nThis extension is using [Jest](https://jestjs.io/) for JavaScript code testing.\n\nTo execute them, execute:\n\n```sh\njlpm\njlpm test\n```\n\n#### Integration tests\n\nThis extension uses [Playwright](https://playwright.dev/docs/intro/) for the integration tests (aka user level tests).\nMore precisely, the JupyterLab helper [Galata](https://github.com/jupyterlab/jupyterlab/tree/master/galata) is used to handle testing the extension in JupyterLab.\n\nMore information are provided within the [ui-tests](./ui-tests/README.md) README.\n\n### Packaging the extension\n\nSee [RELEASE](RELEASE.md)\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "fixes regex pattern for reset-on-load command.",
    "version": "1.0.0",
    "split_keywords": [
        "jupyter",
        "jupyterlab",
        "jupyterlab3"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "554c61ba2ce392d7fd9a9f051c12f9b1633edc8e900d9b1e61d968e24eaac7b6",
                "md5": "08544e403984544041d3a28d9b405a19",
                "sha256": "9d26201d0f1de3e46554de28e83043d0abb95c7afe44720b150c87b49c3c34b3"
            },
            "downloads": -1,
            "filename": "jupyterlab_reset_fixer-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "08544e403984544041d3a28d9b405a19",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 23026,
            "upload_time": "2022-10-08T10:29:20",
            "upload_time_iso_8601": "2022-10-08T10:29:20.915724Z",
            "url": "https://files.pythonhosted.org/packages/55/4c/61ba2ce392d7fd9a9f051c12f9b1633edc8e900d9b1e61d968e24eaac7b6/jupyterlab_reset_fixer-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "44cd52173a4c7e68236a97bd219033072824c584b48f016f4e0cd5ec74e9d3c7",
                "md5": "0eeb9c0b7b58af417e4cd566432d9fbc",
                "sha256": "6d58b73b7aab144a14fa7558eb3068c8db50b0f557dacc53c1b4e80bc854ef06"
            },
            "downloads": -1,
            "filename": "jupyterlab_reset_fixer-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "0eeb9c0b7b58af417e4cd566432d9fbc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 194581,
            "upload_time": "2022-10-08T10:29:22",
            "upload_time_iso_8601": "2022-10-08T10:29:22.576502Z",
            "url": "https://files.pythonhosted.org/packages/44/cd/52173a4c7e68236a97bd219033072824c584b48f016f4e0cd5ec74e9d3c7/jupyterlab_reset_fixer-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-10-08 10:29:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "team-monolith-product",
    "github_project": "jupyterlab-reset-fixer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "jupyterlab-reset-fixer"
}
        
Elapsed time: 0.11312s