• 0.4.0 23283d3b66

    0.4.0
    All checks were successful
    Publish to PyPI / Publish to PyPI (push) Successful in 1m31s
    Stable

    pennywise released this 2024-11-30 09:36:32 +00:00 | 10 commits to main since this release

    NOTE: 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 b2cc1e814c

    0.3.6
    All checks were successful
    Publish to PyPI / Publish to PyPI (push) Successful in 1m4s
    Stable

    pennywise released 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 2de9725adb

    0.3.5
    All checks were successful
    Publish to PyPI / Publish to PyPI (push) Successful in 1m18s
    Stable

    pennywise released 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 a47077f102

    0.3.4
    All checks were successful
    Publish to PyPI / Publish to PyPI (push) Successful in 1m29s
    Stable

    pennywise released this 2023-12-03 14:00:39 +00:00 | 48 commits to main since this release

    CHANGE 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 c2f6191d69

    0.3.3
    All checks were successful
    Publish to PyPI / Publish to PyPI (push) Successful in 1m11s
    Stable

    pennywise released this 2023-11-27 05:23:25 +00:00 | 55 commits to main since this release

    Remove Coordinate() comparators. Coordinate behaves like a tuple now, which automatically includes comparability. Fixes sorting behaviour.

    Downloads
  • 0.3.2 0daa028368

    0.3.2
    All checks were successful
    Publish to PyPI / Publish to PyPI (push) Successful in 1m11s
    Stable

    pennywise released this 2023-11-12 18:34:58 +00:00 | 57 commits to main since this release

    create inputs directory automatically if it doesn't exist

    Downloads
  • 0.3.1 034c010635

    0.3.1
    Some checks reported warnings
    Publish to PyPI / Publish to PyPI (push) Has been cancelled
    Stable

    pennywise released this 2023-11-11 18:16:46 +00:00 | 58 commits to main since this release

    fix requirements

    Downloads
  • 0.3 cc1c884eef

    0.3
    Some checks failed
    Publish to PyPI / Publish to PyPI (push) Failing after 2h17m50s
    Stable

    pennywise released this 2023-11-11 15:58:34 +00:00 | 59 commits to main since this release

    first public release

    Downloads