AutoUpdateGit

Make your program autoupdate with Github Raw


License
MIT
Install
pip install AutoUpdateGit==1.2

Documentation

AutoUpdateGit - Docs

  • lang="ru" - Русский язык модуля

  • lang="en" - English language module

  • lang="ua" - Українська мова модуля

  • lang="ar" - وحدة اللغة العربية

  • lang="kz" - Қазақ тілі модулі

  • requests - the module does not need to be imported.

from autoupdategit import *

githubraw_url="https://raw.githubusercontent.com/username/repo/main/file.py" # url raw file


#module usage example
if update_check(githubraw_url, lang="ru"):
    r = requests.get(githubraw_url)
    with open(__file__, 'w') as f:
        f.write(r.text)