napari-plugin-engine-0.2.1rc0
توضیحات
napari plugin engine, fork of pluggy
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | napari-plugin-engine-0.2.1rc0 |
| نام | napari-plugin-engine |
| نسخه کتابخانه | 0.2.1rc0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | napari team |
| ایمیل نویسنده | napari-steering-council@googlegroups.com |
| آدرس صفحه اصلی | https://github.com/napari/napari-plugin-engine |
| آدرس اینترنتی | https://pypi.org/project/napari-plugin-engine/ |
| مجوز | MIT |
# napari plugin engine
[](https://github.com/napari/napari-plugin-engine/raw/master/LICENSE)
[](https://travis-ci.com/napari/napari-plugin-engine)
[](https://readthedocs.org/projects/napari_plugin_engine/)
[](https://codecov.io/gh/napari/napari)
[](https://python.org)
[](https://pypi.org/project/napari-plugin-engine)

---
**DEPRECATED**:
This project is deprecated. Please use [npe2](https://github.com/napari/npe2) instead.
`napari-plugin-engine` is the first generation napari plugin engine. We
recommend:
- new plugins use the second generation [npe2](https://github.com/napari/npe2)
- existing plugins migrate to npe2 using the [Migration Guide](https://napari.org/stable/plugins/advanced_topics/npe2_migration_guide.html) in our docs.
---
`napari-plugin-engine` is a fork of [pluggy](https://github.com/pytest-dev/pluggy),
modified by the [napari](https://github.com/napari/napari) team.
There are some API and feature changes, including:
- discovery via [naming
convention](https://packaging.python.org/guides/creating-and-discovering-plugins/#using-naming-convention)
as well as
[entry_points](https://packaging.python.org/guides/creating-and-discovering-plugins/#using-package-metadata)
- support for reordering of hook calls after registration.
- enhanced API for retrieving plugin package metadata.
- modified plugin call and registration exception handling
- modified `HookResult` object and hook call loop, with ability to retrieve the
`HookImplementation` responsible for the result.
- lazy plugin discovery
- some changes to variable and attribute naming
- removed all deprecated code
- type annotations on everything
- pytest fixtures for testing
- a couple napari-specific convenience imports
For usage overview and a reference for the `napari-plugin-engine` API, see our
[Documentation](https://napari-plugin-engine.readthedocs.io/en/latest/)
(see also: the [pluggy documentation](https://pluggy.readthedocs.io/en/latest/))
## install
```shell
pip install napari-plugin-engine
```
## Usage
see [documentation](https://napari-plugin-engine.readthedocs.io/en/latest/usage.html)
نیازمندی
| مقدار | نام |
|---|---|
| ython_versio | importlib-metadata>=1.5.0; |
| xtr | pytest; |
| xtr | pytest-cov; |
| xtr | pre-commit; |
| xtr | tox; |
| xtr | tox-conda; |
| xtr | pytest; |
| xtr | pytest-cov; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl napari-plugin-engine-0.2.1rc0:
pip install napari-plugin-engine-0.2.1rc0.whl
نصب پکیج tar.gz napari-plugin-engine-0.2.1rc0:
pip install napari-plugin-engine-0.2.1rc0.tar.gz