Skip to content

Plugin Plugin Installer

Hiromichi Yokoyama edited this page Nov 21, 2026 · 12 revisions

Plugin: Plugin Installer

Plugin Installer manages plugins for MoleditPy. It checks the online registry for plugin updates, allows one-click installations, provides dependency verification, and monitors host application releases.

Repository Bundled in moleditpy-plugins (plugins/Plugin_Installer)
Author HiroYokoyama
Supported OS Windows, macOS, Linux, WSL
Supported Python >=3.9, <3.15
Supported MoleditPy >=5.0.0, <6.0.0
First-party plugin license LGPL-3.0-or-later
Menu location Plugin ▸ Plugin Installer... (pinned above the first menu divider)
Extra dependencies None (uses PySide6 and standard Python library)

See Official Plugins for the full catalogue.


Install from the command line

Run this in a terminal where moleditpy is available. The command downloads Plugin Installer from GitHub Pages, then asks for confirmation before installing it. Review the displayed metadata and type y to proceed. After the install command completes successfully, the downloaded plugin_installer.py is deleted. Start or restart MoleditPy afterward.

Windows — PowerShell:

curl.exe -fL "https://hiroyokoyama.github.io/moleditpy-plugins/plugins/Plugin_Installer/plugin_installer.py" -o plugin_installer.py; if ($LASTEXITCODE -eq 0) { moleditpy --install-plugin .\plugin_installer.py; if ($LASTEXITCODE -eq 0) { Remove-Item -LiteralPath .\plugin_installer.py } }

Linux / macOS / WSL — Bash or Zsh:

curl -fL "https://hiroyokoyama.github.io/moleditpy-plugins/plugins/Plugin_Installer/plugin_installer.py" -o plugin_installer.py && moleditpy --install-plugin ./plugin_installer.py && rm -- ./plugin_installer.py

Using python -m

If you launch MoleditPy as a Python module, replace moleditpy --install-plugin in these commands with python -m moleditpy --install-plugin (or python3 -m moleditpy --install-plugin on Linux/macOS). Use the Python environment where MoleditPy is installed. The confirmation and downloaded-file cleanup work the same way, including in the automatic-confirmation commands below.

Automatically answer y

These commands answer y automatically. We recommend reviewing the displayed metadata and confirming manually with the commands above; use automatic confirmation after checking the download source and plugin contents.

Windows — PowerShell:

curl.exe -fL "https://hiroyokoyama.github.io/moleditpy-plugins/plugins/Plugin_Installer/plugin_installer.py" -o plugin_installer.py; if ($LASTEXITCODE -eq 0) { 'y' | moleditpy --install-plugin .\plugin_installer.py; if ($LASTEXITCODE -eq 0) { Remove-Item -LiteralPath .\plugin_installer.py } }

Linux / macOS / WSL — Bash or Zsh:

curl -fL "https://hiroyokoyama.github.io/moleditpy-plugins/plugins/Plugin_Installer/plugin_installer.py" -o plugin_installer.py && printf 'y\n' | moleditpy --install-plugin ./plugin_installer.py && rm -- ./plugin_installer.py

1. Key Features

  • Online registry synchronization:
    • Fetches the official REGISTRY/plugins.json asynchronously in a background thread without blocking the user interface.
    • Compares currently installed plugin versions against the remote registry to highlight available updates.
  • Dependency verification & one-click commands:
    • Automatically parses required dependencies and optional dependencies for every plugin.
    • Detects missing packages using Python's importlib.metadata.
    • Provides a Copy install command button generating safe pip install ... commands for missing dependencies.
  • Compatibility protection:
    • Evaluates application version specifiers (e.g. >=5.0.0, <6.0.0) and operating system constraints (Windows, macOS, Linux, WSL).
    • Flags incompatible plugins before installation to prevent broken states.
  • License information:
    • Plugin details and the web Plugin Explorer display the registry license identifier. Missing information appears as Not specified; dependencies can have separate terms.
  • Automatic update checks:
    • Configurable startup check that alerts the user when new plugin versions or MoleditPy core updates are published on PyPI.
  • Batch updates:
    • One-click update for all out-of-date plugins with progress indicators.
  • Retired plugins:
    • An installed plugin whose registry entry has been retired (hidden) is shown as Stale, or Stale (Disabled) when disabled. Its tooltips and details name the plugin that replaces it, when the registry records one.
    • Stale plugins are left out of update recommendations and Update All; you can still reinstall or delete them by hand. Nothing is migrated automatically.

2. Typical Workflow

  1. Open Plugin ▸ Plugin Installer....
  2. Browse the table of available plugins categorized by status: Up to date, Update available, Not installed, or Stale (retired).
  3. Click any row to view full metadata: author, description, tags, version, license, and required dependencies.
  4. Click Install or Update on any plugin.
  5. If missing dependencies are detected, click Copy install command to install them in your terminal.
  6. Newly installed plugins are automatically discovered and loaded when closing the installer dialog.

Command line (MoleditPy 5.3.2+)

From MoleditPy 5.3.2, the installer also runs without opening the editor. It uses the same registry, compatibility rules, SHA256 check and install steps as the dialog.

moleditpy -r plugin_installer list              # installed plugins and their status
moleditpy -r plugin_installer list --all        # also plugins that are not installed
moleditpy -r plugin_installer check             # MoleditPy and plugin updates
moleditpy -r plugin_installer update --all      # update every out-of-date plugin
moleditpy -r plugin_installer update xyz_editor # update named plugins
moleditpy -r plugin_installer install pyscf_calculator
Command What it does
list [--all] [--json] Name, registry id, installed and latest version, and status — the same statuses as the dialog (Update Available, Up to date, Stale, Disabled, …).
check [--json] [--exit-code] Reports a newer MoleditPy on PyPI, plugins with updates, and stale plugins with their replacement. --exit-code exits with 1 when anything can be updated.
update PLUGIN... | --all Updates installed plugins. --all takes every plugin marked Update Available, disabled ones included and stale ones left out. A named plugin that is up to date is skipped unless --reinstall is given.
install PLUGIN... Installs plugins that are not installed yet, and lists missing dependencies with a pip install command.
  • A plugin is named by its registry id (the Id column of list --all) or by its name, in any case; quote names with spaces.
  • update and install list what they will do and ask Proceed? [y/N]. -y / --yes answers yes; without a terminal they refuse to run unless --yes is given. --dry-run only lists.
  • A plugin that requires another MoleditPy, Python or OS is skipped with the reason; --force installs it anyway. A registry entry without a SHA256 checksum is refused unless --allow-unverified is given. A checksum mismatch always stops that plugin.
  • Exit status: 0 success or nothing to do, 1 a plugin failed, was skipped or the confirmation was declined, 2 a usage error, 3 the registry could not be fetched or MoleditPy is older than 5.3.2.
  • An editor that is already running keeps the plugin code it loaded; restart MoleditPy after updating.
  • If you launch MoleditPy as a Python module, use python -m moleditpy -r plugin_installer ....

Usage notes

The installed list includes disabled plugins. The project-page button opens an HTTP(S) project link. A failed folder-plugin update restores the installation and settings. Downloads support up to 100 MiB; extracted archives support up to 256 MiB and 10,000 entries.


3. See also


This page documents Plugin Installer v2026.11.22, and was last updated on 2026-11-22. See REGISTRY/plugins.json for the current version.

Clone this wiki locally