adventofcode 25.1__py3-none-any.whl → 25.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- adventofcode/__about__.py +1 -1
- {adventofcode-25.1.dist-info → adventofcode-25.3.dist-info}/METADATA +49 -2
- adventofcode-25.3.dist-info/RECORD +8 -0
- adventofcode-25.1.dist-info/RECORD +0 -8
- {adventofcode-25.1.dist-info → adventofcode-25.3.dist-info}/WHEEL +0 -0
- {adventofcode-25.1.dist-info → adventofcode-25.3.dist-info}/entry_points.txt +0 -0
- {adventofcode-25.1.dist-info → adventofcode-25.3.dist-info}/licenses/LICENSE +0 -0
adventofcode/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "25.
|
|
1
|
+
__version__ = "25.3"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adventofcode
|
|
3
|
-
Version: 25.
|
|
3
|
+
Version: 25.3
|
|
4
4
|
Summary: Helper utilities for solving Advent of Code puzzles
|
|
5
5
|
Project-URL: Documentation, https://github.com/anze3db/adventofcode#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/anze3db/adventofcode/issues
|
|
@@ -32,6 +32,7 @@ Description-Content-Type: text/markdown
|
|
|
32
32
|
Helper utilities for solving Advent of Code puzzles.
|
|
33
33
|
|
|
34
34
|
* Project scaffolding with `adventofcode init`
|
|
35
|
+
* Benchmark all the days with `adventofcode benchmark`
|
|
35
36
|
* No copy-pasting puzzle inputs into files.
|
|
36
37
|
* No need to use low-level file APIs to read your inputs.
|
|
37
38
|
* Performance reports for example inputs and puzzle inputs.
|
|
@@ -44,7 +45,7 @@ Helper utilities for solving Advent of Code puzzles.
|
|
|
44
45
|
```bash
|
|
45
46
|
uv init
|
|
46
47
|
uv add adventofcode
|
|
47
|
-
adventofcode init
|
|
48
|
+
uv run adventofcode init
|
|
48
49
|
```
|
|
49
50
|
|
|
50
51
|
This will generate the scripts for each day:
|
|
@@ -114,6 +115,52 @@ export AOC_SESSION="..."
|
|
|
114
115
|
> [!NOTE]
|
|
115
116
|
> Setting AOC_SESSION will allow you to get your personal puzzle output (`aoc.get_input()`) and submit your answers with `aoc.submit_p1()` and `aoc.submit_p2()`.
|
|
116
117
|
|
|
118
|
+
### Benchmarks
|
|
119
|
+
|
|
120
|
+
You can benchmark your solutions with
|
|
121
|
+
|
|
122
|
+
```shell
|
|
123
|
+
uv run adventofcode benchmark
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
This run each day and parse the timing results from the output. It will print the results in the console and in your README.
|
|
127
|
+
|
|
128
|
+
Example README:
|
|
129
|
+
|
|
130
|
+
| Day | Status | Part 1 Time | Part 2 Time | Total Time |
|
|
131
|
+
|:---:|:------:|------------:|------------:|-----------:|
|
|
132
|
+
| 01 | ✅ | 2.1ms 🟢 | 0.6ms 🟢 | 2.6ms 🟢 |
|
|
133
|
+
| 02 | ✅ | 1.9ms 🟢 | 1.2ms 🟢 | 3.1ms 🟢 |
|
|
134
|
+
| 03 | ✅ | 1.5ms 🟢 | 0.5ms 🟢 | 2.0ms 🟢 |
|
|
135
|
+
| 04 | ✅ | 22.5ms 🟢 | 5.2ms 🟢 | 27.8ms 🟢 |
|
|
136
|
+
| 05 | ✅ | 3.6ms 🟢 | 4.1ms 🟢 | 7.7ms 🟢 |
|
|
137
|
+
| 06 | ✅ | 3.6ms 🟢 | 4.14s 🔴 | 4.14s 🔴 |
|
|
138
|
+
| 07 | ✅ | 33.8ms 🟢 | 1.07s 🔴 | 1.11s 🔴 |
|
|
139
|
+
| 08 | ✅ | 1.0ms 🟢 | 0.7ms 🟢 | 1.7ms 🟢 |
|
|
140
|
+
| 09 | ✅ | 6.3ms 🟢 | 1.08s 🔴 | 1.09s 🔴 |
|
|
141
|
+
| 10 | ✅ | 3.2ms 🟢 | 3.2ms 🟢 | 6.4ms 🟢 |
|
|
142
|
+
| 11 | ✅ | 1.7ms 🟢 | 45.0ms 🟢 | 46.7ms 🟢 |
|
|
143
|
+
| 12 | ✅ | 33.3ms 🟢 | 31.0ms 🟢 | 64.4ms 🟢 |
|
|
144
|
+
| 13 | ✅ | 118.1ms 🟡 | 360.8ms 🟡 | 478.9ms 🟡 |
|
|
145
|
+
| 14 | ✅ | 3.7ms 🟢 | 411.4ms 🟡 | 415.1ms 🟡 |
|
|
146
|
+
| 15 | ✅ | 3.5ms 🟢 | 5.0ms 🟢 | 8.4ms 🟢 |
|
|
147
|
+
| 16 | ✅ | 87.1ms 🟢 | 133.9ms 🟡 | 221.1ms 🟡 |
|
|
148
|
+
| 17 | ✅ | 0.7ms 🟢 | 21.0ms 🟢 | 21.7ms 🟢 |
|
|
149
|
+
| 18 | ✅ | 7.2ms 🟢 | 7.49s 🔴 | 7.50s 🔴 |
|
|
150
|
+
| 19 | ✅ | 9.7ms 🟢 | 111.7ms 🟡 | 121.4ms 🟡 |
|
|
151
|
+
| 20 | ✅ | 50.54s 🔴 | 4.46s 🔴 | 54.99s 🔴 |
|
|
152
|
+
| 21 | ✅ | 0.4ms 🟢 | 0.3ms 🟢 | 0.8ms 🟢 |
|
|
153
|
+
| 22 | ✅ | 603.7ms 🟡 | 1.90s 🔴 | 2.50s 🔴 |
|
|
154
|
+
| 23 | ✅ | 255.0ms 🟡 | 263.4ms 🟡 | 518.4ms 🟡 |
|
|
155
|
+
| 24 | ⚠️ | 1.4ms 🟢 | - | 1.4ms 🟢 |
|
|
156
|
+
| 25 | ✅ | 7.2ms 🟢 | - | 7.2ms 🟢 |
|
|
157
|
+
| **Total** | | 51.75s 🔴 | 21.53s 🔴 | 73.28s 🔴 |
|
|
158
|
+
|
|
159
|
+
Legend:
|
|
160
|
+
* 🟢 < 100ms
|
|
161
|
+
* 🟡 100ms - 1s
|
|
162
|
+
* 🔴 > 1s
|
|
163
|
+
|
|
117
164
|
|
|
118
165
|
### Or build your workflow using the AoC class
|
|
119
166
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
adventofcode/__about__.py,sha256=tVK3AC_S9XFlntEpoGLFjzoRhG2MnZ3nQ3qNv72y2fc,21
|
|
2
|
+
adventofcode/__init__.py,sha256=OqMPnvRc5pcDWMDM4zjwCm4nsOdBohB_1ZSmJz3bXP0,4462
|
|
3
|
+
adventofcode/cli.py,sha256=-y1uIExMoGr0DnAZAgfX45QyAIEFBj1E0koANByyPMs,14439
|
|
4
|
+
adventofcode-25.3.dist-info/METADATA,sha256=CcZnz_EM4ShyvyAbMLmeAbQm11krWS9F36T3jnVvd54,5568
|
|
5
|
+
adventofcode-25.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
+
adventofcode-25.3.dist-info/entry_points.txt,sha256=Yw9pyDrVVS3XWRcjOv1BnAxkqtJdYoG747A1LysScak,83
|
|
7
|
+
adventofcode-25.3.dist-info/licenses/LICENSE,sha256=7w16SgIHVGYHh8TS_-XnKFvY6aKa_JDtVFoduWtIPTY,1069
|
|
8
|
+
adventofcode-25.3.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
adventofcode/__about__.py,sha256=dvZ1v7S_ZALQJCbVXidP8uGGCco3DKNk4N53UWAklLI,21
|
|
2
|
-
adventofcode/__init__.py,sha256=OqMPnvRc5pcDWMDM4zjwCm4nsOdBohB_1ZSmJz3bXP0,4462
|
|
3
|
-
adventofcode/cli.py,sha256=-y1uIExMoGr0DnAZAgfX45QyAIEFBj1E0koANByyPMs,14439
|
|
4
|
-
adventofcode-25.1.dist-info/METADATA,sha256=OVxHtPDozKsrTR7rtUdBFb0aU8YjVh9a-xj1LAQmSbg,3708
|
|
5
|
-
adventofcode-25.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
-
adventofcode-25.1.dist-info/entry_points.txt,sha256=Yw9pyDrVVS3XWRcjOv1BnAxkqtJdYoG747A1LysScak,83
|
|
7
|
-
adventofcode-25.1.dist-info/licenses/LICENSE,sha256=7w16SgIHVGYHh8TS_-XnKFvY6aKa_JDtVFoduWtIPTY,1069
|
|
8
|
-
adventofcode-25.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|