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.
Project description
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file auto_update-0.1.1.tar.gz.
File metadata
- Download URL: auto_update-0.1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71adc1a7a9cc7bb32a705b4639b3736eae155fa4f65f28efbe449e5d27f36036
|
|
| MD5 |
6ac4dc18b5078c875c51dfbe277c6dbd
|
|
| BLAKE2b-256 |
ac3366899ab2948c86e6bc74a2e45c034ce48a78fa24b538bf46369c43b53125
|
File details
Details for the file auto_update-0.1.1-py3-none-any.whl.
File metadata
- Download URL: auto_update-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5b89acc9a48f9999c8a614f8ab3d4051cf57b32dfdbb5cee1b4cbabc0444aed
|
|
| MD5 |
79ae68e94dd015e22d736b3e26c4cdb7
|
|
| BLAKE2b-256 |
d4832b366ff130dbed1779628cb2545a205410ff85ddc67bd3f4b3d7311765f2
|