deephaven-plugin-ui


Namedeephaven-plugin-ui JSON
Version 0.13.1 PyPI version JSON
download
home_pagehttps://github.com/deephaven/deephaven-plugins
Summarydeephaven.ui plugin
upload_time2024-04-22 16:18:46
maintainerNone
docs_urlNone
authorDeephaven Data Labs
requires_pythonNone
licenseNone
keywords deephaven plugin graph
VCS
bugtrack_url
requirements pre-commit build pip setuptools tox
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # deephaven.ui Plugin

Plugin prototype for programmatic layouts and callbacks. Currently calling it `deephaven.ui` but that's not set in stone.

## Build

To create your build / development environment (skip the first two lines if you already have a venv):

```sh
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip setuptools
pip install build deephaven-plugin plotly
```

To build:

```sh
python -m build --wheel
```

The wheel is stored in `dist/`.

To test within [deephaven-core](https://github.com/deephaven/deephaven-core), note where this wheel is stored (using `pwd`, for example).
Then, follow the directions in the top-level README.md to install the wheel into your Deephaven environment.

To unit test, run the following command from the root of the repo:

```sh
tox -e py
```

## Usage

Once you have the JS and python plugins installed and the server started, you can use deephaven.ui. See [examples](examples/README.md) for examples.

## Logging

The Python library uses the [logging](https://docs.python.org/3/howto/logging.html) module to log messages. The default log level is `WARNING`. To change the log level for debugging, set the log level to `DEBUG`:

```python
import logging
import sys

# Have the root logger output to stdout instead of stderr
logging.basicConfig(stream=sys.stdout, level=logging.WARNING)

# Set the log level for the deephaven.ui logger to DEBUG
logging.getLogger("deephaven.ui").setLevel(level=logging.DEBUG)
```

You can also set the log level for specific modules if you want to see specific modules' debug messages or filter out other ones, e.g.

```python
# Only log warnings from deephaven.ui.hooks
logging.getLogger("deephaven.ui.hooks").setLevel(level=logging.WARNING)

# Log all debug messages from the render module specifically
logging.getLogger("deephaven.ui.render").setLevel(level=logging.DEBUG)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/deephaven/deephaven-plugins",
    "name": "deephaven-plugin-ui",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "deephaven, plugin, graph",
    "author": "Deephaven Data Labs",
    "author_email": "support@deephaven.io",
    "download_url": "https://files.pythonhosted.org/packages/24/13/ab03a647ca84aac33e2f789c770429dd18f1e4dd8008cdb0a4be2bc647e7/deephaven_plugin_ui-0.13.1.tar.gz",
    "platform": "any",
    "description": "# deephaven.ui Plugin\n\nPlugin prototype for programmatic layouts and callbacks. Currently calling it `deephaven.ui` but that's not set in stone.\n\n## Build\n\nTo create your build / development environment (skip the first two lines if you already have a venv):\n\n```sh\npython -m venv .venv\nsource .venv/bin/activate\npip install --upgrade pip setuptools\npip install build deephaven-plugin plotly\n```\n\nTo build:\n\n```sh\npython -m build --wheel\n```\n\nThe wheel is stored in `dist/`.\n\nTo test within [deephaven-core](https://github.com/deephaven/deephaven-core), note where this wheel is stored (using `pwd`, for example).\nThen, follow the directions in the top-level README.md to install the wheel into your Deephaven environment.\n\nTo unit test, run the following command from the root of the repo:\n\n```sh\ntox -e py\n```\n\n## Usage\n\nOnce you have the JS and python plugins installed and the server started, you can use deephaven.ui. See [examples](examples/README.md) for examples.\n\n## Logging\n\nThe Python library uses the [logging](https://docs.python.org/3/howto/logging.html) module to log messages. The default log level is `WARNING`. To change the log level for debugging, set the log level to `DEBUG`:\n\n```python\nimport logging\nimport sys\n\n# Have the root logger output to stdout instead of stderr\nlogging.basicConfig(stream=sys.stdout, level=logging.WARNING)\n\n# Set the log level for the deephaven.ui logger to DEBUG\nlogging.getLogger(\"deephaven.ui\").setLevel(level=logging.DEBUG)\n```\n\nYou can also set the log level for specific modules if you want to see specific modules' debug messages or filter out other ones, e.g.\n\n```python\n# Only log warnings from deephaven.ui.hooks\nlogging.getLogger(\"deephaven.ui.hooks\").setLevel(level=logging.WARNING)\n\n# Log all debug messages from the render module specifically\nlogging.getLogger(\"deephaven.ui.render\").setLevel(level=logging.DEBUG)\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "deephaven.ui plugin",
    "version": "0.13.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/deephaven/deephaven-plugins/issues",
        "Homepage": "https://github.com/deephaven/deephaven-plugins",
        "Source Code": "https://github.com/deephaven/deephaven-plugins"
    },
    "split_keywords": [
        "deephaven",
        " plugin",
        " graph"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "16d9c2f8746af659a9029e6b1b96ed68ecaa1ac854e0525d15071802b9f0a446",
                "md5": "ae9861147a74e81c4b5e792f020f8b00",
                "sha256": "422f8d559d4273ea3b453427d7cb79904ec8b04fa29900dfae730f72943dda27"
            },
            "downloads": -1,
            "filename": "deephaven_plugin_ui-0.13.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ae9861147a74e81c4b5e792f020f8b00",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 137814,
            "upload_time": "2024-04-22T16:18:44",
            "upload_time_iso_8601": "2024-04-22T16:18:44.553895Z",
            "url": "https://files.pythonhosted.org/packages/16/d9/c2f8746af659a9029e6b1b96ed68ecaa1ac854e0525d15071802b9f0a446/deephaven_plugin_ui-0.13.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2413ab03a647ca84aac33e2f789c770429dd18f1e4dd8008cdb0a4be2bc647e7",
                "md5": "39266a85d1a01c5d89a735cc80685165",
                "sha256": "07ae7014230ae4b0e0377bfb99dfb720452b50d1a528b1b357cb2cda0c0f381a"
            },
            "downloads": -1,
            "filename": "deephaven_plugin_ui-0.13.1.tar.gz",
            "has_sig": false,
            "md5_digest": "39266a85d1a01c5d89a735cc80685165",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 111335,
            "upload_time": "2024-04-22T16:18:46",
            "upload_time_iso_8601": "2024-04-22T16:18:46.513484Z",
            "url": "https://files.pythonhosted.org/packages/24/13/ab03a647ca84aac33e2f789c770429dd18f1e4dd8008cdb0a4be2bc647e7/deephaven_plugin_ui-0.13.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-22 16:18:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "deephaven",
    "github_project": "deephaven-plugins",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "pre-commit",
            "specs": [
                [
                    "==",
                    "3.3.3"
                ]
            ]
        },
        {
            "name": "build",
            "specs": []
        },
        {
            "name": "pip",
            "specs": []
        },
        {
            "name": "setuptools",
            "specs": []
        },
        {
            "name": "tox",
            "specs": []
        }
    ],
    "lcname": "deephaven-plugin-ui"
}
        
Elapsed time: 0.23565s