AOCUtil
Input downloader for Advent of Code
Usage
Session cookie to fetch inputs and submit answers
- Get your session cookie from Advent of Code and save it in ./data/.secret_session_cookie
- Inputs are cached to ./inputs, a session cookie lasts for a month, and that's how long the inputs are valid.
- Inputs and answers are fetched and submitted by parsing the folder structure and filenames, so make sure they are named correctly.
20\d{2}for the year. Yes, you can break this. Do you have to?[^0-9]for the day from the filename.666_superclever_day01is not the intended usage <3aoc2022/day01.py,aoc/python/2022/day01.pyetc.
To generate the puzzle .py files for every day:
python -m AOCRla.aoc
To run a specific day's puzzle:
python ./dayXX.py
To open a web browser with the correct puzzle selected, add anything after the python file:
python ./day01.py asdf
Release files for AOCRla 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aocrla-0.1.0.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aocrla-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / aocrla-0.1.0.tar.gz
| Download URL | aocrla-0.1.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61568ba56c4c95b87a59661650306f32a9eb28363fd71822c95abe975885267a
|
|
BLAKE2b-256 checksum How to use checksums |
257b9d3170c54dea849bffdd299bcbd39d9b0454b5d380205de714eaeba3116b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / aocrla-0.1.0-py3-none-any.whl
| Download URL | aocrla-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
285736c482205f5c140b2a777239d53bf82ebdc1b5790442a16db1a410c9c49c
|
|
BLAKE2b-256 checksum How to use checksums |
d50f7a713c3de5ccf99af8100bc9163cf29c79692ad29c025f6a197caa298fe5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|