Home

The devel/py-derange,python3 port

py3-derange-0.2.1p0 – Python lib to compress lists of integers to range objects (cvsweb github mirror)

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

Maintainer

The OpenBSD ports mailing-list

Categories

devel lang/python

Build dependencies

Run dependencies

Test dependencies

Files

Search