Name | taoc JSON |
Version |
0.1.0
JSON |
| download |
home_page | |
Summary | |
upload_time | 2023-11-21 19:46:26 |
maintainer | |
docs_url | None |
author | taitep |
requires_python | >=3.12,<4.0 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# TAOC
A system for doing Advent of Code in python.
> Note: to set your session, please put it in the environment variable `AOC_SESSION` or `~/.config/aocd/token`.
To use, just do this:
```py
from taoc import solution
# day and year are optional, but parens forced
@solution(day=1, year=2022)
def mysolution(input: str):
...
return answer
if __name__ == "__main__":
# attempt=True will make it try to autosubmit the result
print(mysolution(attempt=True))
```
Raw data
{
"_id": null,
"home_page": "",
"name": "taoc",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.12,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "taitep",
"author_email": "arvid@h.se",
"download_url": "https://files.pythonhosted.org/packages/dc/07/3d14a4a38c3ce4376608424fbb42795f9378d601b8525dae1930e8313d7a/taoc-0.1.0.tar.gz",
"platform": null,
"description": "# TAOC\nA system for doing Advent of Code in python.\n\n> Note: to set your session, please put it in the environment variable `AOC_SESSION` or `~/.config/aocd/token`.\n\nTo use, just do this:\n```py\nfrom taoc import solution\n\n# day and year are optional, but parens forced\n@solution(day=1, year=2022)\ndef mysolution(input: str):\n ...\n return answer\n\nif __name__ == \"__main__\":\n # attempt=True will make it try to autosubmit the result\n print(mysolution(attempt=True))\n```",
"bugtrack_url": null,
"license": "",
"summary": "",
"version": "0.1.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c16e28c2c7405ec0194c5742464fd144ca4d11e5ec210a411fab722041da0e57",
"md5": "63d6151b1b35abc37e00378f0324238c",
"sha256": "28188aa46540fcd28951fc686641bc211a718e43e5d8b547ec4ddecafdba3d07"
},
"downloads": -1,
"filename": "taoc-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "63d6151b1b35abc37e00378f0324238c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12,<4.0",
"size": 1506,
"upload_time": "2023-11-21T19:46:25",
"upload_time_iso_8601": "2023-11-21T19:46:25.374296Z",
"url": "https://files.pythonhosted.org/packages/c1/6e/28c2c7405ec0194c5742464fd144ca4d11e5ec210a411fab722041da0e57/taoc-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dc073d14a4a38c3ce4376608424fbb42795f9378d601b8525dae1930e8313d7a",
"md5": "ec0364ba5e1c95fb2bd254cacb431320",
"sha256": "6cd1a531bf22ff6274ba624f080f3ae9bf2bb0b5adc98bfb12ee7e5d0e22a2a1"
},
"downloads": -1,
"filename": "taoc-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "ec0364ba5e1c95fb2bd254cacb431320",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12,<4.0",
"size": 1142,
"upload_time": "2023-11-21T19:46:26",
"upload_time_iso_8601": "2023-11-21T19:46:26.867144Z",
"url": "https://files.pythonhosted.org/packages/dc/07/3d14a4a38c3ce4376608424fbb42795f9378d601b8525dae1930e8313d7a/taoc-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-21 19:46:26",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "taoc"
}