PyUpdater
auto-update is a Python package designed to update Python projects installed on client systems that do not have Git installed. It retrieves the latest release from a specified GitHub repository, compares it with the currently installed version, and updates the project accordingly.
Installation
You can install PyUpdater via pip:
pip install auto-update
Usage
Create a new file _auto_update.py in the project root. Replace owner with your github username and repo with your github repository. Replace release with your release name.
_auto_update.py
"""
{owner}/{repo}
{release}
"""
from auto_update import Updater
updater = Updater(__doc__.strip())
Updater will then check for updates and apply them if necessary. It will log its activities to a file named updater.log in the current directory.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for auto-update 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| auto_update-0.1.1.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| auto_update-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / auto_update-0.1.1.tar.gz
| Download URL | auto_update-0.1.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71adc1a7a9cc7bb32a705b4639b3736eae155fa4f65f28efbe449e5d27f36036
|
|
BLAKE2b-256 checksum How to use checksums |
ac3366899ab2948c86e6bc74a2e45c034ce48a78fa24b538bf46369c43b53125
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.4
|
Release files / auto_update-0.1.1-py3-none-any.whl
| Download URL | auto_update-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5b89acc9a48f9999c8a614f8ab3d4051cf57b32dfdbb5cee1b4cbabc0444aed
|
|
BLAKE2b-256 checksum How to use checksums |
d4832b366ff130dbed1779628cb2545a205410ff85ddc67bd3f4b3d7311765f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.4
|