{ "info": { "author": "Paul J. Davis", "author_email": "paul.joseph.davis@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Software Development :: Build Tools" ], "description": "GoDo\n====\n\nExecute a directory of python code following the definition order.\n\nGiven a directory structure that looks like such::\n\n myscripts/\n 1-init.gd\n 2-run/\n 1-stuff-a.gd\n 2-stuff-b.gd\n 3-finish.gd\n\nGoDo will traverse through this directory running tasks defined in each file.\n\nTasks are defined as a function decorated with a ``@task`` decorator. Tasks\ndefined in a file will be executed in the order in which they are defined.\n\nTask Files\n----------\n\nAny file ending in .gd will be read and evaluated as a Python source file. Any\nfunction that is decorated by a the ``@task`` decorator will be added to the\nlist of tasks to execute.\n\nExample ``mytasks.gd``::\n\n import os\n\n @task\n def first_task():\n print \"Yay going and doing stuff!\"\n\n @task\n def second_task(cfg):\n print \"A config option: %s\" % cfg[\"whee\"]\n\n\nTasks are executed from the same directory where the file that defines them\nis located.\n\nComplete task file API:\n\n * ``@task`` - Decorate a function so that it will be executed.\n * ``cd(path)`` - Used in ``with`` statements to change the working directory.\n * ``run(cmd)`` - Run a shell command checking the return code.\n * ``sudo(cmd)`` - Prepends a command with sudo. Probably won't work if you\n don't use passwordless sudo. Obviously, that should be fixed.\n\nConfig Files\n------------\n\nBy default, GoDo will look in the base execution directory for a ``godo.cfg.py``\nfile. (The base execution directory is ``./`` unless specified on the command\nline). Alternatively you can specify a path. If a config file is found it is\nevaluated and passed as a dictionary to any task function that takes an\nargument.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/davisp/godo.git", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "godo", "package_url": "https://pypi.org/project/godo/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/godo/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/davisp/godo.git" }, "release_url": "https://pypi.org/project/godo/0.0.10/", "requires_dist": null, "requires_python": null, "summary": "Run some python code in order.", "version": "0.0.10" }, "last_serial": 792594, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a6dab6219361aad9070b0d9caa59f2f4", "sha256": "16ebe001291dca1d21203dac1d0abccf202166a25f115a51f8d218ba8d18b66d" }, "downloads": -1, "filename": "godo-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a6dab6219361aad9070b0d9caa59f2f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5320, "upload_time": "2010-04-19T21:33:39", "url": "https://files.pythonhosted.org/packages/cd/f0/22cccb9096c009e3f3e68ae597820ddc062615a21d0bd69fab0db1d960b1/godo-0.0.1.tar.gz" } ], "0.0.10": [ { "comment_text": "", "digests": { "md5": "63b474b74ca876b6d494b46af66a5087", "sha256": "8c9075fd6bd5cda7889b4020feb31dfc62c0e1aeb4998fcfe17bf858f21d4c57" }, "downloads": -1, "filename": "godo-0.0.10.tar.gz", "has_sig": false, "md5_digest": "63b474b74ca876b6d494b46af66a5087", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8012, "upload_time": "2010-06-18T19:59:32", "url": "https://files.pythonhosted.org/packages/49/28/d77c3873640b84d2539255a7a71d5b02b48a5dbbbb0cb0f805c448785f27/godo-0.0.10.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "526f8138e6b495f3ff6f26c914210f66", "sha256": "347ac6e1556dadd99dd42d07e910e2cce9e8785ad1fdf9e012d3741997cba005" }, "downloads": -1, "filename": "godo-0.0.2.tar.gz", "has_sig": false, "md5_digest": "526f8138e6b495f3ff6f26c914210f66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6282, "upload_time": "2010-04-19T21:46:22", "url": "https://files.pythonhosted.org/packages/38/00/cf3d4a886c35fdb8f58ebfe5c253de25626ac7abb6b74f0f6984b5f5b2ed/godo-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "73e87fb9fa6f11998d503a44252eb9da", "sha256": "962591b7d4aa1ed79106cde683e56decdd4f39f284dff7dc87ff127a39846a3d" }, "downloads": -1, "filename": "godo-0.0.3.tar.gz", "has_sig": false, "md5_digest": "73e87fb9fa6f11998d503a44252eb9da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6436, "upload_time": "2010-04-19T23:01:06", "url": "https://files.pythonhosted.org/packages/6c/35/326c85bb0dc29bd9b26470f1ebf6b847ffc1b6b67dee07a8f1b05c1ad4ea/godo-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "adfdf7531d053e7c89312033c0742c16", "sha256": "87a6a7dbd9a4fb7ebc8d393301fcdbc6d124af39e4dc2178b67d459c7a5d0fcb" }, "downloads": -1, "filename": "godo-0.0.4.tar.gz", "has_sig": false, "md5_digest": "adfdf7531d053e7c89312033c0742c16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6537, "upload_time": "2010-04-19T23:04:42", "url": "https://files.pythonhosted.org/packages/89/28/811818e16db5dfb467da235daea52445e2367f2dc1f6104aee5cf9af19b4/godo-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "ebfc827e4c25fbccdd26cfe3967e3eb2", "sha256": "45b56d8194c08b30eccacb26e4467d59973c9414e42cd0e40fb6bdc7985cbaba" }, "downloads": -1, "filename": "godo-0.0.5.tar.gz", "has_sig": false, "md5_digest": "ebfc827e4c25fbccdd26cfe3967e3eb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6599, "upload_time": "2010-04-20T15:30:52", "url": "https://files.pythonhosted.org/packages/9c/e4/f82d895f9876149b702ace376f14387f84e751ac4a6cae96fe4b04bd68bb/godo-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "5c536dd8e9188b20e29c7578d1a5ef7e", "sha256": "abb080f8c776710642b277479f578251b47235f056c3c7eaa93101660a6b8629" }, "downloads": -1, "filename": "godo-0.0.6.tar.gz", "has_sig": false, "md5_digest": "5c536dd8e9188b20e29c7578d1a5ef7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5962, "upload_time": "2010-04-20T16:43:51", "url": "https://files.pythonhosted.org/packages/fb/c6/95b1a0c8cb6484b58a5cb44a778cceb99692d857259d02b20b0bace5663f/godo-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "ffa0d63e1e2b62a54eefe881f4961a9c", "sha256": "eddaf5b3bd5c0ca177bfb44566a3f980ad32da4b268ff212391ed6da3c8a5863" }, "downloads": -1, "filename": "godo-0.0.7.tar.gz", "has_sig": false, "md5_digest": "ffa0d63e1e2b62a54eefe881f4961a9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7175, "upload_time": "2010-05-17T22:23:51", "url": "https://files.pythonhosted.org/packages/e8/11/b8f0abe567b2a0bdb38c876b369bb73ccccff5298b53e4d655f8ba7b25cc/godo-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "bc0f45e4ce8d0fa26f322a7bb19c5e0b", "sha256": "3782861d04722e68c444ccc73f95e044736ceaa530b61594b3b66359e0bdcd8a" }, "downloads": -1, "filename": "godo-0.0.8.tar.gz", "has_sig": false, "md5_digest": "bc0f45e4ce8d0fa26f322a7bb19c5e0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7634, "upload_time": "2010-06-09T20:52:33", "url": "https://files.pythonhosted.org/packages/34/fa/a3789a9ef8c736334cfdac79c05013593f67bff0d9055a2f824119817ef3/godo-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "91148eb6d132c4fc4332641ada33134e", "sha256": "47afabcc9ad83bfd51641ebb476e77095fad56449ecc33a116995b01dee68aaf" }, "downloads": -1, "filename": "godo-0.0.9.tar.gz", "has_sig": false, "md5_digest": "91148eb6d132c4fc4332641ada33134e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7894, "upload_time": "2010-06-09T21:43:58", "url": "https://files.pythonhosted.org/packages/8f/01/b57fd98a23940de3ecfabc51c52856e0773c7ff3d1732abc5802c8813d80/godo-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "63b474b74ca876b6d494b46af66a5087", "sha256": "8c9075fd6bd5cda7889b4020feb31dfc62c0e1aeb4998fcfe17bf858f21d4c57" }, "downloads": -1, "filename": "godo-0.0.10.tar.gz", "has_sig": false, "md5_digest": "63b474b74ca876b6d494b46af66a5087", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8012, "upload_time": "2010-06-18T19:59:32", "url": "https://files.pythonhosted.org/packages/49/28/d77c3873640b84d2539255a7a71d5b02b48a5dbbbb0cb0f805c448785f27/godo-0.0.10.tar.gz" } ] }