{ "info": { "author": "Gerhard Tan", "author_email": "gerhard.gh.ta@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# srvwrapper\nCreate Windows service from executable\n\n## Install\n### Step 1:\nDownload and install the `srvwrapper` package for python.\n```\npip install srvwrapper\n```\n### Step 2:\nUse the `srvwrapper` command and pass the service name and program path to create a service. Other optional commands are listed with the `--help` command.\n```\nusage: srvwrapper [-h] [--arguments ARGUMENTS] [--display DISPLAY]\n [--description DESCRIPTION] [--start START]\n [--depend DEPEND] [--obj OBJ] [--password PASSWORD]\n name program\n\nWrap any applications to run as Windows Service\n\npositional arguments:\n name service name\n program application path\n\noptional arguments:\n -h, --help show this help message and exit\n --arguments ARGUMENTS\n arguments for program\n --display DISPLAY the display name of the service\n --description DESCRIPTION\n service description\n --start START how the service starts\n \n --depend DEPEND dependencies(separated by / (forward slash))\n --obj OBJ the account used to run the service\n (default=LocalSystem)\n --password PASSWORD password of the account\n --failure-reset FAILURE_RESET\n specifies the length of the period (in seconds) with\n no failures after which the failure count should be\n reset to 0 (zero).\n --failure-command FAILURE_COMMAND\n specifies the command-line command to be run when the\n specified service fails.\n --failure-actions FAILURE_ACTIONS\n specifies one or more failure actions and their delay\n times (in milliseconds), separated by a forward slash\n (/). Valid actions are run, restart, and reboot.\n```\nWhen using `--arguments`, make sure you added a double quote around it. Here are some examples:\n1. Create a service named `service1` with command line `python test.py log.txt`.\n```cmd\nsrvwrapper service1 python --arguments \"test.py log.txt\"\n```\n2. Use absolute program path to create a service.\n```cmd\nsrvwrapper service2 C:\\Python36\\python.exe --arguments \"\\\\\\\"D:\\test 1\\test.py\\\\\\\"\" --display \"Service 2\" --description \"A description\" --start auto\n```\n3. Use specific account.\n```cmd\nsrvwrapper service3 ping --arguments \"-t github.com\" --obj \"NT AUTHORITY\\NetworkService\" --depend service2/service1\n```\n\n### Step 3:\nTo start/stop the service, use the `net` command\n```cmd\nnet start service_name\nnet stop service_name\n```\n\n\n## Uninstall\nUse Windows `sc` command.\n```\nsc delete ServiceName\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/koho/srvwrapper", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "srvwrapper", "package_url": "https://pypi.org/project/srvwrapper/", "platform": "", "project_url": "https://pypi.org/project/srvwrapper/", "project_urls": { "Homepage": "https://github.com/koho/srvwrapper" }, "release_url": "https://pypi.org/project/srvwrapper/1.5/", "requires_dist": null, "requires_python": "", "summary": "srvwrapper wraps any applications to run as Windows Service", "version": "1.5", "yanked": false, "yanked_reason": null }, "last_serial": 7384972, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "6ac7b33c7c89ab4bc041d36fa57b7414", "sha256": "87cef6e2c606febe50b7742ac1069d2ad60cc8e9395f0cafe184953eb8836b0e" }, "downloads": -1, "filename": "srvwrapper-1.1-py2.py3-none-win32.whl", "has_sig": false, "md5_digest": "6ac7b33c7c89ab4bc041d36fa57b7414", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11183, "upload_time": "2019-08-05T14:43:57", "upload_time_iso_8601": "2019-08-05T14:43:57.777119Z", "url": "https://files.pythonhosted.org/packages/0b/19/8ca7f05b8b67d10f3ebde1aa1c51ba5189214aeec664cc45d61ad98f1469/srvwrapper-1.1-py2.py3-none-win32.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "9f479b9b5221ab179bb60372632a2a7f", "sha256": "abb569bbca1bba9f23d6059f77393cdbbd829adba2502c11093ab978be73a557" }, "downloads": -1, "filename": "srvwrapper-1.1-py2.py3-none-win_amd64.whl", "has_sig": false, "md5_digest": "9f479b9b5221ab179bb60372632a2a7f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11189, "upload_time": "2019-08-05T14:43:59", "upload_time_iso_8601": "2019-08-05T14:43:59.831734Z", "url": "https://files.pythonhosted.org/packages/6f/61/f70b0c6d108c5da3e04ec53a1aa670595607c7f51b49e1e4fa97a90bc8ca/srvwrapper-1.1-py2.py3-none-win_amd64.whl", "yanked": false, "yanked_reason": null } ], "1.2": [ { "comment_text": "", "digests": { "md5": "4078d1cc8a3d6aca72309732a0a64e54", "sha256": "93c5a0845ac8d7f4279c7aa24bcb2cea8896396edc88fe9cd7a3ac5f926372bc" }, "downloads": -1, "filename": "srvwrapper-1.2-py2.py3-none-win32.whl", "has_sig": false, "md5_digest": "4078d1cc8a3d6aca72309732a0a64e54", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11329, "upload_time": "2019-08-05T18:13:41", "upload_time_iso_8601": "2019-08-05T18:13:41.411306Z", "url": "https://files.pythonhosted.org/packages/bb/b5/70530990c42afa358f1b6f86f9f0455b596061d67f40c7ec2b80ea989d73/srvwrapper-1.2-py2.py3-none-win32.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "8e08f9671f92dd5383695e22feff99a1", "sha256": "e2b809c649e09df157cb2be2479de1ad2a79ed40b18ce400f71f63123cda897e" }, "downloads": -1, "filename": "srvwrapper-1.2-py2.py3-none-win_amd64.whl", "has_sig": false, "md5_digest": "8e08f9671f92dd5383695e22feff99a1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11336, "upload_time": "2019-08-05T18:13:43", "upload_time_iso_8601": "2019-08-05T18:13:43.143340Z", "url": "https://files.pythonhosted.org/packages/ff/9b/7cdc8a479c3ab6f7711bb87c235e3ff756a74a0ab6c789cab4405c3a01b8/srvwrapper-1.2-py2.py3-none-win_amd64.whl", "yanked": false, "yanked_reason": null } ], "1.3": [ { "comment_text": "", "digests": { "md5": "3997f8e90ed0a70b87830a0d2fa3a722", "sha256": "c1bba81e7dcb20cf3b1fc7ffc247dfaacaf6577d8db61d4abdaac00a6c4e5b08" }, "downloads": -1, "filename": "srvwrapper-1.3-py2.py3-none-win32.whl", "has_sig": false, "md5_digest": "3997f8e90ed0a70b87830a0d2fa3a722", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11553, "upload_time": "2019-08-07T13:02:34", "upload_time_iso_8601": "2019-08-07T13:02:34.095149Z", "url": "https://files.pythonhosted.org/packages/91/02/45da0a51de187ef29f3958e52a9df2fdb4624b723b46620fe4388ec2b80c/srvwrapper-1.3-py2.py3-none-win32.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "f9d2821cbf76e6cebc5261ca0f427e3c", "sha256": "20b707be537f0929d9add7a96b91652fc6e53d7ef7371ec5d7f4bdef2d4e249e" }, "downloads": -1, "filename": "srvwrapper-1.3-py2.py3-none-win_amd64.whl", "has_sig": false, "md5_digest": "f9d2821cbf76e6cebc5261ca0f427e3c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11556, "upload_time": "2019-08-07T13:02:35", "upload_time_iso_8601": "2019-08-07T13:02:35.684138Z", "url": "https://files.pythonhosted.org/packages/b2/49/59f25eb53fd95ae92ec549126536415ba18562bcb86eb503d91afe36d4b6/srvwrapper-1.3-py2.py3-none-win_amd64.whl", "yanked": false, "yanked_reason": null } ], "1.4": [ { "comment_text": "", "digests": { "md5": "75b70b7c6877ab75ccfc57cacbbccf46", "sha256": "d33431f51aa6d09a2ba0a86fcbf2df807c171190799372e72a7a048f3f9bed73" }, "downloads": -1, "filename": "srvwrapper-1.4-py2.py3-none-win32.whl", "has_sig": false, "md5_digest": "75b70b7c6877ab75ccfc57cacbbccf46", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11610, "upload_time": "2019-10-24T18:26:41", "upload_time_iso_8601": "2019-10-24T18:26:41.787085Z", "url": "https://files.pythonhosted.org/packages/59/89/1fd0ce0b6e385d926ac9377d794403b64eee99b2c79410982faa62c607f5/srvwrapper-1.4-py2.py3-none-win32.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "5f68d32bb82c23b20f4879298f941ab5", "sha256": "56be09258cd85ca47556ea61fdb1059161ed2fc4079671d3d19baae8259351d2" }, "downloads": -1, "filename": "srvwrapper-1.4-py2.py3-none-win_amd64.whl", "has_sig": false, "md5_digest": "5f68d32bb82c23b20f4879298f941ab5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11616, "upload_time": "2019-10-24T18:26:43", "upload_time_iso_8601": "2019-10-24T18:26:43.621454Z", "url": "https://files.pythonhosted.org/packages/eb/c8/aa3ecf57758c5a36460f30ca8f5c8a1667ba06f0f6a5c5cfae83308df934/srvwrapper-1.4-py2.py3-none-win_amd64.whl", "yanked": false, "yanked_reason": null } ], "1.5": [ { "comment_text": "", "digests": { "md5": "c4d2a31219b5f8f43a3fc898e1923be7", "sha256": "a383b4c2917776e6f9c0ddb7ddf92a6e43b0f042ae0d0643ff975bec92c7fed3" }, "downloads": -1, "filename": "srvwrapper-1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c4d2a31219b5f8f43a3fc898e1923be7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12132, "upload_time": "2020-06-03T08:06:51", "upload_time_iso_8601": "2020-06-03T08:06:51.634581Z", "url": "https://files.pythonhosted.org/packages/a2/95/c525b350d7a31e46fbe770c88add22c20498e83c12c302e999f644cfcc6c/srvwrapper-1.5-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c4d2a31219b5f8f43a3fc898e1923be7", "sha256": "a383b4c2917776e6f9c0ddb7ddf92a6e43b0f042ae0d0643ff975bec92c7fed3" }, "downloads": -1, "filename": "srvwrapper-1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c4d2a31219b5f8f43a3fc898e1923be7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12132, "upload_time": "2020-06-03T08:06:51", "upload_time_iso_8601": "2020-06-03T08:06:51.634581Z", "url": "https://files.pythonhosted.org/packages/a2/95/c525b350d7a31e46fbe770c88add22c20498e83c12c302e999f644cfcc6c/srvwrapper-1.5-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }