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
The utility has two main options (set-session-cookie and download).
usage: adventofcode_initializer [-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.
Setting the correspondig cookie the user will be able to download custom inputs and new problem parts.
usage: adventofcode_initializer 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
By default, the utility downloads the first part of the problem. In addition, part two can be appended to the README file.
The utility can also download previous editions or already completed days.
usage: adventofcode_initializer 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
Pip:
pip install adventofcode-initializer
Build from source:
git clone https://github.com/Serms1999/advent-initializer.git
cd advent-initializer
pip install .
Metadata
Release files for adventofcode-initializer 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| adventofcode-initializer-1.0.5.tar.gz | 42.0 kB | Without provenance | Details for adventofcode-initializer-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adventofcode_initializer-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for adventofcode_initializer-1.0.5-py3-none-any.whl |
Total release size: 72.3 kB
Release files / adventofcode-initializer-1.0.5.tar.gz
| Download URL | adventofcode-initializer-1.0.5.tar.gz |
|---|---|
| Size | 42.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8c4e27970fdeacc32402dfa819e343d6f42051f53fc511eaa60a94992568b96
|
|
BLAKE2b-256 checksum How to use checksums |
9e0d20ed9bb49e7797998b5b99b62eb654265d77bdaaf5d11ee0ba86754a46fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / adventofcode_initializer-1.0.5-py3-none-any.whl
| Download URL | adventofcode_initializer-1.0.5-py3-none-any.whl |
|---|---|
| Size | 30.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c884f9902f4b795a86aa7ad9756ad47f42e848f89f80d1a8fddc1c9d11dda9a1
|
|
BLAKE2b-256 checksum How to use checksums |
146a8114f04482f552b2cba0b08edd174a211d64567d79ae7d528b9bc3d0a2e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for adventofcode-initializer 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.