Make your program autoupdate with Github Raw
Project description
-
lang="ru" - Русский язык модуля
-
lang="en" - English language module
-
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)
- module author: Luna#6983
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
AutoUpdateGit-1.0.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for AutoUpdateGit-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80403891a31abf4fbf49719bf2479d489979b66374f0eef521fa8b2c3152395b |
|
MD5 | 0fcba8edc7d29ab39f9354d51af71127 |
|
BLAKE2b-256 | e428cb9d5c35575068ebece7d22ad05573b73d390c7d294af39bc3e62715b908 |