-
0.4.0
StableAll checks were successfulPublish to PyPI / Publish to PyPI (push) Successful in 1m31sreleased this
2024-11-30 09:36:32 +00:00 | 10 commits to main since this releaseNOTE: Make sure to have your distributions Tk support for python installed!
Changelog:
- Grid.getRegion() -> Generator over all Coordinates of connected cells with the same value inside Grid borders
- itertools.list_combinations_of_sum() - returns all possible tuples with len [length}, containing integers summing up to {total_sum}
- added Coordinate().mod()
- Coordinate() now accepts floats; what can possibly go wrong?
- Coordinate.Line() - only 2D for now, but can calc intersections
- itertools.len_permutations() and itertools.len_combinations() -> get the amount of results the respective itertools function would yield
- Stopwatch() can now be restarted and will automatically sum up all intervals between start() and stop() calls
- AOCDay.run_part(): When in timeit mode, display progress bar
- AOCDay.progress() - add a progress bar to your long-running solutions
- visualization.Window(): simple Tk visualization class, can just draw some lines for now, but with working realignment, zooming and panning
- coordinate.Shape: add contains()
- aoc.AOCDay: introduce class variable "DP", a dictionary that gets reset before every part method call, useful for memoization problems
- Grid.find(): generator yielding coordinates that hold a specific value
- redefined int_seq.factorial(); takes 4 times longer than math.factorial(), but is pure python and allows for sequences not starting with 1
- irc.Client(): implement sasl authentication and send queue
Downloads
-
0.3.6
StableAll checks were successfulPublish to PyPI / Publish to PyPI (push) Successful in 1m4sreleased this
2023-12-17 07:29:53 +00:00 | 38 commits to main since this release- AOCDay._submit() now might display achieved rank (hard to test)
- added AOCDay.is_test() -> returns True if the solution to the current input is known, else False
- Coordinate() is now comparable with tuple
- FIXED Coordinate().getNeighbours() not returning all neighbours when x >= maxY or x <= minY
Downloads
-
0.3.5
StableAll checks were successfulPublish to PyPI / Publish to PyPI (push) Successful in 1m18sreleased this
2023-12-14 15:46:20 +00:00 | 43 commits to main since this release- Grid().get_row() and Grid.get_column() return respective lists of values in order (lower Coordinate to higher Coordinate)
- Grid().isWithinBoundaries() has a new parameter "pad" which allows you to make the boundaries smaller (positive number) or larger (negative number)
- Grid() is now hashable
- Coordinate(): All methods (including dunders) now support tuples as parameters
Downloads
-
0.3.4
StableAll checks were successfulPublish to PyPI / Publish to PyPI (push) Successful in 1m29sreleased this
2023-12-03 14:00:39 +00:00 | 48 commits to main since this releaseCHANGE tools.human_readable_time_from_delta() now returns a more descriptive string
NEW AOCDay.getIntsFromInput(): returns the input stripped of everything, but the integers in a list
NEW AOCDay._submit(): the "wrong" message now includes the high/low hint if present
NEW tools.mul(): same as sum(), but does multiplication instead of addition
NEW Grid.from_data(): returns a grid based on input data (read docstring for more info)Downloads
-
0.3.3
StableAll checks were successfulPublish to PyPI / Publish to PyPI (push) Successful in 1m11sreleased this
2023-11-27 05:23:25 +00:00 | 55 commits to main since this releaseRemove Coordinate() comparators. Coordinate behaves like a tuple now, which automatically includes comparability. Fixes sorting behaviour.
Downloads
-
0.3.2
StableAll checks were successfulPublish to PyPI / Publish to PyPI (push) Successful in 1m11sreleased this
2023-11-12 18:34:58 +00:00 | 57 commits to main since this releasecreate inputs directory automatically if it doesn't exist
Downloads
-
0.3.1
StableSome checks reported warningsPublish to PyPI / Publish to PyPI (push) Has been cancelledreleased this
2023-11-11 18:16:46 +00:00 | 58 commits to main since this releasefix requirements
Downloads
-
0.3
StableSome checks failedPublish to PyPI / Publish to PyPI (push) Failing after 2h17m50sreleased this
2023-11-11 15:58:34 +00:00 | 59 commits to main since this releasefirst public release
Downloads