very hacky attempt at assessing npe2 adoption
- Get a list of plugins via api.napari-hub.org
- Filter by date
- napari 0.4.13 release was 17 Jan 2022
- Look at all plugins with “release_date” after 01 Feb 2022
- Fudge the date by two weeks to allow for plugins started just before the 0.4.13 to get released.
- For each plugin
- Get repository link
- Attempt to resolve repository link to find one or both of setup.py and setup.cfg
- Count as an npe2 plugin if either has a reference to napari.yml or napari.yaml
- Count as a successfully examined plugin if there were no errors.
- Report (total detected npe2 plugins)/(total successfully examined plugins)