npe2-0.8.2rc0


توضیحات

napari plugin engine v2
ویژگی مقدار
سیستم عامل -
نام فایل npe2-0.8.2rc0
نام npe2
نسخه کتابخانه 0.8.2rc0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Nathan Clack
ایمیل نویسنده Talley Lambert <talley.lambert@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/npe2/
مجوز BSD-3-Clause
# npe2 - napari plugin engine version 2 [![CI](https://github.com/napari/npe2/actions/workflows/ci.yml/badge.svg)](https://github.com/napari/npe2/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/napari/npe2/branch/main/graph/badge.svg?token=FTH635x542)](https://codecov.io/gh/napari/npe2) ## Project description The **napari plugin engine version 2**, **npe2** extends the functionality of [napari's core](https://github.com/napari/napari). The plugin ecosystem offers user additional functionality for napari as well as specific support for different scientific domains. This repo contains all source code and documentation required for defining, validating and managing plugins for napari. ## Getting started The [napari plugin docs landing page](https://napari.org/stable/plugins/index.html) offers comprehensive information for **plugin users** and for **plugin developers**. ### Plugin users For plugin users, the docs include information about: - [Finding and installing plugins](https://napari.org/stable/plugins/start_using_plugins/finding_and_installing_plugins.html#find-and-install-plugins) ### Plugin developers For plugin developers, the docs cover topics like: - [Building a plugin](https://napari.org/stable/plugins/building_a_plugin/index.html) - [Guides to different plugin contributions](https://napari.org/stable/plugins/building_a_plugin/guides.html) - [Technical references such as the plugin manifest](https://napari.org/stable/plugins/technical_references/manifest.html) Try the [**napari plugin template**](https://github.com/napari/napari-plugin-template) to streamline development of a new plugin. ## Installation The `npe2` command line tool can be installed with `pip` or `conda`, but will already be installed as a dependency if you have napari installed. ### Using pip 1. Create and activate a virtual environment. *If you are new to using virtual environments, visit our [virtual environments guide](https://napari.org/stable/plugins/virtual_environment_docs/1-virtual-environments.html)*. ```bash python3 -m venv .venv source .venv/bin/activate ``` 2. Install npe2. ```bash pip install npe2 ``` 3. Test your installation. ```bash npe2 --help ``` ### Using conda 1. Create and activate a virtual environment. ```bash conda create -n npe-test -c conda-forge python=3.12 conda activate npe-test ``` 2. Install npe2. ```bash conda install npe2 ``` 3. Test your installation. ```bash npe2 --help ``` ## Usage The command line tool `npe2` offers the following commands: ```bash cache Cache utils compile Compile @npe2.implements contributions to generate a manifest. convert Convert first generation napari plugin to new (manifest) format. fetch Fetch manifest from remote package. list List currently installed plugins. parse Show parsed manifest as yaml. validate Validate manifest for a distribution name or manifest filepath. ``` ### Examples List currently installed plugins: ```bash npe2 list ``` Compile a source directory to create a plugin manifest: ```bash npe2 compile PATH_TO_SOURCE_DIRECTORY ``` Convert current directory to an npe2-ready plugin (note: the repo must also be installed and importable in the current environment.): ```bash npe2 convert . ``` Validate a plugin package. For example, a plugin named `your-plugin-package`: ```bash npe2 validate your-plugin-package ``` Show a parsed manifest of your plugin: ```bash npe2 parse your-plugin-package ``` ## License npe2 uses the [BSD License](./LICENSE). ## History This repo replaces the initial napari plugin engine v1. See also https://github.com/napari/napari/issues/3115 for motivation and technical discussion about the creation of v2. ## Contact us Visit [our community documentation](https://napari.org/stable/community/index.html) or [open a new issue on this repo](https://github.com/napari/npe2/issues/new).


نیازمندی

مقدار نام
- build>=1
- platformdirs>=4.3.0
- psygnal>=0.3.0
- pydantic!=2.11.*,>=2.8
- pydantic-extra-types>=2.8
- pyyaml>=6.0
- rich>=14.0.0
- tomli-w>=1.0.0
ython_versio tomli>=2.0.2;
- typer>=0.15.4
xtr furo>=2025.12.19;
xtr jinja2>=3.1.0;
xtr jsonschema>=4.20;
xtr jupyter-book<2,>=1.0.3;
xtr magicgui>=0.10.0;
xtr magicgui>=0.3.3;
xtr napari-plugin-engine>=0.2.0;
xtr napari-svg==0.1.5;
xtr numpy>=1.24.2;
xtr pip>=23.0;
xtr pytest-cov>=7.0.0;
xtr pytest-pretty>=1.2.0;
xtr pytest>=9.0.2;
xtr sphinx-tabs>=3.4.7;
xtr furo>=2025.12.19;
xtr jinja2>=3.1.0;
xtr jupyter-book<2,>=1.0.3;
xtr magicgui>=0.3.3;
xtr sphinx-tabs>=3.4.7;
xtr jsonschema>=4.20;
xtr jsonschema>=4.20;
xtr magicgui>=0.10.0;
xtr napari-plugin-engine>=0.2.0;
xtr napari-svg==0.1.5;
xtr numpy>=1.24.2;
xtr pip>=23.0;
xtr pytest-cov>=7.0.0;
xtr pytest-pretty>=1.2.0;
xtr pytest>=9.0.2;


زبان مورد نیاز

مقدار نام
>=3.10 Python


نحوه نصب


نصب پکیج whl npe2-0.8.2rc0:

    pip install npe2-0.8.2rc0.whl


نصب پکیج tar.gz npe2-0.8.2rc0:

    pip install npe2-0.8.2rc0.tar.gz