Commit Graph

225 Commits

Author SHA1 Message Date
89edb0a6d7 getInput variant, that only returns integers from input lines 2023-12-01 07:37:25 +01:00
c2f6191d69 don't need to implement comparison dunders for Coordinate anymore as it now behaves like a tuple which already includes useful comparators
All checks were successful
Publish to PyPI / Publish to PyPI (push) Successful in 1m11s
2023-11-27 06:17:59 +01:00
6ab6df1bc9 setuptools is not a requirement 2023-11-12 19:35:40 +01:00
0daa028368 create inputs directory if it doesn't exist
All checks were successful
Publish to PyPI / Publish to PyPI (push) Successful in 1m11s
2023-11-12 19:12:29 +01:00
034c010635 dealing with requirements
Some checks reported warnings
Publish to PyPI / Publish to PyPI (push) Has been cancelled
2023-11-11 18:43:57 +01:00
cc1c884eef twine: verbose and point to dedicated config file
Some checks failed
Publish to PyPI / Publish to PyPI (push) Failing after 2h17m50s
2023-11-11 16:57:52 +01:00
66fe644fa7 call twine directly (hopefully get useful output)
Some checks failed
Publish to PyPI / Publish to PyPI (push) Failing after 31m57s
2023-11-11 16:19:16 +01:00
aadff7ef71 verbose publishing
Some checks reported warnings
Publish to PyPI / Publish to PyPI (push) Has been cancelled
2023-11-11 16:08:44 +01:00
f26559a5c2 just use the latest available python version for building and publishing
Some checks reported warnings
Publish to PyPI / Publish to PyPI (push) Has been cancelled
2023-11-11 15:47:56 +01:00
c0e79ccf6e reference correct github action for publishing
Some checks failed
Publish to PyPI / Publish to PyPI (push) Failing after 10s
2023-11-11 15:41:38 +01:00
99c4ef2ce6 code reformatting and cleanup
Some checks failed
Publish to PyPI / Publish to PyPI (push) Failing after 5s
2023-11-11 15:37:42 +01:00
bfcd27336d exclude pycharm ide env 2023-11-11 15:04:12 +01:00
455bd34d3b build/publish pipeline 2023-11-11 15:02:27 +01:00
b0c6986511 coordinates are essentially just tuples, so let's treat them as such. Double the speed for no cost :)
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 41s
2023-10-19 06:02:25 +02:00
bd31a062cc test new gitea 2023-10-19 05:13:33 +02:00
4602a48e48 test gitea actions 2023-09-24 16:03:44 +02:00
4f7bc129f9 test gitea actions 2023-09-24 16:00:32 +02:00
03a5b69f88 Merge remote-tracking branch 'leeloo/master' 2023-09-21 19:15:52 +02:00
41d7f7c0eb Initial commit 2023-09-21 16:20:47 +00:00
75013fbcdd Grid.move() 2023-09-17 04:08:00 +02:00
cc9a6bcbc5 Coordinate.__mul__, Coordinate.__truediv__, Coordinate.__floordiv__ 2023-09-17 04:07:47 +02:00
ec64dce347 int.sum_digits() 2023-07-08 14:12:25 +02:00
b0a8388a8b tools.Dict(): ansible template style dictionary with defaults 2023-02-25 14:29:54 +01:00
9f11e12bc4 Grid: a whole bunch of bugfixing around transformations and mode3d
Grid: added __eq__()
2022-12-25 18:36:37 +01:00
69a63c94f6 correctly calculate time left on wrong answer 2022-12-25 10:29:18 +01:00
ca4c67f805 some bug fixing around 3d grids 2022-12-25 05:19:57 +01:00
9963a21821 Grid: finalizing shift(), adding shift_zero() 2022-12-24 06:12:44 +01:00
5bae00234c Grid.recalcBoundaries() (for when grids get smaller, which is not tracked by default)
Grid.from_str() and Grid.print() now accept translate dicts for more complex grid values
2022-12-23 08:00:21 +01:00
9e08c99ae1 Merge remote-tracking branch 'origin/master' 2022-12-22 09:35:12 +01:00
47446f3f35 Grid.shift() - shift whole coordinate system 2022-12-22 09:35:09 +01:00
Stefan Harmuth
afac0e484d int_seq.fibonacci: less recursive, more memory efficient 2022-12-20 12:09:57 +01:00
798e8c3faa reformat 2022-12-19 04:49:46 +01:00
f5544299da Cache(): a dict that keeps track of "x in Cache()" calls to enable statistics 2022-12-19 04:48:08 +01:00
2692f4b560 Grid.getPath_BFS() 2022-12-14 19:37:03 +01:00
642a32b884 Grid.count(); Grid.print() not handles Enums 2022-12-14 06:51:55 +01:00
00de38a277 Coordinate.getNeighbours() and Grid.getNeighboursOf() can be generators; no need to create extra lists every time 2022-12-12 08:11:29 +01:00
5df82d2359 reversable coordinates; grid.print() can now mark important spots 2022-12-10 14:50:22 +01:00
35972bffe2 aoc_ocr 2022-12-10 10:29:39 +01:00
011abd7fb5 set default in from_string and allow "true" to become any value 2022-12-04 11:11:27 +01:00
afcafbba0a set default in from_string 2022-12-04 10:58:17 +01:00
ab05a1a770 fix transformations 2022-12-04 10:57:28 +01:00
353ff51411 make AOCDay.getInput() return type casted input 2022-12-03 11:10:03 +01:00
a2aa81388c better human readable time from ns 2022-12-03 10:06:31 +01:00
33c645ac04 set()'s __and__ for list and str 2022-12-03 08:09:51 +01:00
87ead88610 set()'s .intersection for list and str 2022-12-03 08:05:45 +01:00
c55d36380b Merge remote-tracking branch 'origin/master' 2022-12-03 06:23:16 +01:00
b497ee4bc5 actually never implemented a simple list intersection? 2022-12-03 06:23:12 +01:00
Stefan Harmuth
b6360d18ed grid.Grid(): getActiveRegion(); returns connected !default regions 2022-11-30 11:20:48 +01:00
Stefan Harmuth
c16bc0d1cf *real* start to hex coordinates 2022-11-29 20:37:46 +01:00
Stefan Harmuth
d92686dd28 better stopwatch 2022-11-29 19:36:55 +01:00