-
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