Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Plugins from an outside folder, each with its own packages (M6)

Aperta
#326 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Read the dependency issue #325 first, then inspect src/paperpi/plugins/__init__.py, src/paperpi/runner.py, and src/paperpi/cli.py, along with the web Library and install paths. The issue divides the work into outside plugin loading, the paperpi plugin commands and per-plugin packages, and an optional template repository. Completion means the agreed plugin layout and isolation work, the CLI commands are available, and the web interface and documentation reflect outside plugins.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Let other people build and share plugins without merging them into PaperPi's main. Replaces old #13 ("packaging plugin").

Decided

  • Outside plugins are folders in /opt/paperpi/plugins/ (root-owned, so a running plugin can't change itself or other plugins), with the same layout as the built-in ones (__init__.py with PLUGIN, README.md). The web interface shows them like built-in ones, marked as outside plugins. Updates of PaperPi don't touch them.
  • Added on the command line first: sudo paperpi plugin add <github url>, plus list, update, remove. Adding from the web interface maybe later.
  • Extra Python packages: each plugin lists them in a file in its folder; they go into its own folder /opt/paperpi/plugin-packages/<plugin>/, used only in that plugin's process. PaperPi's own packages (uv.lock) never change; on a version clash PaperPi's version wins and add warns.
  • System packages (apt): never installed by PaperPi; the plugin's README says what to install and setup="..." shows it in the web interface.

PRs
3. Outside plugin folder: loading, web Library, docs/writing-plugins.md.
4. paperpi plugin command with the per-plugin packages folder.
5. (optional) a plugin template repository to copy from.

Area: src/paperpi/plugins/__init__.py, src/paperpi/runner.py, src/paperpi/cli.py, web Library, docs, install (uninstall/paths). Comes after the install issue #325.

Lingua principale
Python
Stelle
205
Fork
17
Merge medio
3h 55m
PR unite (30g)
77

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di txoof/PaperPi

Tutte le issue di txoof/PaperPi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.