auto-update


Nameauto-update JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
Summaryauto-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.
upload_time2024-09-09 19:39:05
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseMIT License Copyright (c) 2024 Shaik Abdus Samad Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords update auto update scripts auto update python script update
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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:

```bash
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
```python
"""
{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](https://github.com/shaiksamad/auto-update/blob/main/LICENSE) - see the LICENSE file for details.


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "auto-update",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "update, auto update scripts, auto update, python script update",
    "author": null,
    "author_email": "Shaik Abdus Samad <shaiksamad.dev@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ac/33/66899ab2948c86e6bc74a2e45c034ce48a78fa24b538bf46369c43b53125/auto_update-0.1.1.tar.gz",
    "platform": null,
    "description": "# PyUpdater\r\n\r\n`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.\r\n\r\n\r\n## Installation\r\n\r\nYou can install PyUpdater via pip:\r\n\r\n```bash\r\npip install auto-update\r\n```\r\n\r\n# Usage\r\n\r\nCreate 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.\r\n\r\n### _auto_update.py\r\n```python\r\n\"\"\"\r\n{owner}/{repo}\r\n{release}\r\n\"\"\"\r\n\r\nfrom auto_update import Updater\r\n\r\n\r\nupdater = Updater(__doc__.strip())\r\n```\r\n\r\n\r\n`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.\r\n\r\n# License\r\nThis project is licensed under the MIT [License](https://github.com/shaiksamad/auto-update/blob/main/LICENSE) - see the LICENSE file for details.\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Shaik Abdus Samad  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "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.",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/shaiksamad/auto-update.git",
        "Issues": "https://github.com/shaiksamad/auto-update/issues",
        "Repository": "https://github.com/shaiksamad/auto-update.git"
    },
    "split_keywords": [
        "update",
        " auto update scripts",
        " auto update",
        " python script update"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d4832b366ff130dbed1779628cb2545a205410ff85ddc67bd3f4b3d7311765f2",
                "md5": "79ae68e94dd015e22d736b3e26c4cdb7",
                "sha256": "b5b89acc9a48f9999c8a614f8ab3d4051cf57b32dfdbb5cee1b4cbabc0444aed"
            },
            "downloads": -1,
            "filename": "auto_update-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "79ae68e94dd015e22d736b3e26c4cdb7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4511,
            "upload_time": "2024-09-09T19:39:03",
            "upload_time_iso_8601": "2024-09-09T19:39:03.505940Z",
            "url": "https://files.pythonhosted.org/packages/d4/83/2b366ff130dbed1779628cb2545a205410ff85ddc67bd3f4b3d7311765f2/auto_update-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ac3366899ab2948c86e6bc74a2e45c034ce48a78fa24b538bf46369c43b53125",
                "md5": "6ac4dc18b5078c875c51dfbe277c6dbd",
                "sha256": "71adc1a7a9cc7bb32a705b4639b3736eae155fa4f65f28efbe449e5d27f36036"
            },
            "downloads": -1,
            "filename": "auto_update-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6ac4dc18b5078c875c51dfbe277c6dbd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3686,
            "upload_time": "2024-09-09T19:39:05",
            "upload_time_iso_8601": "2024-09-09T19:39:05.229398Z",
            "url": "https://files.pythonhosted.org/packages/ac/33/66899ab2948c86e6bc74a2e45c034ce48a78fa24b538bf46369c43b53125/auto_update-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-09 19:39:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "shaiksamad",
    "github_project": "auto-update",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "auto-update"
}
        
Elapsed time: 0.42565s