{ "info": { "author": "Joel Hedtj\u00e4rn", "author_email": "joel.hedtjarn@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\n# pykattis\n\nA CLI tool for solving [Kattis](https://www.kattis.com/) problems with python.\n\n## Installation\n\n```\npip install pykattis\n```\n\n## Usage\n\nTo create a solution for a problem, run:\n\n```\npykattis create {problem_id}\n```\n\nwhere `problem_id` is the Kattis problem ID.\nThis creates the directory `problems/{problem_id}` in the current working directory with the files `solution.py`, an `__init__.py` file, and downloads the sample input-anwer pairs to a `samples.json` file.\n\nThe `solution.py`-file is where you will be writing the solution to the problem.\nInside it is a function `solve(input_: str) -> str:`, which you will fill out with your program as you see fit.\nThis function is called by the commands `kattis run` and `kattis test`.\n\nTo simply run the program as a script, run:\n\n```\npykattis run {problem_id}\n```\n\nand to test it on the sample input-answer pairs defined in `samples.json`, run:\n\n```\npykattis test {problem_id}\n```\n\nTo upload the solution to Kattis, you can submit the problem's `solution.py` file through Kattis's web form.\nHowever, this is a temporary solution.\nIn a future version, you will be able to publish your solution to Kattis directly through pykattis.\n\nIf you, for some reason, just want to download a problem's samples, you can run:\n\n```\npykattis download_samples {problem_id}\n```\n\nIt is recommended to use a VCS, like [git](https://git-scm.com/), to keep track of your solutions.\n\n\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/joelhed/pykattis", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pykattis", "package_url": "https://pypi.org/project/pykattis/", "platform": "", "project_url": "https://pypi.org/project/pykattis/", "project_urls": { "Homepage": "https://github.com/joelhed/pykattis" }, "release_url": "https://pypi.org/project/pykattis/0.0.3/", "requires_dist": [ "requests" ], "requires_python": ">=3.6.0", "summary": "A CLI tool for solving Kattis problems with python.", "version": "0.0.3" }, "last_serial": 4178580, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "59e6855264a4111a08c6a85143e914f6", "sha256": "8bad23b004dc736e605edc0526d1cc0bfb2685f8f0696f3b54ff6b72ad36150b" }, "downloads": -1, "filename": "pykattis-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "59e6855264a4111a08c6a85143e914f6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 4944, "upload_time": "2018-08-16T23:22:56", "url": "https://files.pythonhosted.org/packages/6a/03/3d31bf18e3e0152beb5f1591ca12ce689562465a8d635607289566fb56ed/pykattis-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1646defc70953373964db833d29140ed", "sha256": "c15d4fe94fab49ff7c150a967b25e327889a9a117503fc4b7507b12405d0f29f" }, "downloads": -1, "filename": "pykattis-0.0.1.tar.gz", "has_sig": false, "md5_digest": "1646defc70953373964db833d29140ed", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 5720, "upload_time": "2018-08-16T23:22:57", "url": "https://files.pythonhosted.org/packages/d3/31/515ff8ebc57514278f04a2b7e879025fb6e48c6faaf79d89dc01b38b79a7/pykattis-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "09065b6b0d49508c3ccff2df15bdd57c", "sha256": "52c1dd898ca96fd2718e50503660ef17129aa3dfb787ab6d34e3a9d559d5f8a8" }, "downloads": -1, "filename": "pykattis-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "09065b6b0d49508c3ccff2df15bdd57c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 8134, "upload_time": "2018-08-17T00:09:11", "url": "https://files.pythonhosted.org/packages/ce/d5/df3718dd9490b5289739bd795a203f0ab7146809400e5498c76da2f0289f/pykattis-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "682275a47a9504cedb5481eb881168c8", "sha256": "4f0700225f7d443310a2935c02a830e2644336c7dc89bf1c6770f583ec5eb400" }, "downloads": -1, "filename": "pykattis-0.0.2.tar.gz", "has_sig": false, "md5_digest": "682275a47a9504cedb5481eb881168c8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 5750, "upload_time": "2018-08-17T00:09:12", "url": "https://files.pythonhosted.org/packages/14/9c/19953e39cd419a18eaef8a1bdf0bd94bf9d8515fa9fafcc53586ecb1c3aa/pykattis-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "0fe4127d4680e080ca2095a6fa5cf6af", "sha256": "10349592e708dd92c0def5e6ff7756c426309025a2a05eeb8e7340b06da343ba" }, "downloads": -1, "filename": "pykattis-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0fe4127d4680e080ca2095a6fa5cf6af", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 8195, "upload_time": "2018-08-17T00:46:52", "url": "https://files.pythonhosted.org/packages/2d/89/0d58c5a665d0858bfcdb8ad0520255ed608edf45947c2b5b06f662b55542/pykattis-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "999f2564ebc0ed743387c83b85f47c99", "sha256": "b4e7ffee1c822e5fdb47664a37ab4d1a2213ed184fb36da5c177f1ec46c71049" }, "downloads": -1, "filename": "pykattis-0.0.3.tar.gz", "has_sig": false, "md5_digest": "999f2564ebc0ed743387c83b85f47c99", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 5764, "upload_time": "2018-08-17T00:46:54", "url": "https://files.pythonhosted.org/packages/6d/e8/44b05c0630ca7544ca0823294af32a54af96297c72fb07b53638ab64b4c6/pykattis-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0fe4127d4680e080ca2095a6fa5cf6af", "sha256": "10349592e708dd92c0def5e6ff7756c426309025a2a05eeb8e7340b06da343ba" }, "downloads": -1, "filename": "pykattis-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0fe4127d4680e080ca2095a6fa5cf6af", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 8195, "upload_time": "2018-08-17T00:46:52", "url": "https://files.pythonhosted.org/packages/2d/89/0d58c5a665d0858bfcdb8ad0520255ed608edf45947c2b5b06f662b55542/pykattis-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "999f2564ebc0ed743387c83b85f47c99", "sha256": "b4e7ffee1c822e5fdb47664a37ab4d1a2213ed184fb36da5c177f1ec46c71049" }, "downloads": -1, "filename": "pykattis-0.0.3.tar.gz", "has_sig": false, "md5_digest": "999f2564ebc0ed743387c83b85f47c99", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 5764, "upload_time": "2018-08-17T00:46:54", "url": "https://files.pythonhosted.org/packages/6d/e8/44b05c0630ca7544ca0823294af32a54af96297c72fb07b53638ab64b4c6/pykattis-0.0.3.tar.gz" } ] }