{ "info": { "author": "Matthias", "author_email": "matthias.harzer03@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "## **Updater for exe with firebase**\n\n### Version format X.X.X (Example: 1.6.11)\n\n## **Use**\n\n```python\nimport updater\n\nmyUpdater = updater.Update(config, webAppUrl, appName, path, optional: debugPath, displayErrorMessages, autoUpdate, assetsFolder, assetsFolderUrl, updateAssetsArg)\n\nmyUpdater.checkUpdate()\n\n#Rest of your code\n```\n\n##### config:\nThis is your standard config to use when you're working with firebase.\n\n\n##### webAppUrl:\nYour URL to your new version of the appliecation (example.com/new_version.exe).\n\n\n##### appName:\nThe name of your application or exe name.\n\n\n##### path:\nThe path in your realtime database to check for a new version.\n\n\n##### debugPath:\nThe path to your project when you are still developing in python console.\n\n##### displayErrorMessages:\nIf set to True: Messages like 'No internet connection' will appear.\n\n##### autoUpdate:\nIf set to True, the user won't be asked to update or not.\n\n##### assetsFolder:\nSet this to true if the assets folder should be updated too. Also the version.json file will be saved there.\n\n##### assetsFolderUrl:\nIf 'assetsFolder' is true, you have to specify the URL to your assets folder online (example.com/new_assets.zip)\n\n##### updateAssetsArg:\nIf set to 1: The assets folder will be updated at X.X.X\nIf set to 2: The assets folder will only be updated at X.X.0\nIf set to 3: The assets folder will only be updated at X.0.0\n\n\n### **Example**\n```python\nimport updater\n\nconfig = {\n \"apiKey\": \"YOUR-API-KEY\",\n \"authDomain\": \"YOU-PROJECT-NAME.firebaseapp.com\",\n \"databaseURL\": \"https://YOU-PROJECT-NAME.firebaseio.com\",\n \"storageBucket\": \"YOU-PROJECT-NAME.appspot.com\",\n \"tls\": {\n \"rejectUnauthorized\": False\n }\n }\n\nurl = 'example.com/index.exe'\nassetsUrl = 'example.com/assets.zip'\n\nmyUpdater = updater.Update(config, url, 'index', '/program/version', debugPath='C:/Users/user/Documents/Python/Updater', displayErrorMessages=True, autoUpdate=False, assetsFolder=True, assetsFolderUrl=assestUrl, updateAssetsArg=2)\n\nmyUpdater.checkUpdate()\n\n#Rest of your code\n```\n\n## **Use with pyinstaller**\nWhen you want to convert the python file to an executable using py installer, you need additional hooks to use firebase and gcloud. For that you need to create a new python file at some directory NAMED 'hook-gcloud.py' with the following code:\n\n```python\nfrom PyInstaller.utils.hooks import copy_metadata\ndatas = copy_metadata('gcloud')\n```\n\nWhen you want to convert the file into an executable you have to add the argument '--additional-hooks-dir _the directory to the hook-gcloud.py file_'. \n\nExample:\n\n```\npyinstaller --onfeile --additional-hooks-dir C:\\Users\\user\\hooks index.py\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/Matthias-coding/updater/archive/v_1.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Matthias-coding/updater/", "keywords": "Firebase,Pyrebase,Updater", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "updaterForExe", "package_url": "https://pypi.org/project/updaterForExe/", "platform": "", "project_url": "https://pypi.org/project/updaterForExe/", "project_urls": { "Download": "https://github.com/Matthias-coding/updater/archive/v_1.0.tar.gz", "Homepage": "https://github.com/Matthias-coding/updater/" }, "release_url": "https://pypi.org/project/updaterForExe/1.0/", "requires_dist": null, "requires_python": "", "summary": "Updater for exe programs", "version": "1.0", "yanked": false, "yanked_reason": null }, "last_serial": 6067667, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "04f00e54200f63a6c56b211504fdd5f9", "sha256": "da03ce327ffe6508d0344b43bee96c2686272229de57a888f193832e16d75e55" }, "downloads": -1, "filename": "updaterForExe-0.1.tar.gz", "has_sig": false, "md5_digest": "04f00e54200f63a6c56b211504fdd5f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3011, "upload_time": "2019-10-20T15:19:54", "upload_time_iso_8601": "2019-10-20T15:19:54.162783Z", "url": "https://files.pythonhosted.org/packages/3b/6c/e5a33be2d8a9041c7f0cfba13b669c2dd0ebecd88c56b9dc8c1cda5d4ec0/updaterForExe-0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3": [ { "comment_text": "", "digests": { "md5": "90e0c3a36d20f8761613478c2f2825e0", "sha256": "e85980008214478646c3d3bd35670ede31baccce8ecdc5767c995cf55fecd678" }, "downloads": -1, "filename": "updaterForExe-0.3.tar.gz", "has_sig": false, "md5_digest": "90e0c3a36d20f8761613478c2f2825e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2990, "upload_time": "2019-10-20T15:57:53", "upload_time_iso_8601": "2019-10-20T15:57:53.185734Z", "url": "https://files.pythonhosted.org/packages/e6/ea/ca52832de1cfd48a9d4521fc289ce8e402476ec1afd9834ce783ee197bc6/updaterForExe-0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.4": [ { "comment_text": "", "digests": { "md5": "855257f787b1168165e88802e6cf96f8", "sha256": "b5fdb728f7de4217361f462f95a9c6565759456730105b02f26f1dcd6da5b296" }, "downloads": -1, "filename": "updaterForExe-0.4.tar.gz", "has_sig": false, "md5_digest": "855257f787b1168165e88802e6cf96f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3109, "upload_time": "2019-10-26T21:31:40", "upload_time_iso_8601": "2019-10-26T21:31:40.878312Z", "url": "https://files.pythonhosted.org/packages/01/80/0d70d23b5a340936b81b0a0eed50dc9271c03f43f332b77bb21c166cb7e7/updaterForExe-0.4.tar.gz", "yanked": false, "yanked_reason": null } ], "0.5": [ { "comment_text": "", "digests": { "md5": "29db457faacd8271164e979292e09805", "sha256": "44704525e9667e80c64d0298eca1ab0eb48f03de0a550508e3c0e43686e3d357" }, "downloads": -1, "filename": "updaterForExe-0.5.tar.gz", "has_sig": false, "md5_digest": "29db457faacd8271164e979292e09805", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3096, "upload_time": "2019-10-26T21:38:13", "upload_time_iso_8601": "2019-10-26T21:38:13.374976Z", "url": "https://files.pythonhosted.org/packages/5f/62/236ad5358784136b8d7d83c674ec0128fc49666991c1c4a4c92b0efacc4f/updaterForExe-0.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.6": [ { "comment_text": "", "digests": { "md5": "413fbe12b7a2f02361c7ec55f8f199eb", "sha256": "81db58744642f28477e8a03576b218b9bd6f10fbec46ae37dbd699f5b523a85f" }, "downloads": -1, "filename": "updaterForExe-0.6.tar.gz", "has_sig": false, "md5_digest": "413fbe12b7a2f02361c7ec55f8f199eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3247, "upload_time": "2019-10-31T19:10:54", "upload_time_iso_8601": "2019-10-31T19:10:54.450389Z", "url": "https://files.pythonhosted.org/packages/08/8c/fd553ff09a379373473d672b600c4efb0af17801be4f1ab53a13ebe9583d/updaterForExe-0.6.tar.gz", "yanked": false, "yanked_reason": null } ], "0.7": [ { "comment_text": "", "digests": { "md5": "57b9c80eb80bfcfe9bde4f3306bc1a35", "sha256": "edd8fe8134bcc891d07ad09338567977aaab920a3eacb7e7c8a0a39c9bb9e4db" }, "downloads": -1, "filename": "updaterForExe-0.7.tar.gz", "has_sig": false, "md5_digest": "57b9c80eb80bfcfe9bde4f3306bc1a35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3494, "upload_time": "2019-11-01T00:21:05", "upload_time_iso_8601": "2019-11-01T00:21:05.386686Z", "url": "https://files.pythonhosted.org/packages/37/3e/e786d4a868284d01a7a4e8c3e1b39a6bc2e25a87136395317ad059f48cbb/updaterForExe-0.7.tar.gz", "yanked": false, "yanked_reason": null } ], "0.8": [ { "comment_text": "", "digests": { "md5": "0e274eff75dc333dfad7b91dab00ba3f", "sha256": "9cb5506c1b816120df99758a0274b793c55c12e6a1455502b6e342ed907f0a6a" }, "downloads": -1, "filename": "updaterForExe-0.8.tar.gz", "has_sig": false, "md5_digest": "0e274eff75dc333dfad7b91dab00ba3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5060, "upload_time": "2019-11-01T01:19:18", "upload_time_iso_8601": "2019-11-01T01:19:18.643036Z", "url": "https://files.pythonhosted.org/packages/6e/a0/2ee09090bb2ce7b7d9511e0206ad18c7a93030c9c8a92b2ea152dc1406a0/updaterForExe-0.8.tar.gz", "yanked": false, "yanked_reason": null } ], "0.9": [ { "comment_text": "", "digests": { "md5": "0b7f52805064f2428117e37e47513ff2", "sha256": "b45992ecc30ec4ec0b4c432c9e1fbe62fab75ba11f5bd28998268ea203ada1e6" }, "downloads": -1, "filename": "updaterForExe-0.9.tar.gz", "has_sig": false, "md5_digest": "0b7f52805064f2428117e37e47513ff2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5209, "upload_time": "2019-11-01T11:00:07", "upload_time_iso_8601": "2019-11-01T11:00:07.851337Z", "url": "https://files.pythonhosted.org/packages/1b/f9/4f9f413b2acc57b18f76b700eb7340ed7e4a015182c3dd815447402f3df0/updaterForExe-0.9.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0": [ { "comment_text": "", "digests": { "md5": "9a59c521c4ca3007d25149107d579b86", "sha256": "6c87666ad4d23b0cbd2dadcde83e15a26aaf539342f80aae5cb1115f45e0666e" }, "downloads": -1, "filename": "updaterForExe-1.0.tar.gz", "has_sig": false, "md5_digest": "9a59c521c4ca3007d25149107d579b86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5311, "upload_time": "2019-11-02T09:38:33", "upload_time_iso_8601": "2019-11-02T09:38:33.760090Z", "url": "https://files.pythonhosted.org/packages/35/35/263c4d1cbbeb3a7d06e767216f7211bed501397ac3c08cf16340a223e80e/updaterForExe-1.0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9a59c521c4ca3007d25149107d579b86", "sha256": "6c87666ad4d23b0cbd2dadcde83e15a26aaf539342f80aae5cb1115f45e0666e" }, "downloads": -1, "filename": "updaterForExe-1.0.tar.gz", "has_sig": false, "md5_digest": "9a59c521c4ca3007d25149107d579b86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5311, "upload_time": "2019-11-02T09:38:33", "upload_time_iso_8601": "2019-11-02T09:38:33.760090Z", "url": "https://files.pythonhosted.org/packages/35/35/263c4d1cbbeb3a7d06e767216f7211bed501397ac3c08cf16340a223e80e/updaterForExe-1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }