Get alerted when package update available

  1. This worked, thank you!
  2. Now I’m pondering how I can get alerted when I need to run an update command

meaning when your top-level dependencies are outdated? You could add this to the start of your code:

from subprocess import Popen
from atexit import register

register(Popen(["poetry", "show", "-Tov"]).wait)