Reference

mopup

Auto-updater for official python.org builds of python.

mopup.alllinksin(u, e)

Get all the links in the given URL whose text matches the given pattern.

Parameters:
  • u (DecodedURL)

  • e (Pattern[str])

Return type:

Iterable[Tuple[Match[str], DecodedURL]]

mopup.choicechanges(pkgfile)

Compute the choice-changes XML for a given package based on what is currently installed.

Parameters:

pkgfile (str)

Return type:

str

mopup.do_download(download_url)

Download the given URL into the downloads directory.

Returning the path when successful.

Parameters:

download_url (DecodedURL)

Return type:

str

mopup.main(interactive, force, minor_upgrade, dry_run)

Do an update.

Parameters:
  • interactive (bool)

  • force (bool)

  • minor_upgrade (bool)

  • dry_run (bool)

Return type:

None