From 04e9f924dc105e1c6f4c7f3840cdbf8dda93b3c3 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 19 Nov 2026 12:55:36 +0000 Subject: [PATCH] Template: keywords, description guidance and more classifiers for PyPI discoverability Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01RKuN7zxcanp7zEcvNARwQQ --- AGENTS.md | 2 ++ pyproject.toml | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index c28adf8..8438975 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -258,6 +258,8 @@ extensions already does the job and only the conversion of the measurements or o - [ ] Names (package, files, classes) match and the `template` placeholders are gone. - [ ] The `[features]` flags at the top of `pyproject.toml` match the folders you use (`instruments`, `extensions`, `models`...): entry points are generated only for the features set to `true` (`check_plugin` warns, PMQ109). +- [ ] `description` and `keywords` in `pyproject.toml` name the instrument, its manufacturer and what it measures or + drives: this is what PyPI search, and people or assistants looking for a plugin, will match. - [ ] `check_plugin` passes; no `NotImplementedError` or `TODO` left in the files you wrote. - [ ] Units set on all actuator values and axes; safe behaviour in `close()` and on errors. - [ ] Tests added for new behaviour using a mock controller (no real hardware in CI). diff --git a/pyproject.toml b/pyproject.toml index 30c314e..1033006 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,14 @@ package-url = 'https://github.com/PyMoDAQ/pymodaq_plugins_template' #todo modify [project] name = "pymodaq_plugins_template" #todo modify template by your plugin short name -description = 'some word about your plugin' +description = 'some word about your plugin' #todo: one sentence naming the instrument(s) and what it does, shown on PyPI +keywords = [ + "pymodaq", + "plugin", + "instrument control", + "data acquisition", + #todo: add the instrument, manufacturer and measurement type (camera, stage, spectrometer...) +] dependencies = [ "pymodaq>=5.3.7", "pymodaq_utils>=5.3.1", @@ -56,8 +63,10 @@ classifiers = [ "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", + "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Human Machine Interfaces", "Topic :: Scientific/Engineering :: Visualization", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: User Interfaces", + "Topic :: System :: Hardware :: Hardware Drivers", ]