napari-geff
A reader and writer for the graph exchange file format (geff)
This napari plugin was generated with copier using the napari-plugin-template.
Installation
You can install napari-geff via pip:
pip install napari-geff
If napari is not already installed, you can install napari-geff with napari and Qt via:
pip install "napari-geff[all]"
Usage
napari-geff supports loading directed graphs stored as GEFF files into
napari as Tracks layers, and saving them back out to GEFF format.
To use napari-geff after installation, simply drag a GEFF file into the viewer and select GEFF IO from the
plugin selection dialog, if required. The file will be loaded as a Tracks layer.
Any node properties defined on your graph will be stored as features on your tracks layer. Edge properties
will be available under layer.metadata['edge_properties'] as a dictionary, but cannot currently be displayed
or used for visualization in napari.
If your file contains image or labels related objects as per the GEFF
spec,
these will also be loaded alongside your Tracks layer.
If you wish to open your geff file into layers programmatically, you can do so using the viewer.open method:
import napari
path = 'path/to/top_level_zarr.zarr/my-geff-group/
viewer = napari.Viewer()
layers = viewer.open(path, plugin='napari-geff')
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 BSD-3 license, "napari-geff" is free and open source software
Acknowledgements
The data in docs/examples/cell_segmentation_data are generated by cropping and resizing images in https://osf.io/ysaq2/, which is distributed with Creative Commons Attribution 4.0 International. See 10.1038/sdata.2018.237 for details.
Issues
If you encounter any problems, please [file an issue] along with a detailed description.
Metadata
Release files for napari-geff 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| napari_geff-0.0.4.tar.gz | 1.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| napari_geff-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.5 MB
Release files / napari_geff-0.0.4.tar.gz
| Download URL | napari_geff-0.0.4.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bdd5fc84d9679007a397418a2df15e355eebbae09a419fe8a067f8cbcd638df
|
|
BLAKE2b-256 checksum How to use checksums |
da9eacd6d2f8956587f0cac59d987b7ca1726797584750e748d0659277ec801b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 24, 2026.
Transparency logRelease files / napari_geff-0.0.4-py3-none-any.whl
| Download URL | napari_geff-0.0.4-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16ae7b5c06a7b5977902a9c99abc6424bec4e2501066b126cc433edc62302402
|
|
BLAKE2b-256 checksum How to use checksums |
294be2ddd2ac70de9bbbfaa0f292db00bc67cff0dedec21adce0eb8e8845bae5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 24, 2026.
Transparency log