{ "info": { "author": "BorisPlus", "author_email": "cmd_plan@borisplus.ru", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# CmdPlan\n\n**_CmdPlan_** will help you plan launch of the system commands. Just define target node name and script will search it at described nodes dictionary, but it will launch their dependencies at first.\n\n## Requires\n\nPython3\n\n## Install\n\n```bash\n$ pip install cmd-plan\n```\n## Usage\n\nExample:\n\n```python\nimport cmd_plan\n\nNODES = {\n 'TEST': {\n 'command': 'python3 manage.py runserver 127.0.0.1:8000',\n },\n 'TEST_WITH_NOHUP': {\n 'command': 'nohup python3 manage.py runserver 127.0.0.1:8000 >/dev/null 2>&1 &',\n },\n 'SERVER_SIDE': {\n 'command': './server.sh &',\n },\n 'CLIENT_SIDE': {\n 'command': 'python3 ./client.py',\n 'dependencies': ['SERVER_SIDE', ],\n }\n}\n\n# Example 1\ncmd_plan.launch('TEST', NODES) # Run Django debug WEB-server\n\n# Example 2\ncmd_plan.launch('CLIENT_SIDE', NODES) # Run some `client`, but run it `server` at first \n```\n\n## License\n\nFrom Russia with love.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "cmd-plan", "package_url": "https://pypi.org/project/cmd-plan/", "platform": "", "project_url": "https://pypi.org/project/cmd-plan/", "project_urls": null, "release_url": "https://pypi.org/project/cmd-plan/1.0.4/", "requires_dist": null, "requires_python": ">=3.4", "summary": "Python3 OS commands run dependency planner", "version": "1.0.4" }, "last_serial": 5931476, "releases": { "1.0.4": [ { "comment_text": "", "digests": { "md5": "495c49603914c7b907c9e95d5ffc21b2", "sha256": "9f3954968c01f7ea15306649a4f57e3737a59dddbff15ab0f9d885c971e69f34" }, "downloads": -1, "filename": "cmd_plan-1.0.4.tar.gz", "has_sig": false, "md5_digest": "495c49603914c7b907c9e95d5ffc21b2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 1793, "upload_time": "2019-10-05T06:13:05", "url": "https://files.pythonhosted.org/packages/2e/5d/77c59e55b177a9a0580096dbceea40305bf8a6481f1d474a262d57173472/cmd_plan-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "495c49603914c7b907c9e95d5ffc21b2", "sha256": "9f3954968c01f7ea15306649a4f57e3737a59dddbff15ab0f9d885c971e69f34" }, "downloads": -1, "filename": "cmd_plan-1.0.4.tar.gz", "has_sig": false, "md5_digest": "495c49603914c7b907c9e95d5ffc21b2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 1793, "upload_time": "2019-10-05T06:13:05", "url": "https://files.pythonhosted.org/packages/2e/5d/77c59e55b177a9a0580096dbceea40305bf8a6481f1d474a262d57173472/cmd_plan-1.0.4.tar.gz" } ] }