Metadata-Version: 2.1
Name: package-updater
Version: 0.0.3
Summary: Update a package
Home-page: https://github.com/superlevure/package_updater
Author: Laurent Riviere
Author-email: superlevure.dev@gmail.com
License: UNKNOWN
Description: 
        # package_updater
        
        ---
        
        This module allow any package/module/script to be updated with the latest release from github 
        
        ## Install
        
        ```shell
        pip3 install package-updater
        ```
        
        ## Usage
        
        ```python
        import sys
        import package_updater
        
        updater = package_updater.Update(
            package_name="Name of the package",
            current_version="1.1.2",
            repo="https://api.github.com/repos/superlevure/SRU_com/releases/latest"
            )
        
        if sys.argv[1] == "--update":
            updater.update()
        ```
        
        The module will :
        
        - Check if a new version is avalaible 
        - If so, backup the current version to a tar file 
        - Download the new version 
        - Extract it 
        - Install it 
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
