{ "info": { "author": "Marcus Vaal", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries" ], "description": "Advent of Code helpers\n======================\n.. image:: https://travis-ci.org/mvaal/advent-of-code-helpers.svg?branch=master\n :target: https://travis-ci.org/mvaal/advent-of-code-helpers\n.. image:: https://badge.fury.io/py/advent-of-code-helpers.svg\n :target: https://badge.fury.io/py/advent-of-code-helpers\n.. image:: https://coveralls.io/repos/github/mvaal/advent-of-code-helpers/badge.svg\n :target: https://coveralls.io/github/mvaal/advent-of-code-helpers\n\nAdvent of Code helper functions\n\n.. code-block:: python\n\n from aoc.helpers import output, read_input_from_file, input_lines\n\nSetup Guide\n-----------\n\nInstall with pip\n\n.. code-block:: bash\n\n pip install advent-of-code-helpers\n\nUsage\n-----------------\n\nUsing the template:\n\n.. code-block:: python\n\n from aoc import template\n\n\n class Part1(template.Part1):\n def __init__(self, day: int, year: int) -> None:\n super().__init__(day, year)\n\n def solve(self):\n # Read input\n lines = input_lines(self.input())\n # Do some work here\n\n # Sample output\n result = ','.join(lines)\n return result\n\n\n def main():\n output_dir = '../out'\n test_data = os.path.join(os.path.dirname(__file__),\n 'resources/test_input.txt')\n Part1(1, 2018).data(test_data).output(output_dir)\n\n data = os.path.join(os.path.dirname(__file__), 'resources/input.txt')\n Part1(1, 2018).data(data).output(output_dir)\n\n\n if __name__ == \"__main__\":\n main()", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mvaal/advent-of-code-helpers", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "advent-of-code-helpers", "package_url": "https://pypi.org/project/advent-of-code-helpers/", "platform": "", "project_url": "https://pypi.org/project/advent-of-code-helpers/", "project_urls": { "Homepage": "https://github.com/mvaal/advent-of-code-helpers" }, "release_url": "https://pypi.org/project/advent-of-code-helpers/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Advent of Code helper functions", "version": "0.1.0" }, "last_serial": 4557771, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "e5b88ef2d56f7408d4edd09ccb6175f2", "sha256": "af2f80f4ecfbf7215783ca06e2d341eca2d16165c4661e4f65114cc3459832b3" }, "downloads": -1, "filename": "advent_of_code_helpers-0.0.1-py3.6.egg", "has_sig": false, "md5_digest": "e5b88ef2d56f7408d4edd09ccb6175f2", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 1206, "upload_time": "2018-12-03T04:48:29", "url": "https://files.pythonhosted.org/packages/11/d3/80bed6b4acb68d0ad6dec8ec09b3bc37499b0ab447d318029aa63ca6158e/advent_of_code_helpers-0.0.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "7dafe58338616b5cb9f78b35c1ee6b21", "sha256": "6687a585f087415f65429b80c0749b271fae035560cc6c8c7932d4dfdebf1c10" }, "downloads": -1, "filename": "advent_of_code_helpers-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7dafe58338616b5cb9f78b35c1ee6b21", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2192, "upload_time": "2018-12-03T04:48:26", "url": "https://files.pythonhosted.org/packages/1a/21/e4a51f396407b385ef430af355a9e1bdc8fb4d1388edbbd5cf74da1bf0b7/advent_of_code_helpers-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "02e184365eb4717cba52096afc50aedb", "sha256": "f2fc05acff506a87d5336052403aa548621e1ebcfdcd87b1dad9466a54d5b0f0" }, "downloads": -1, "filename": "advent-of-code-helpers-0.0.1.tar.gz", "has_sig": false, "md5_digest": "02e184365eb4717cba52096afc50aedb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1017, "upload_time": "2018-12-03T04:48:28", "url": "https://files.pythonhosted.org/packages/05/12/ee28aa5507c383901964e6c4655c5c743d3dcf37b76f9a07b143655da217/advent-of-code-helpers-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "8d410f3e8f311afc0b29c383ddd7b8b6", "sha256": "94a5f73e5714d7d30a2a087c40a8c9b2b6a45b7c6ff7fc284f01b26ebb210854" }, "downloads": -1, "filename": "advent-of-code-helpers-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8d410f3e8f311afc0b29c383ddd7b8b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1356, "upload_time": "2018-12-03T04:54:23", "url": "https://files.pythonhosted.org/packages/b4/7a/5d42d67df2cda9a42b8a6d600dec7c726645fac072fcb6c05ec37e016a6e/advent-of-code-helpers-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "00b7578b7577751e443614e217dd8379", "sha256": "db61c62bc086a7cd2145e3a60a24d913f3e8322307c12c722c6c3d156b04de5b" }, "downloads": -1, "filename": "advent-of-code-helpers-0.0.3.tar.gz", "has_sig": false, "md5_digest": "00b7578b7577751e443614e217dd8379", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1346, "upload_time": "2018-12-03T19:34:57", "url": "https://files.pythonhosted.org/packages/0e/e7/698755e11682ad8850a19dbf28aa31e014f4a765177bfeb8ebe0a68e169b/advent-of-code-helpers-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "ae487b5681d5c192bfa2a26f0e3a1fdd", "sha256": "f8bc9dce0ccb078019f5f87f2c8f967d48bcd37f8250708a9a912340f5fb3dcd" }, "downloads": -1, "filename": "advent-of-code-helpers-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ae487b5681d5c192bfa2a26f0e3a1fdd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2447, "upload_time": "2018-12-03T20:17:06", "url": "https://files.pythonhosted.org/packages/40/a7/f7363c9fb0a907b17bb6886297c49424ca3604661d0c3054fa1fa5394a91/advent-of-code-helpers-0.0.4.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "efd037a055e1e2343fe5bdd3906687ef", "sha256": "91eb28a4372ea282f399e901401a0c0154101a5c6d1053c13f024bd79bef8816" }, "downloads": -1, "filename": "advent-of-code-helpers-0.1.0.tar.gz", "has_sig": false, "md5_digest": "efd037a055e1e2343fe5bdd3906687ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2942, "upload_time": "2018-12-03T23:44:15", "url": "https://files.pythonhosted.org/packages/64/9f/f5c2ffa4e789a76bd620d934ae45f06fe5a3cc5feb3cec52b30b132063a7/advent-of-code-helpers-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "efd037a055e1e2343fe5bdd3906687ef", "sha256": "91eb28a4372ea282f399e901401a0c0154101a5c6d1053c13f024bd79bef8816" }, "downloads": -1, "filename": "advent-of-code-helpers-0.1.0.tar.gz", "has_sig": false, "md5_digest": "efd037a055e1e2343fe5bdd3906687ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2942, "upload_time": "2018-12-03T23:44:15", "url": "https://files.pythonhosted.org/packages/64/9f/f5c2ffa4e789a76bd620d934ae45f06fe5a3cc5feb3cec52b30b132063a7/advent-of-code-helpers-0.1.0.tar.gz" } ] }