Download Advent of Code problems as markdown files and also its inputs
Project description
Advent of Code Initializer
This utility allows downloading Advent of Code problems as markdown files. It also downloads the problems' inputs. This tool creates a folder for the required problem and stores the markdown and the input files.
Usage
usage: adventofcode_initializer.py [-h] {download,set-session-cookie} ...
Download Advent of Code problems as markdown files and also its inputs
positional arguments:
{download,set-session-cookie}
download Download files
set-session-cookie Set the necessary cookie to download personal inputs
or ploblems' part 2
options:
-h, --help show this help message and exit
In order to download inputs or part 2, you have to set the 'session' cookie.
usage: adventofcode_initializer.py set-session-cookie [-h] session-cookie
positional arguments:
session-cookie Cookie required to download inputs or problems' part 2
options:
-h, --help show this help message and exit
You only have to do save it once
usage: adventofcode_initializer.py download [-h] [-a] [-d [1-25]] [-y YEAR]
[--both-parts] [--part-2]
options:
-h, --help show this help message and exit
-a, --all-days Download all problems from a given year
-d [1-25], --day [1-25]
The problem that is going to be downloaded
-y YEAR, --year YEAR Advent of Code edition
--both-parts Download both parts of the problem and its input (if
it is possible)
--part-2 Download part two for the given problem and its input
(if it is possible). It appends to part one's README
if it exists
Installation
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for adventofcode-initializer-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f31f38932e5b2b9d181e469befa39a8b12a720bf1083a1186a5cb54ee36f159e |
|
MD5 | 1d4df84809263cda632a77cc626ffa7e |
|
BLAKE2b-256 | b0b105e0fe549fe3d23a0351f645373c97b8c224d333bd02b519d189924285c4 |
Close
Hashes for adventofcode_initializer-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78925b6fc14a0bfec6eaed9672a3bdd0f83aee4d149db694d2ce96f56f43aa76 |
|
MD5 | e19abb2434b1642eaca9317e2bca6f5b |
|
BLAKE2b-256 | 229c5dea0b56c19b4834916884d369981e0241699262a5b383a41cdb44a96daa |