OpenBSD ports

The devel/py-derange,python3 port

py3-derange-0.2.1p0 – Python lib to compress lists of integers to range objects

Description

Do you have a list of integers? Do you want to know what ranges of
consecutive values the list covers? Do you need to solve a gaps and
islands problem outside of SQL? Maybe you have a list of dates and
need to find the longest streak of consecutive days on which something
happened. No? Why not? Well, either way, the derange module is here
for you, ready to solve all these problems and a couple more.

WWW: https://github.com/jwodder/derange
Categories:
devel lang/python

Library dependencies

Build dependencies

Run dependencies