Python Package

Statesche Lifecycle-Scan

Pro+ AST-Leak-Scan (Thread/Timer/Logger/QThread). Net Deel vu check --extended, kee RSS-Beweis.

Fréien Zougang: Bis 2026-12-31

check-lifecycle ass en eegene Pro+-Qualitéitstest (lifecycle_scan). E fënnt AST-Leak-Muster op file:line. E miisst kee RSS an keng OS-Threads — dat bleift Gist Factor.

Kärpunkten

  • CLI: ënner Windows weisen d Beispiller de recommandéierte Opruff iwwer py -3.12 -m <modul> ... (z.B. py -3.12 -m manifestguard ...). Ënner Linux/macOS entsprécht dat an der Regel python3.12 -m ....
  • Community ka Guide an list-tests liesen. De Scan selwer brauch Trial/Pro oder méi.
  • Detektoren: List-Bloat, Sync-I/O, Context Manager, Thread ouni join, Timer ouni cancel, Logger-addHandler, optional QThread.
  • Net Deel vu check --extended. Als eegent CI-Gate dobäisetzen.

Recommandéierte Workflow

  1. py -3.12 -m manifestguard check-lifecycle
  2. Thread/Timer/Logger flécken; bei PyQt/PySide quit()/wait().
  3. Quality-CI bleift check --extended --refactor --verbose.

Schnellstart

py -3.12 -m manifestguard check-lifecycle
py -3.12 -m manifestguard check --extended --refactor --verbose

Viraussetzungen

Kolonnen
Installation interpreter
Python 3.12 + pip
Recommended default path for installation and CLI calls.
Project target versions
Python 3.8 to 3.12
These are the project/runtime targets mgpy can analyze.
mgpy runtime
Validated on Python 3.10 to 3.13
The tool runtime itself is covered for this range.
CLI invocation
Windows: py -3.12 -m manifestguard
Linux/macOS usually maps to python3.12 -m manifestguard.
Runtime packages
tomlkit, click, pydantic, packaging, watchdog, PyNaCl, rfc8785
tomli is only added for Python below 3.11.
Offline / wheel install
Optional via pip --no-index or wheel
Useful for air-gapped or approved bundle distribution paths.