{ "info": { "author": "Sergio Rodriguez Guasch", "author_email": "sergio.r.guasch@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Education", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: C++", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.0", "Topic :: Education", "Topic :: Scientific/Engineering", "Topic :: Software Development", "Topic :: Utilities" ], "description": "# RoundCreator\nCreate a folder structure for programming contest problems. It is intended to work in Python 3 and in Linux environments, but that does not mean that it cannot work on other platforms such as Windows or MacOS or other Python versions.\n\nWhat it can be guaranteed is that RoundCreator won't work in Python 2.6 due to the argparse dependency.\n\n## Installation\nIf you have cloned this repo, you can type `python setup.py install`. This will install a package called \"RoundCreator\" and will create a \"RoundCreator\" terminal command.\n\nThis package can also be installed with pip\n\n`pip install RoundCreator`\n\nYou can check [libraries.io](https://libraries.io/pypi/RoundCreator) or [PyPI](https://pypi.org/project/RoundCreator) for the whole version history.\n\n## General overview\nRoundCreator accepts some command line arguments and then does some stuff. Its arguments (and its default values) are:\n* `--name` Contest name. Its default value is \"myContest\"\n* `--amount` Number of problems. Its default value is 5\n* `--single` Type it if you want a single problem. It will place the source and scripts in the contest folder. Overrides `--amount`\n* `--author` Your name\n* `--command` Shell command to execute after creating the folder structure. Will be execute inside the contest folder. Its default value is `chmod 777 * -R`\n\n## A simple example\nLet's suppose that you are competing in a contest called \"hardContest\" which has two problems (a and b), then, the following command:
\n`RoundCreator --name hardContest --amount 2`\n\nWill create the following folder structure:\n\n```\n$ tree hardContest/\nhardContest/\n\u251c\u2500\u2500 a\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 compile.sh\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.cc\n\u2514\u2500\u2500 b\n \u251c\u2500\u2500 compile.sh\n \u2514\u2500\u2500 main.cc\n\n2 directories, 4 files\n```\n\nAnd, given that the default command changes the permissions of the whole folder structure, you should expect to see something similar to this when listing the files:\n\n```\n$ ls -ltRa\n.:\ntotal 16\ndrwxrwxr-x 4 sergiorgs sergiorgs 4096 Aug 8 10:22 .\ndrwxrwxr-x 3 sergiorgs sergiorgs 4096 Aug 8 10:22 ..\ndrwxrwxrwx 2 sergiorgs sergiorgs 4096 Aug 8 10:22 a\ndrwxrwxrwx 2 sergiorgs sergiorgs 4096 Aug 8 10:22 b\n\n./a:\ntotal 16\ndrwxrwxrwx 2 sergiorgs sergiorgs 4096 Aug 8 10:22 .\ndrwxrwxr-x 4 sergiorgs sergiorgs 4096 Aug 8 10:22 ..\n-rwxrwxrwx 1 sergiorgs sergiorgs 236 Aug 8 10:22 compile.sh\n-rwxrwxrwx 1 sergiorgs sergiorgs 342 Aug 8 10:22 main.cc\n\n./b:\ntotal 16\ndrwxrwxrwx 2 sergiorgs sergiorgs 4096 Aug 8 10:22 .\ndrwxrwxr-x 4 sergiorgs sergiorgs 4096 Aug 8 10:22 ..\n-rwxrwxrwx 1 sergiorgs sergiorgs 236 Aug 8 10:22 compile.sh\n-rwxrwxrwx 1 sergiorgs sergiorgs 342 Aug 8 10:22 main.cc\n```\n\n## Templates\nThe code templates are the following:\n### C++ source code\n```c++\n/*\n Template by RoundCreator\n https://github.com/srgrr/RoundCreator\n \n Author: ##AUTHOR##\n*/\n#include \nusing namespace std;\nusing ll = long long int;\nusing vi = vector;\nusing vvi = vector;\nusing vll = vector;\nusing vvll = vector;\n\nint main() {\n ios_base::sync_with_stdio(0); cin.tie(0);\n \n}\n```\n### Compile script\n`g++ main.cc -Wall -Wextra -pedantic -std=c++14 -O2 -Wshadow -Wformat=2 -Wfloat-equal -Wconversion -Wlogical-op -Wcast-qual -Wcast-align -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -D_FORTIFY_SOURCE=2 -fsanitize=address -fstack-protector`\n\n### Running on Windows\nSince RoundCreator is written in Python you should expect it to work in Windows too. However, there are two unadressed issues:\n* The compile script will have the sh extension\n* The `--command` flag defaults to a linux command\n* Many Windows coders use MinGW instead of gcc. The compile command may not work.\nThese issues can be addressed by using some sort of unix terminal in windows instead of `cmd.exe` and gcc instead of MinGW.", "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/srgrr/RoundCreator", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "RoundCreator", "package_url": "https://pypi.org/project/RoundCreator/", "platform": "", "project_url": "https://pypi.org/project/RoundCreator/", "project_urls": { "Homepage": "https://github.com/srgrr/RoundCreator" }, "release_url": "https://pypi.org/project/RoundCreator/2.1.2/", "requires_dist": null, "requires_python": "", "summary": "A tool that creates a programming contest folder structure", "version": "2.1.2" }, "last_serial": 5654461, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "944460d087c4e13e84195ec0d34b9f8d", "sha256": "093a53ba9da0cef7745a2b3a37036ae562647663c2deb5e0716364f475c50919" }, "downloads": -1, "filename": "RoundCreator-1.0.tar.gz", "has_sig": false, "md5_digest": "944460d087c4e13e84195ec0d34b9f8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1902, "upload_time": "2017-01-22T18:01:25", "url": "https://files.pythonhosted.org/packages/ec/6c/dcffdc14e67c990fa79014023a600448132daf5c54e453072541304597cc/RoundCreator-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "1f55edd791a03eeba450240fcf03841c", "sha256": "8c835a023403c2aeb1140e1f5475f5c960af31398def29cc56317a52f81ba19e" }, "downloads": -1, "filename": "RoundCreator-1.1.tar.gz", "has_sig": false, "md5_digest": "1f55edd791a03eeba450240fcf03841c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3835, "upload_time": "2017-02-03T21:40:26", "url": "https://files.pythonhosted.org/packages/2c/4b/4d49468cdc74ec36a939a1240ad57fa62c49742c4639a7649f45fbea2354/RoundCreator-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "3bf4623b12e486d8ad30cfd9705e81f9", "sha256": "dc9e6b22fb410c42f086ee107bae7aff8f76788d018173daba72f330b91fb39a" }, "downloads": -1, "filename": "RoundCreator-1.1.1.tar.gz", "has_sig": false, "md5_digest": "3bf4623b12e486d8ad30cfd9705e81f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3814, "upload_time": "2017-02-03T21:48:41", "url": "https://files.pythonhosted.org/packages/8c/9f/c2071e1297d5db1538207d17d44d801cea956315b3b39e5d91cd31213808/RoundCreator-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "9100871ec7db922bfbdb2f41d62935f9", "sha256": "a1b80766710493edb139cd0dd94b0a2d668e62765aa190cc97b06b7149504fd3" }, "downloads": -1, "filename": "RoundCreator-1.1.2.tar.gz", "has_sig": false, "md5_digest": "9100871ec7db922bfbdb2f41d62935f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3771, "upload_time": "2017-02-04T12:58:56", "url": "https://files.pythonhosted.org/packages/2c/ab/810817f719b575bc94570d01928ebe4f156f1b3c8bd484a2b3d3a0fdaa0c/RoundCreator-1.1.2.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "4acb164a52ba7585800b4927c77ca9a2", "sha256": "b0a9c7127b320641e83c8a31a038c72e822ced1b1ea25912aa0e00a98e00ede7" }, "downloads": -1, "filename": "RoundCreator-1.2.0.tar.gz", "has_sig": false, "md5_digest": "4acb164a52ba7585800b4927c77ca9a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3787, "upload_time": "2017-06-12T21:22:22", "url": "https://files.pythonhosted.org/packages/23/49/4ded81a13f293212145361b7287939736de826cbbde4c3a8f08780913ce6/RoundCreator-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "6fd31798dfd410dda54dd5a0909349db", "sha256": "03ce59a9806653783df4c3724d1d1fee79589c6403f87543ade80927640fdcac" }, "downloads": -1, "filename": "RoundCreator-1.2.1.tar.gz", "has_sig": false, "md5_digest": "6fd31798dfd410dda54dd5a0909349db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3965, "upload_time": "2017-06-12T21:24:12", "url": "https://files.pythonhosted.org/packages/f2/8a/80c7538cc60890241dbe0b4f3e3e53306f3c0cdc7d5733371048978d0b4d/RoundCreator-1.2.1.tar.gz" } ], "1.6.0": [ { "comment_text": "", "digests": { "md5": "47d243c883b5c63c24c66d6ba1742b76", "sha256": "c7e60808450339c2d62235bd03f896f0b61fb16ff52bd10b8791f70b754e547a" }, "downloads": -1, "filename": "RoundCreator-1.6.0.tar.gz", "has_sig": false, "md5_digest": "47d243c883b5c63c24c66d6ba1742b76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4899, "upload_time": "2018-12-10T11:09:31", "url": "https://files.pythonhosted.org/packages/eb/22/ab26d52e9f97e1363f23b04e596ac8cfc107b31f7bd24cdf521b401cdbca/RoundCreator-1.6.0.tar.gz" } ], "1.6.1": [ { "comment_text": "", "digests": { "md5": "58bb56b06d8312813f245eb4aa72c184", "sha256": "8ecb083d6bc27e915744e9b49817efef0b59ce1b2328446d2d8a9d5dde6fabd8" }, "downloads": -1, "filename": "RoundCreator-1.6.1.tar.gz", "has_sig": false, "md5_digest": "58bb56b06d8312813f245eb4aa72c184", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4978, "upload_time": "2019-03-26T09:50:01", "url": "https://files.pythonhosted.org/packages/4d/c2/f7457c54a67f1983b8dcf556e860f7b739341b3d72fb859965a096ea656e/RoundCreator-1.6.1.tar.gz" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "f6dc1fe178499aebbe7e71225206ecf1", "sha256": "f26f71aa4d0d3905fd15bf24445ce0a4c9c7d5400c805a5113e882167afb020c" }, "downloads": -1, "filename": "RoundCreator-2.1.0.tar.gz", "has_sig": false, "md5_digest": "f6dc1fe178499aebbe7e71225206ecf1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4713, "upload_time": "2019-08-09T09:08:25", "url": "https://files.pythonhosted.org/packages/64/03/c9143d85ee942a5fcad76f945514331397b0a2c6a64daeb194be3e955fda/RoundCreator-2.1.0.tar.gz" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "31c8fc6668393f766724a16dc4cf7355", "sha256": "678e4e7879a1e45d5042ff5f8cdfde23f907299e4d7a8ff65fc20c5b90973812" }, "downloads": -1, "filename": "RoundCreator-2.1.1.tar.gz", "has_sig": false, "md5_digest": "31c8fc6668393f766724a16dc4cf7355", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4918, "upload_time": "2019-08-09T09:22:09", "url": "https://files.pythonhosted.org/packages/e1/ef/c15c8c690eae9f1524d655de6cb414b345086de9e25f17254e4fcc89762e/RoundCreator-2.1.1.tar.gz" } ], "2.1.2": [ { "comment_text": "", "digests": { "md5": "f79cd6164b2210130b35863de4a9da63", "sha256": "eb753f141fdae24a9602946bc13232414769cb988d28406724782ad1af34161d" }, "downloads": -1, "filename": "RoundCreator-2.1.2.tar.gz", "has_sig": false, "md5_digest": "f79cd6164b2210130b35863de4a9da63", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4948, "upload_time": "2019-08-09T09:25:42", "url": "https://files.pythonhosted.org/packages/0a/43/08b116dbe2cb9021933ebe822dd73f1d7f1e55b916eebec3970ff098f394/RoundCreator-2.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f79cd6164b2210130b35863de4a9da63", "sha256": "eb753f141fdae24a9602946bc13232414769cb988d28406724782ad1af34161d" }, "downloads": -1, "filename": "RoundCreator-2.1.2.tar.gz", "has_sig": false, "md5_digest": "f79cd6164b2210130b35863de4a9da63", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4948, "upload_time": "2019-08-09T09:25:42", "url": "https://files.pythonhosted.org/packages/0a/43/08b116dbe2cb9021933ebe822dd73f1d7f1e55b916eebec3970ff098f394/RoundCreator-2.1.2.tar.gz" } ] }