# napari-layer-table
[](https://www.gnu.org/licenses/gpl-3.0)
[](https://badge.fury.io/py/napari-layer-table)
[](https://napari-hub.org/plugins/napari-layer-table)
[](https://www.python.org/downloads/release/python-3100/)
[]()
[](https://github.com/mapmanager/napari-layer-table/actions)
[](https://codecov.io/gh/mapmanager/napari-layer-table)
<!-- [](https://pypi.org/project/napari-layer-table) -->
<!-- [](https://napari-hub.org/plugins/napari-layer-table) -->
A plugin to display a layer as a table.
This will work well with point layers. We are debugging shapes and labeled layers, come back to check on that!
----------------------------------
This [napari] plugin was generated with [Cookiecutter] using [@napari]'s [cookiecutter-napari-plugin] template.
<!--
Don't miss the full getting started guide to set up your new package:
https://github.com/napari/cookiecutter-napari-plugin#getting-started
and review the napari docs for plugin developers:
https://napari.org/plugins/stable/index.html
-->
## Installation
You can install `napari-layer-table` via [pip]:
pip install napari-layer-table
To install latest development version :
pip install git+https://github.com/mapmanager/napari-layer-table.git
## Using the Plugin
You can use the napari-layer-table plugin to display points layer as a table.
- Open a napari viewer with a Points layer
- Add the plugin to the napari viewer from Plugins menu -> Add dock widget -> napari-layer-table: Points Table
- The selected layer is displayed in the table.
- The table has columns for:
- Point symbol with face color
- Point coordinates (x,y,z)
- If the layer has properties, they are also shown as columns

## Plugin Features
- Bi-directional selection between layer and table.
- Bi-directional deletion between layer and table.
- Points added to the layer are added to the table.
- Points moved in the layer are updated in the table.
- Multiple points selected in the layer are also selected in the table
- Changes to face color and symbol in the layer are updated in the table.
- Ability to sort individual columns from low to high or high to low
- `Refresh` button to manually refresh the table data
- `btf` button to manually bring the layer whose table data is being shown to front
Right-click for context menu to:
- Toggle table columns on/off.
- Toggle shift+click to add a point to the layer (no need to switch viewer mode)
- Copy table to clipboard
## Contributing
Contributions are very welcome. Tests can be run with [tox], please ensure
the coverage at least stays the same before you submit a pull request.
## License
Distributed under the terms of the [GNU GPL v3.0] license,
"napari-layer-table" is free and open source software
## Issues
If you encounter any problems, please [file an issue] along with a detailed description.
[napari]: https://github.com/napari/napari
[Cookiecutter]: https://github.com/audreyr/cookiecutter
[@napari]: https://github.com/napari
[MIT]: http://opensource.org/licenses/MIT
[BSD-3]: http://opensource.org/licenses/BSD-3-Clause
[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt
[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt
[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0
[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt
[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin
[file an issue]: https://github.com/mapmanager/napari-layer-table/issues
[napari]: https://github.com/napari/napari
[tox]: https://tox.readthedocs.io/en/latest/
[pip]: https://pypi.org/project/pip/
[PyPI]: https://pypi.org/
Raw data
{
"_id": null,
"home_page": "https://github.com/mapmanager/napari-layer-table",
"name": "napari-layer-table",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Robert Cudmore",
"author_email": "rhcudmore@ucdavis.edu",
"download_url": "https://files.pythonhosted.org/packages/2e/e2/c5406831b78414d9046be70f1081aba3185bf2abf363f26e4f4d170e8c61/napari_layer_table-0.0.13.tar.gz",
"platform": null,
"description": "# napari-layer-table\n\n[](https://www.gnu.org/licenses/gpl-3.0)\n[](https://badge.fury.io/py/napari-layer-table)\n[](https://napari-hub.org/plugins/napari-layer-table)\n[](https://www.python.org/downloads/release/python-3100/)\n[]()\n[](https://github.com/mapmanager/napari-layer-table/actions)\n[](https://codecov.io/gh/mapmanager/napari-layer-table)\n<!-- [](https://pypi.org/project/napari-layer-table) -->\n<!-- [](https://napari-hub.org/plugins/napari-layer-table) -->\n\nA plugin to display a layer as a table.\n\nThis will work well with point layers. We are debugging shapes and labeled layers, come back to check on that!\n\n----------------------------------\n\nThis [napari] plugin was generated with [Cookiecutter] using [@napari]'s [cookiecutter-napari-plugin] template.\n\n<!--\nDon't miss the full getting started guide to set up your new package:\nhttps://github.com/napari/cookiecutter-napari-plugin#getting-started\n\nand review the napari docs for plugin developers:\nhttps://napari.org/plugins/stable/index.html\n-->\n\n## Installation\n\nYou can install `napari-layer-table` via [pip]:\n\n pip install napari-layer-table\n\n\n\nTo install latest development version :\n\n pip install git+https://github.com/mapmanager/napari-layer-table.git\n\n## Using the Plugin\n\nYou can use the napari-layer-table plugin to display points layer as a table.\n\n- Open a napari viewer with a Points layer\n- Add the plugin to the napari viewer from Plugins menu -> Add dock widget -> napari-layer-table: Points Table\n- The selected layer is displayed in the table.\n- The table has columns for:\n - Point symbol with face color\n - Point coordinates (x,y,z)\n - If the layer has properties, they are also shown as columns\n\n\n\n## Plugin Features\n\n- Bi-directional selection between layer and table.\n- Bi-directional deletion between layer and table.\n- Points added to the layer are added to the table.\n- Points moved in the layer are updated in the table.\n- Multiple points selected in the layer are also selected in the table\n- Changes to face color and symbol in the layer are updated in the table.\n- Ability to sort individual columns from low to high or high to low\n- `Refresh` button to manually refresh the table data\n- `btf` button to manually bring the layer whose table data is being shown to front\n\nRight-click for context menu to:\n\n- Toggle table columns on/off.\n- Toggle shift+click to add a point to the layer (no need to switch viewer mode)\n- Copy table to clipboard\n\n## Contributing\n\nContributions are very welcome. Tests can be run with [tox], please ensure\nthe coverage at least stays the same before you submit a pull request.\n\n## License\n\nDistributed under the terms of the [GNU GPL v3.0] license,\n\"napari-layer-table\" is free and open source software\n\n## Issues\n\nIf you encounter any problems, please [file an issue] along with a detailed description.\n\n[napari]: https://github.com/napari/napari\n[Cookiecutter]: https://github.com/audreyr/cookiecutter\n[@napari]: https://github.com/napari\n[MIT]: http://opensource.org/licenses/MIT\n[BSD-3]: http://opensource.org/licenses/BSD-3-Clause\n[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt\n[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt\n[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0\n[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt\n[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin\n\n[file an issue]: https://github.com/mapmanager/napari-layer-table/issues\n\n[napari]: https://github.com/napari/napari\n[tox]: https://tox.readthedocs.io/en/latest/\n[pip]: https://pypi.org/project/pip/\n[PyPI]: https://pypi.org/\n",
"bugtrack_url": null,
"license": "GPL-3.0-only",
"summary": "A plugin to display a layer as a table.",
"version": "0.0.13",
"project_urls": {
"Bug Tracker": "https://github.com/mapmanager/napari-layer-table/issues",
"Documentation": "https://github.com/mapmanager/napari-layer-table#README.md",
"Homepage": "https://github.com/mapmanager/napari-layer-table",
"Source Code": "https://github.com/mapmanager/napari-layer-table",
"User Support": "https://github.com/mapmanager/napari-layer-table/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "021c1d2a9a08c60e91813db3467bb55ad4f4eec39197d73e99ecbb6450b81f89",
"md5": "37b9558e41839a666273405700b593db",
"sha256": "939d1b8fc899bf1f3596eabe96f92d07d48f5b358a09184c3b26dcc62bbed06f"
},
"downloads": -1,
"filename": "napari_layer_table-0.0.13-py3-none-any.whl",
"has_sig": false,
"md5_digest": "37b9558e41839a666273405700b593db",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 60742,
"upload_time": "2024-06-12T23:45:10",
"upload_time_iso_8601": "2024-06-12T23:45:10.888603Z",
"url": "https://files.pythonhosted.org/packages/02/1c/1d2a9a08c60e91813db3467bb55ad4f4eec39197d73e99ecbb6450b81f89/napari_layer_table-0.0.13-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2ee2c5406831b78414d9046be70f1081aba3185bf2abf363f26e4f4d170e8c61",
"md5": "f3f9e3184c943be1794f4b8e52acd107",
"sha256": "75c0065133de152118bb761f847895f9354603b4f030a7103fd62767b47fb806"
},
"downloads": -1,
"filename": "napari_layer_table-0.0.13.tar.gz",
"has_sig": false,
"md5_digest": "f3f9e3184c943be1794f4b8e52acd107",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 57143,
"upload_time": "2024-06-12T23:45:12",
"upload_time_iso_8601": "2024-06-12T23:45:12.076374Z",
"url": "https://files.pythonhosted.org/packages/2e/e2/c5406831b78414d9046be70f1081aba3185bf2abf363f26e4f4d170e8c61/napari_layer_table-0.0.13.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-12 23:45:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mapmanager",
"github_project": "napari-layer-table",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "numpy",
"specs": []
},
{
"name": "pandas",
"specs": []
},
{
"name": "qtpy",
"specs": []
},
{
"name": "PyQt5",
"specs": []
},
{
"name": "pytest-qt",
"specs": []
},
{
"name": "pytest-cov",
"specs": []
},
{
"name": "napari",
"specs": []
}
],
"tox": true,
"lcname": "napari-layer-table"
}