{ "info": { "author": "Evan Zhang, jw4js", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3.7" ], "description": "# Offline Judge\nAn offline equivalent of an online judge in Python. Unfortunately, it uses many Unix-exclusive features. This is in theory compatible with Unix-likes, however, it is only tested on Linux 4.12.3.\n\n## Installation\n```\n$ pip install offline-judge\n```\n\n## Usage\n```\n$ judge --help\nusage: judge [-h] [--no-ansi] [--full-paths] [--no-summary]\n [--no-resource-usage]\n [--only-verdicts {AC,RTE,MLE,OLE,TLE,RE,WA} [{AC,RTE,MLE,OLE,TLE,RE,WA} ...]]\n [--exclude-verdicts {AC,RTE,MLE,OLE,TLE,RE,WA} [{AC,RTE,MLE,OLE,TLE,RE,WA} ...]]\n test_cases time_limit memory_limit executable\n [{standard,floats,identical}]\n\nAn quick offline judging tool.\n\npositional arguments:\n test_cases Directory that contains the test cases, where the\n input is in a file ending with `.in` and the\n corresponding output in a file with the same name\n ending with `.out`.\n time_limit Time limit in seconds. Decimals are accepted. Note\n that this limit can be bypassed by catching SIGXCPU.\n memory_limit Memory limit in one of \"B\", \"K\", \"M\", \"G\", \"T\". This\n must be one continuous string, for example \"5M\" is\n valid, however, \"5 M\" is not. Keep in mind that this\n has to be a multiple of the architecture's page size.\n executable The executable to run. It is executed through the\n execve system call. Therefore, scripts starting with\n \"#!/bin/sh\" will work, though it is a questionable\n language choice. Additional languages can be supported\n through helper scripts.\n {standard,floats,identical}\n Checker to be used to compare the correct output and\n the executable output. (default: standard)\n\noptional arguments:\n -h, --help show this help message and exit\n --no-ansi Disable ANSI output.\n --full-paths Use full case paths instead of batch headings and\n padding.\n --no-summary Do not output the final summary.\n --no-resource-usage Do not output time and memory usage.\n --only-verdicts {AC,RTE,MLE,OLE,TLE,RE,WA} [{AC,RTE,MLE,OLE,TLE,RE,WA} ...]\n Only display cases with the verdicts specified.\n --exclude-verdicts {AC,RTE,MLE,OLE,TLE,RE,WA} [{AC,RTE,MLE,OLE,TLE,RE,WA} ...]\n Do not display cases with the verdicts specified.\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/Ninjaclasher/offline_judge", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "offline-judge", "package_url": "https://pypi.org/project/offline-judge/", "platform": "", "project_url": "https://pypi.org/project/offline-judge/", "project_urls": { "Homepage": "https://github.com/Ninjaclasher/offline_judge" }, "release_url": "https://pypi.org/project/offline-judge/1.0.3/", "requires_dist": null, "requires_python": "", "summary": "An offline equivalent of an online judge.", "version": "1.0.3" }, "last_serial": 5684330, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "b8c66bf63f71e942410ea2f4a0f4dc1b", "sha256": "11aed31997df8a850d0784f80178940945194fe609beac29e4c6cf6ace336351" }, "downloads": -1, "filename": "offline_judge-1.0.0.tar.gz", "has_sig": false, "md5_digest": "b8c66bf63f71e942410ea2f4a0f4dc1b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7078, "upload_time": "2019-04-18T23:20:41", "url": "https://files.pythonhosted.org/packages/79/c3/7cd28efa60c439fae0bc7b5d33a690691ea02bbc395dffea73fd7efcda48/offline_judge-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "269f878c17b85f11514aa8b11df722cb", "sha256": "99c2c67a4954da2080e8d3ae6238f1c54b642fd85ee6cb9d332ebcbdfa73c69d" }, "downloads": -1, "filename": "offline_judge-1.0.1.tar.gz", "has_sig": false, "md5_digest": "269f878c17b85f11514aa8b11df722cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7069, "upload_time": "2019-04-18T23:41:49", "url": "https://files.pythonhosted.org/packages/6c/12/fedf2ab35f1cb7448b78173907d7b67252a6a3c3e248a25fc787a179ed12/offline_judge-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "0250482877894bf0d0000fe5f19d29cc", "sha256": "15889a919ad0cc136400fd15b55d76951e24b042594e4fd2d41d3f8cfc990f87" }, "downloads": -1, "filename": "offline_judge-1.0.2.tar.gz", "has_sig": false, "md5_digest": "0250482877894bf0d0000fe5f19d29cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7520, "upload_time": "2019-08-13T00:20:02", "url": "https://files.pythonhosted.org/packages/39/18/26b4e1f093af89e3980fdb5ba2ecb6c4e4aaf9f391903dbb1731a595dec7/offline_judge-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "4560a1f94528ef7ffe9a966c531aec0a", "sha256": "10f36afeff18aed3023135903e103dd9f9c1d489333f9303e2e82c0330fa17fb" }, "downloads": -1, "filename": "offline_judge-1.0.3.tar.gz", "has_sig": false, "md5_digest": "4560a1f94528ef7ffe9a966c531aec0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7552, "upload_time": "2019-08-15T21:09:32", "url": "https://files.pythonhosted.org/packages/7d/a9/18467e959236eed55ff1ffd4be53f2ef6939cf17db79c674467817922704/offline_judge-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4560a1f94528ef7ffe9a966c531aec0a", "sha256": "10f36afeff18aed3023135903e103dd9f9c1d489333f9303e2e82c0330fa17fb" }, "downloads": -1, "filename": "offline_judge-1.0.3.tar.gz", "has_sig": false, "md5_digest": "4560a1f94528ef7ffe9a966c531aec0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7552, "upload_time": "2019-08-15T21:09:32", "url": "https://files.pythonhosted.org/packages/7d/a9/18467e959236eed55ff1ffd4be53f2ef6939cf17db79c674467817922704/offline_judge-1.0.3.tar.gz" } ] }