tiledb-prompt-options


Nametiledb-prompt-options JSON
Version 1.0.10 PyPI version JSON
download
home_pagehttps://github.com/TileDB-Inc/TileDB-Cloud-Jupyter-Prompt-Options.git
SummaryTileDB notebook extension to prompt user for notebook options
upload_time2023-06-21 10:22:01
maintainer
docs_urlNone
authorTileDB, Inc.
requires_python>=3.6
licenseMIT
keywords jupyter jupyterlab jupyterlab3
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # tiledb-prompt-options

[![Github Actions Status](https://github.com/TileDB-Inc/TileDB-Cloud-Jupyter-Prompt-Options.git/workflows/Build/badge.svg)](https://github.com/TileDB-Inc/TileDB-Cloud-Jupyter-Prompt-Options.git/actions/workflows/build.yml)

TileDB notebook extension to prompt user for notebook options


This extension is composed of a Python package named `tiledb-prompt-options`
for the server extension and a NPM package named `@tiledb-inc/tiledb_prompt_options`
for the frontend extension.


## Requirements

* JupyterLab >= 3.0

## Install

To install the extension, execute:

```bash
pip install tiledb-prompt-options
```

## Uninstall

To remove the extension, execute:

```bash
pip uninstall tiledb-prompt-options
```


## Troubleshoot

If you are seeing the frontend extension, but it is not working, check
that the server extension is enabled:

```bash
jupyter server extension list
```

If the server extension is installed and enabled, but you are not seeing
the frontend extension, check the frontend extension is installed:

```bash
jupyter labextension list
```


## Contributing

### 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 tiledb-prompt-options directory
# Install package in development mode
python -m pip install .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Server extension must be manually installed in develop mode
jupyter server extension enable tiledb-prompt-options
# Rebuild extension Typescript source after making changes
jlpm run 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 run 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 run 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
# Server extension must be manually disabled in develop mode
jupyter server extension disable tiledb-prompt-options
pip uninstall tiledb-prompt-options
```

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 `@tiledb-inc/tiledb_prompt_options` within that folder.

### Packaging the extension

See [RELEASE](RELEASE.md)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/TileDB-Inc/TileDB-Cloud-Jupyter-Prompt-Options.git",
    "name": "tiledb-prompt-options",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "Jupyter,JupyterLab,JupyterLab3",
    "author": "TileDB, Inc.",
    "author_email": "support@tiledb.com",
    "download_url": "",
    "platform": "Linux",
    "description": "# tiledb-prompt-options\n\n[![Github Actions Status](https://github.com/TileDB-Inc/TileDB-Cloud-Jupyter-Prompt-Options.git/workflows/Build/badge.svg)](https://github.com/TileDB-Inc/TileDB-Cloud-Jupyter-Prompt-Options.git/actions/workflows/build.yml)\n\nTileDB notebook extension to prompt user for notebook options\n\n\nThis extension is composed of a Python package named `tiledb-prompt-options`\nfor the server extension and a NPM package named `@tiledb-inc/tiledb_prompt_options`\nfor the frontend extension.\n\n\n## Requirements\n\n* JupyterLab >= 3.0\n\n## Install\n\nTo install the extension, execute:\n\n```bash\npip install tiledb-prompt-options\n```\n\n## Uninstall\n\nTo remove the extension, execute:\n\n```bash\npip uninstall tiledb-prompt-options\n```\n\n\n## Troubleshoot\n\nIf you are seeing the frontend extension, but it is not working, check\nthat the server extension is enabled:\n\n```bash\njupyter server extension list\n```\n\nIf the server extension is installed and enabled, but you are not seeing\nthe frontend extension, check the frontend extension is installed:\n\n```bash\njupyter labextension list\n```\n\n\n## Contributing\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 tiledb-prompt-options directory\n# Install package in development mode\npython -m pip install .\n# Link your development version of the extension with JupyterLab\njupyter labextension develop . --overwrite\n# Server extension must be manually installed in develop mode\njupyter server extension enable tiledb-prompt-options\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\nBy default, the `jlpm run 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\n# Server extension must be manually disabled in develop mode\njupyter server extension disable tiledb-prompt-options\npip uninstall tiledb-prompt-options\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 `@tiledb-inc/tiledb_prompt_options` within that folder.\n\n### Packaging the extension\n\nSee [RELEASE](RELEASE.md)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "TileDB notebook extension to prompt user for notebook options",
    "version": "1.0.10",
    "project_urls": {
        "Homepage": "https://github.com/TileDB-Inc/TileDB-Cloud-Jupyter-Prompt-Options.git"
    },
    "split_keywords": [
        "jupyter",
        "jupyterlab",
        "jupyterlab3"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db2fa3937b108892475d5b0e56369406387d83c99ad603460ff87cdda683d8a4",
                "md5": "7966519a23835ed967bd012385b3d7fb",
                "sha256": "eb9aa63e0e4e34e5bafaeffd8004c3b1d6f4eb7064aa78b0a4ce2caf1b7849ed"
            },
            "downloads": -1,
            "filename": "tiledb_prompt_options-1.0.10-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7966519a23835ed967bd012385b3d7fb",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.6",
            "size": 27375,
            "upload_time": "2023-06-21T10:22:01",
            "upload_time_iso_8601": "2023-06-21T10:22:01.872504Z",
            "url": "https://files.pythonhosted.org/packages/db/2f/a3937b108892475d5b0e56369406387d83c99ad603460ff87cdda683d8a4/tiledb_prompt_options-1.0.10-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-21 10:22:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TileDB-Inc",
    "github_project": "TileDB-Cloud-Jupyter-Prompt-Options",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tiledb-prompt-options"
}
        
Elapsed time: 0.09623s