Metadata-Version: 2.1
Name: npe2
Version: 0.2.2
Summary: proposal for napari plugin refactor
Home-page: https://github.com/napari/npe2
Author: Talley Lambert, Nathan Clack
Author-email: talley.lambert@gmail.com
License: BSD-3-Clause
Project-URL: Source Code, https://github.com/napari/npe2
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PyYAML
Requires-Dist: magicgui (>=0.3.3)
Requires-Dist: napari-plugin-engine
Requires-Dist: psygnal (>=0.3.0)
Requires-Dist: pydantic
Requires-Dist: pytomlpp
Requires-Dist: typer
Requires-Dist: importlib-metadata (>=1.5.0) ; python_version < "3.8"
Provides-Extra: dev
Requires-Dist: black ; extra == 'dev'
Requires-Dist: flake8 ; extra == 'dev'
Requires-Dist: flake8-docstrings ; extra == 'dev'
Requires-Dist: ipython ; extra == 'dev'
Requires-Dist: isort ; extra == 'dev'
Requires-Dist: jedi (<0.18.0) ; extra == 'dev'
Requires-Dist: magicgui ; extra == 'dev'
Requires-Dist: mypy ; extra == 'dev'
Requires-Dist: numpy ; extra == 'dev'
Requires-Dist: pre-commit ; extra == 'dev'
Requires-Dist: pydocstyle ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: pytest-cov ; extra == 'dev'
Requires-Dist: rich ; extra == 'dev'
Requires-Dist: typer ; extra == 'dev'
Provides-Extra: docs
Requires-Dist: Jinja2 ; extra == 'docs'
Provides-Extra: testing
Requires-Dist: magicgui ; extra == 'testing'
Requires-Dist: napari-svg ; extra == 'testing'
Requires-Dist: numpy ; extra == 'testing'
Requires-Dist: pytest ; extra == 'testing'
Requires-Dist: pytest-cov ; extra == 'testing'
Requires-Dist: rich ; extra == 'testing'

# npe2

[![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)

napari plugin refactor

see also https://github.com/napari/napari/issues/3115

Includes a command line tool `npe2` with the following commands:
```bash
Commands:
  convert   Convert existing plugin repository to npe2 format (create manifest, update setup.cfg)
  parse     Show parsed manifest as yaml
  validate  Validate manifest for a distribution name or manifest filepath.
```

examples:

```bash
# convert current directory to an npe2-ready plugin
# (note: the repo must also be installed and importable in the current environment)
npe2 convert .
```

```bash
npe2 validate your-plugin-package
```

```bash
npe2 parse your-plugin-package
```


