The devel/py-derange port
py3-derange-0.2.2 – 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
- Only for arches
-
aarch64
aarch64
alpha
amd64
amd64
arm
arm
hppa
i386
i386
mips64
mips64
mips64el
mips64el
powerpc
powerpc
powerpc64
powerpc64
riscv64
riscv64
sparc64
- Categories:
-
devel
lang/python
Library dependencies
Build dependencies
Run dependencies