No project description provided
Project description
advent-of-code
Solutions to Advent of Code 2019.
The solutions are implemented in Rust which is compiled to WebAssembly.
Usage
Add dependency:
pip install advent-of-code
The advent_of_code package exports a single solve function with the following signature:
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")
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file advent_of_code-2019.12.49-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: advent_of_code-2019.12.49-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 321.3 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32cc80a1080f12a44117dd96531de4c9f7979bbecfb7cea8388a699111e3b462
|
|
| MD5 |
1c3a98a9c26170c01f4bc239cffbd3fa
|
|
| BLAKE2b-256 |
96cccf622dd0ae562e5c9e772fcdebc3cc2c992a00f17cb5ee25a02b2ea035b4
|
File details
Details for the file advent_of_code-2019.12.49-cp38-cp38-manylinux2010_x86_64.whl.
File metadata
- Download URL: advent_of_code-2019.12.49-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbaf25afb32ae1271176ac87b568770a6ede28e7fae2a514e5454907127a30a1
|
|
| MD5 |
3be394e0c3060cd9beaa47b817c1315c
|
|
| BLAKE2b-256 |
82f16c68dcb48d92bab1b818db5a4c3c7b5db4c2a079c7d849e7780b161efb72
|
File details
Details for the file advent_of_code-2019.12.49-cp38-cp38-manylinux1_x86_64.whl.
File metadata
- Download URL: advent_of_code-2019.12.49-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
577910a81aafaf18545603d111d5e869406381f8b1c9d23b56dc3614c131a31e
|
|
| MD5 |
f2b22ed8c50927203e4178e032afdefc
|
|
| BLAKE2b-256 |
7231a9bdcfa4942aedeb46ff097f4d044acf8200e317210d489e29a812df29d6
|
File details
Details for the file advent_of_code-2019.12.49-cp38-cp38-macosx_10_9_x86_64.whl.
File metadata
- Download URL: advent_of_code-2019.12.49-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 376.5 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
504aca68b80756ce2a176e2ae178fe11457784b6c48abde2b1db7fb3743bb451
|
|
| MD5 |
b2ad042f3f006f0156c84d15d6de41bc
|
|
| BLAKE2b-256 |
cb1aa21c5b185acea7c6a038a8bc30164858a62c3966b37955e9bfa4b3bf0ce9
|
File details
Details for the file advent_of_code-2019.12.49-cp37-cp37m-win_amd64.whl.
File metadata
- Download URL: advent_of_code-2019.12.49-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 321.3 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7df869a238e87b96d834bd86f457e55cba7f1f0447d33bf62540326a91512f89
|
|
| MD5 |
f748457f85472a4ca6728171c5055f85
|
|
| BLAKE2b-256 |
686e73ed469832e63f006beed5842eed0880f14094db661b8326b92afc5513a9
|
File details
Details for the file advent_of_code-2019.12.49-cp37-cp37m-manylinux2010_x86_64.whl.
File metadata
- Download URL: advent_of_code-2019.12.49-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35d20aa84d16abf5615dff1c221cfbdfaee52cd3387bf068c7b139d17d86e81b
|
|
| MD5 |
c8bfff665243cda81e435f32c12e571d
|
|
| BLAKE2b-256 |
ed53ab4c4ef34f4999aaf6c547d837f6d08f16b89f33c91919d27c22e6a45f98
|
File details
Details for the file advent_of_code-2019.12.49-cp37-cp37m-manylinux1_x86_64.whl.
File metadata
- Download URL: advent_of_code-2019.12.49-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
640c0662a01904c06ffcf67b9a6c827d2aea473b9452c8c4d341e3f91e9ba9ca
|
|
| MD5 |
40c91dc3770e8b39048c2a67b20aa540
|
|
| BLAKE2b-256 |
19a085bb126880cdead9e7694e7c667bcc9343a9e46695fbfba689c69e779e29
|
File details
Details for the file advent_of_code-2019.12.49-cp37-cp37m-macosx_10_9_x86_64.whl.
File metadata
- Download URL: advent_of_code-2019.12.49-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 376.5 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbc7a1988c87e05b41732665cd9361bb9eb0f8107e4732b39cec0ebb50253353
|
|
| MD5 |
744b0685bd2bb70af5a487d79acaff2b
|
|
| BLAKE2b-256 |
76eedbbb6be5e4680db2e4ad3b4c63813cbbc83ebf016766dd51a51e6786c909
|