Seamlessly update your software with ease using this lightweight Python module
Project description
Simple Updater
A simple updater module for seamless updates
Report Bug
.
Request Feature
Table Of Contents
About The Project
SimpleUpdater is a lightweight Python library designed to simplify the process of updating software applications. It provides a seamless and efficient way for programmers to integrate automatic updates into their projects.
With SimpleUpdater, developers can easily incorporate version checking and update functionality into their applications. The library allows checking for the availability of new updates by comparing the current version with a specified version URL. If an update is available, SimpleUpdater facilitates the download and installation of the update, ensuring that users have the latest features and bug fixes.
Key Features:
- Seamless integration: SimpleUpdater can be effortlessly integrated into existing Python projects, enabling smooth and hassle-free updates.
- Version checking: The library compares the current version of the application with the version obtained from a specified URL, allowing for efficient update detection.
- Update management: SimpleUpdater simplifies the process of downloading and installing updates, ensuring a streamlined user experience.
- Customizable behavior: Developers have the flexibility to define the actions to be taken before and after the update process, providing control over the update flow.
SimpleUpdater is particularly suitable for Windows applications, providing support and convenience for software running on the Windows operating system.
License: SimpleUpdater is released under the MIT license, which allows for open-source use, modification, and distribution of the library.
Please feel free to modify the description to best represent your project, highlighting its unique features and benefits.
Built With
- Python: SimpleUpdater is written in Python, a versatile and powerful programming language.
- requests: The
requests
library is used for making HTTP requests to fetch version information and download updates. - EasyGUI: The
EasyGUI
library is utilized for creating user-friendly graphical interfaces, including message boxes and dialogs. - setuptools: The
setuptools
library is used for packaging and distributing the SimpleUpdater library. - PyPI: The Python Package Index (PyPI) is the repository where the SimpleUpdater library is hosted and made available for installation.
Getting Started
To get started with SimpleUpdater, follow the steps below:
- Installation: Install SimpleUpdater library using pip:
pip install SimpleUpdater
- Importing: Import the SimpleUpdater module in your Python script:
from SimpleUpdater import SimpleUpdater
- Usage: Utilize the SimpleUpdater functionality in your application. Here's a simple example:
example.py
:
from SimpleUpdater import SimpleUpdater
# Current version of the application
CURRENT_VERSION = '0.0.1'
# URL to fetch the latest version information
VERSION_URL = 'http://localhost/file/ver.txt'
SimpleUpdater.checkForUpdates(CURRENT_VERSION, VERSION_URL)
#...
ver.txt
:
1.5.0
normal
http://localhost/file/updater.exe
Prerequisites
Before using SimpleUpdater, ensure that you have the following prerequisites installed:
- Python: SimpleUpdater requires Python 3.x. You can download Python from the official Python website: https://www.python.org/downloads/
Once you have Python installed, you can proceed with installing SimpleUpdater and incorporating it into your Python projects.
Roadmap
See the open issues for a list of proposed features (and known issues).
License
Distributed under the MIT License. See LICENSE for more information.
Authors
- Vishok M - Student - Vishok M - Built SimpleUpdater
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
File details
Details for the file simpleupdater-0.1.3.tar.gz
.
File metadata
- Download URL: simpleupdater-0.1.3.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d29d0074cc7a918a70eb6d153afde1bc50ac4f0c409654dec08bec9180941f64 |
|
MD5 | 590fed7e56eb48b1c56c5a92d694950a |
|
BLAKE2b-256 | 7ea54874607eaff48d649d0ac3e7531ce0b28ed46f5ad5e9c86b9b7fe4bcd164 |
File details
Details for the file simpleupdater-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: simpleupdater-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2943911cfb4c05270d7c9290875ffcb76aaf5e9590e5e8e4a7f0121c335e7335 |
|
MD5 | f19749ab2400dc7193fd8f77e8034907 |
|
BLAKE2b-256 | e873cb8c4ea6f9bb4973a0c59fec35ba7824ac705874cef90ce228866f4590f8 |