No project description provided
Project description
advent-of-code
Solutions to Advent of Code 2019.
The solutions are implemented in Rust which is exposed to Python using PyO3.
Usage as a library
Add dependency:
pip install advent-of-code
The advent_of_code
package exports a single solve
function with the following signature:
def solve(day: int, part: int, input: str) -> str
Examples:
from advent_of_code import solve
assert "3" == solve(1, 1, "14")
assert "30" == solve(3, 2, "R8,U5,L5,D3\nU7,R6,D4,L4")
Usage as a command line tool
Install:
$ pip install advent-of-code
$ echo 14 | advent-of-code-py 1 1
2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for advent_of_code-2019.12.60-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6942406cb08399249ea9060cfaefef6cd23754fd4c6bc4fe9f52f74bf486ed26 |
|
MD5 | a651f9d051341e86aa47688b7e89783d |
|
BLAKE2b-256 | 1b1cdd49ae407b3bb604bd49ad7861f0ff89396db7d0f38e7d464ccd8fcca519 |
Close
Hashes for advent_of_code-2019.12.60-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6a5d8e6cc9ac9df1fb83b4e1533b2f9a9b720cd25b00e92d99b92637d0a4877 |
|
MD5 | c5b0453a5b7f13d865b4f6ae30e90623 |
|
BLAKE2b-256 | d759327dbe37a02b146badde03cf6618d2d3da3870fb627f6b1c65e025b7f22d |
Close
Hashes for advent_of_code-2019.12.60-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58183299ebca7b553bd4dfb4a80a133227e09b2e08b17823d058ab5907b088a9 |
|
MD5 | 31996501c2d48bb4f8f831d2b5421277 |
|
BLAKE2b-256 | c3276478a6b15f99ea716ba0cb7829b5b9bb5b2fed26a0034047f14c64a493bc |
Close
Hashes for advent_of_code-2019.12.60-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 497cb357c3f49cb441ab1fba740ec1e01f5c102a93f9637b2841cadff7bd9b63 |
|
MD5 | fbc3e877841ce42fc47755cd565304f5 |
|
BLAKE2b-256 | c6cbf31408acd3a4f4acd5a3873bb007c43f2218165ca0901a7d2a79b698adc9 |
Close
Hashes for advent_of_code-2019.12.60-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44218616b032e50c056242ae5fa914707e31a3f73d869d076aef1e69c272aa36 |
|
MD5 | b0ec2a73feba65b4e973663fedfc6ae6 |
|
BLAKE2b-256 | bba31bc4b73bb8d304592bb6e65d9871c2aa306f84f890ed1e9d234989eaec2c |
Close
Hashes for advent_of_code-2019.12.60-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54193efdef87345f1e2f5b8313282731e523e6b38d966af0e3a0c00490fab014 |
|
MD5 | 19174d050da37490d5d67fd250aba4c3 |
|
BLAKE2b-256 | 68a1a5506976ee59a426e94d2cbcc81f496deadc191e03b2f4f1ace284222507 |
Close
Hashes for advent_of_code-2019.12.60-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b56608547b82cebc7452df7a05f91438459b7d5b44bdc4ee5c3ec5542e8a465e |
|
MD5 | 17d4e6b321782b3e7e48f139d694a460 |
|
BLAKE2b-256 | 8c886293c624c3dc8069eaaaae790ad7dd8268898ed70da41bfd403522bf9e13 |
Close
Hashes for advent_of_code-2019.12.60-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3d45d652b0c3420980380fbf46f187d82a95f6362120f55caf54a85c431025a |
|
MD5 | 6781971f814e00724695323b0143960d |
|
BLAKE2b-256 | 23594e6be3b31b0df8d0a7216762314960d75be9bfc6edd9d3c8982b264727ea |