Observed since 20 Oct, 20:01 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Solutions to Advent of Code puzzles.
These are my solutions in Python to some of the Advent of Code puzzles. My goal is to make the code readable while also making it reasonably fast.
You can install Adventkit using pip:
pip install adventkit
Alternatively, after cloning the Adventkit repository, the code can be run as is.
input/year2019/day01.txt
(relative to the current working directory).Optional, to run src/run.sh after cloning the repository:
/bin/sh)python3 to run Python 3.6.1+ (any implementation)pypy3 to invoke PyPy 3.6+After installing Adventkit, you can run a single day's solver like this:
adventkit 2019 10
Cloning the repository gives you more options:
src/run.sh 2019 10 (or
python3 src/run.py 2019 10)src/run.shsrc/run.sh 2019When invoked with the optional argument --time, src/run.sh prints
the execution time for each day. If the command pypy3 invokes a
suitable version of PyPy, src/run.sh uses it for any solvers that are
expected to run faster under PyPy than CPython.
To run the tests, first install
pytest and
pytest-subtests, as well
as your local copy of adventkit. Then run the command pytest.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.0 | 2 Dec 2023 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 20:01 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:f53792863f719f9d7ae3fcc551a72a6c0189efad6492598fc599272033976e31