{ "info": { "author": "Laurent Peuch", "author_email": "cortex@worlddomination.be", "bugtrack_url": null, "classifiers": [], "description": "CubeToolkit\n===========\n\nCubeToolkit is a CLI toolkit to help with the development of\n[CubicWeb](https://www.cubicweb.org/)'s cubes. The idea is to put mostly all\ntools and scripts in the same place.\n\nInstallation\n============\n\n pip install --user cubetoolkit\n\nAvailable tools\n===============\n\ngenerate-pyramid-ini\n--------------------\n\nThis tool generates the needed `pyramid.ini` file for instances using secure random generated secrets.\n\nUsage:\n\n # this will print the generated file on the standard output\n cubetoolkit generate-pyramid-ini\n\n # this will put the file in the instance folder if not present\n cubetoolkit generate-pyramid-ini --instance instanceName\n # or\n cubetoolkit generate-pyramid-ini -i instanceName\n\n # this will in addition overwrite an existing pyramid.ini file\n cubetoolkit generate-pyramid-ini --instance instanceName -f\n\nautoupgradedependencies\n-----------------------\n\nThis tool is meant to upgrades the dependencies of a CubicWeb cube by parsing\nits `__pkginfo__.py` and trying to upgrade each of its dependencies one by one\nand running tests in the middle.\n\nThe algorithm is the following one:\n\n* find `__pkginfo__.py` either in the root of the project or in `cubicweb_{project_name}`\n* parse it, extract the values of `__depends__`\n* merge those informations with pypi's one\n* only keep the packages that can be upgraded\n* for all upgradables cubes:\n * try to upgrade to the latest version\n * check if the cube has changed to a new-style cube\n * if so update the imports\n * run tests (a command provided by the user)\n * if the tests successed, commit\n * else, redo the previous step but next upgradable version by next upgradable version until you find the first buggy one, in the case the previous one is the good one, commit it\n* redo the same operations for dependencies that aren't cube without the upgrade part\n* display of summary of what has been done and which upgrades failed and point to their tests logs\n* exit\n\nUsage:\n\nIn the folder where the `.hg` is in a classic cube.\n\n cubetoolkit autoupgradedependencies \"test command\"\n\nExamples:\n\n cubetoolkit autoupgradedependencies \"tox -e py27 --recreate\"\n cubetoolkit autoupgradedependencies \"py.test tests\"\n\ngenerate-doc\n------------\n\nThis tool will generate a base documentation for a cube using `sphinx-apidoc`\nto expose the module content in the doc.\n\nOnly works for new-style cube.\n\nUsage:\n\n # in the same directory that the cubicweb_$cube directory\n cubetoolkit generate-doc\n\nto-newstyle-cube\n----------------\n\nThis tool by nsukami will do /most/ of the work to migrate a cube in the\noldstyle format to the new one.\n\nUsage:\n\n cubetoolkit to-newstyle-cube /path/to/cube\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Psycojoker/cubetoolkit", "keywords": "cubicweb", "license": "gplv3+", "maintainer": "", "maintainer_email": "", "name": "cubetoolkit", "package_url": "https://pypi.org/project/cubetoolkit/", "platform": "", "project_url": "https://pypi.org/project/cubetoolkit/", "project_urls": { "Homepage": "https://github.com/Psycojoker/cubetoolkit" }, "release_url": "https://pypi.org/project/cubetoolkit/0.3.1/", "requires_dist": null, "requires_python": "", "summary": "toolkit to works on cubicweb cubes", "version": "0.3.1" }, "last_serial": 5520963, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "134be7f783ffc5c1e9867082e6b57726", "sha256": "e9fa42089b0bee990b2df594247108af7ae093a90a92e5be8f600f9dacddf3e6" }, "downloads": -1, "filename": "cubetoolkit-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "134be7f783ffc5c1e9867082e6b57726", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 2338, "upload_time": "2019-05-08T16:18:57", "url": "https://files.pythonhosted.org/packages/23/c0/1f201bddfd0c0eceb81922ec729a7807e7ce8719feb3d2deaa4c43882156/cubetoolkit-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26337c0a34697a5d3a65d5e0143657ec", "sha256": "9a59b9be4e34a042b593d3427695ae11ec2592d245cf7c0ab9888327172731c5" }, "downloads": -1, "filename": "cubetoolkit-0.1.tar.gz", "has_sig": false, "md5_digest": "26337c0a34697a5d3a65d5e0143657ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2243, "upload_time": "2019-05-08T16:18:55", "url": "https://files.pythonhosted.org/packages/2c/d8/d3be9c5aa218ae90b9f13208340d7d2a49ae70228763dd5257f641ba2b8d/cubetoolkit-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2daeecd83cb700f3dec6d46bd3290edd", "sha256": "ae6ef968255bce074124cd7e5e1e4c1045372f70f8b07d500b9cfef7fc9b935c" }, "downloads": -1, "filename": "cubetoolkit-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "2daeecd83cb700f3dec6d46bd3290edd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7214, "upload_time": "2019-05-08T16:23:00", "url": "https://files.pythonhosted.org/packages/75/87/8634742a40170dbddde9ee453b73ecd70e9e12f62223a06b62f13c5c7dca/cubetoolkit-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e67e1547e2e596a4e993fb79dd86dfa", "sha256": "423776c9290f9d348ba6319c34cd02ad088b43065450120b72abe7a5f0cb512d" }, "downloads": -1, "filename": "cubetoolkit-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2e67e1547e2e596a4e993fb79dd86dfa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6840, "upload_time": "2019-05-08T16:22:58", "url": "https://files.pythonhosted.org/packages/8c/4b/c3cacbb12a165c32470866191116826ee1853c5f67352273d5d498404b11/cubetoolkit-0.1.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "180202f9bb92ac68c9f4fe3228faa82c", "sha256": "3d602aaf90b83eac49cc7d89935452cbb533e4994bfa3d1c27b60b318c5094d2" }, "downloads": -1, "filename": "cubetoolkit-0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "180202f9bb92ac68c9f4fe3228faa82c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7688, "upload_time": "2019-05-23T23:10:46", "url": "https://files.pythonhosted.org/packages/87/5d/ddc49f37d60c653e7a3d79d3b3c63918804c2e27b2ede296a786dc64c82c/cubetoolkit-0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9163eb822a46e4a8f4fe7c3ddec1141f", "sha256": "4373ed5d079c621ce1c997cadc6be32dab83497d5ff08586d2f1cf9e7469a4b4" }, "downloads": -1, "filename": "cubetoolkit-0.2.tar.gz", "has_sig": false, "md5_digest": "9163eb822a46e4a8f4fe7c3ddec1141f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7398, "upload_time": "2019-05-23T23:10:44", "url": "https://files.pythonhosted.org/packages/df/d3/b9eb65c6fc03cbe353e9cc69907a57442f8b8afabe6c5a4d539ad1298bf7/cubetoolkit-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "83ff1f123e6643af1347c6a131ac9d8c", "sha256": "59d65a4d5c57f4e1db523454f209bce8faaa3c53f99102abeb629d94be3a2f71" }, "downloads": -1, "filename": "cubetoolkit-0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "83ff1f123e6643af1347c6a131ac9d8c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11496, "upload_time": "2019-06-21T04:25:37", "url": "https://files.pythonhosted.org/packages/01/2c/810d1c3c3a7006780c01b3b44156a911d7906696646c4ed2e3c4e6833b42/cubetoolkit-0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "23ab929d033c8683144864b66f41819d", "sha256": "5d2560643180bb0852ba388883f1953a81b7c51f6a29669377af22c11c5ce406" }, "downloads": -1, "filename": "cubetoolkit-0.3.tar.gz", "has_sig": false, "md5_digest": "23ab929d033c8683144864b66f41819d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9605, "upload_time": "2019-06-21T04:25:36", "url": "https://files.pythonhosted.org/packages/c8/1b/11553637f37edfce385ab0324b1d7d47d14eaf969c4d5e78919e7e6a5a2d/cubetoolkit-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "6864e50c17126e71d71af0f0b120deb7", "sha256": "d4f218dfdd3b1d9b039a5ced07c3ffeb08f24f0fa45a92a5795a8d2c1b9b1f58" }, "downloads": -1, "filename": "cubetoolkit-0.3.1-py2-none-any.whl", "has_sig": false, "md5_digest": "6864e50c17126e71d71af0f0b120deb7", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9586, "upload_time": "2019-07-12T01:09:39", "url": "https://files.pythonhosted.org/packages/86/b0/fece9ca478b1cbc02a7d8286988b1e8b631560361100b461ed8a8d9a60be/cubetoolkit-0.3.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4569622e73ac1d89cc121d464b8db93b", "sha256": "e5032d3186ee620581b77204f93c29543a67e93c9d57842c86993f5a9d17795a" }, "downloads": -1, "filename": "cubetoolkit-0.3.1.tar.gz", "has_sig": false, "md5_digest": "4569622e73ac1d89cc121d464b8db93b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9943, "upload_time": "2019-07-12T01:09:37", "url": "https://files.pythonhosted.org/packages/41/28/91cbc72643f96e1c4017068b391f49c7040c84792a438387594d8a881549/cubetoolkit-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6864e50c17126e71d71af0f0b120deb7", "sha256": "d4f218dfdd3b1d9b039a5ced07c3ffeb08f24f0fa45a92a5795a8d2c1b9b1f58" }, "downloads": -1, "filename": "cubetoolkit-0.3.1-py2-none-any.whl", "has_sig": false, "md5_digest": "6864e50c17126e71d71af0f0b120deb7", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9586, "upload_time": "2019-07-12T01:09:39", "url": "https://files.pythonhosted.org/packages/86/b0/fece9ca478b1cbc02a7d8286988b1e8b631560361100b461ed8a8d9a60be/cubetoolkit-0.3.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4569622e73ac1d89cc121d464b8db93b", "sha256": "e5032d3186ee620581b77204f93c29543a67e93c9d57842c86993f5a9d17795a" }, "downloads": -1, "filename": "cubetoolkit-0.3.1.tar.gz", "has_sig": false, "md5_digest": "4569622e73ac1d89cc121d464b8db93b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9943, "upload_time": "2019-07-12T01:09:37", "url": "https://files.pythonhosted.org/packages/41/28/91cbc72643f96e1c4017068b391f49c7040c84792a438387594d8a881549/cubetoolkit-0.3.1.tar.gz" } ] }