Autoupgrader
No description available
Install / Use
/learn @Pytholearn/AutoupgraderREADME
AutoUpgrader
PYPI PROJECT A Python package to automatically find software updates of your repositories in GitHub
how does it work:
Step 1: Go to your desired repository and create a file named version (don't give it a .txt extension) And write your code in that version.
<picture> <img alt="write your code in that version." src="https://cdn.discordapp.com/attachments/1268584313763401749/1268585830574719046/6jR45QP.png?ex=66acf61f&is=66aba49f&hm=15be35caa7a1b2af851cafc61f7e4423170b14bcc005139293cbe96ae9dcdbf8&"> </picture>Step 2: Right click on the raw option and copy the link
<picture> <img alt="Right click on the raw option and copy the link" src="https://cdn.discordapp.com/attachments/1268584313763401749/1268587064237228062/EvHRGqn.png?ex=66acf745&is=66aba5c5&hm=0c9e77f0c0eb9060fc2ad7fb98941b6ff2fe4cf16220c6cdfe4d591fc21b91bc&"> </picture>Usage example:
import autoupgrader
autoupgrader.set_url("https://raw.githubusercontent.com/Pytholearn/Proxy-Checker-2/refs/heads/main/version")
autoupgrader.set_current_version("1.8.9")
autoupgrader.set_download_link("https://github.com/Pytholearn/Proxy-Checker-2.git")
if not autoupgrader.is_up_to_date():
print("Would you like to update your tool?")
choice = input("Enter (y/n): ")
if choice == "y":
autoupgrader.update()
else:
pass
https://www.youtube.com/watch?v=x70NvAAqxaU
