Install python-intervaltree by entering the following commands in the terminal:
sudo apt update sudo apt install python-intervaltree
Description:
mutable, self-balancing interval tree (Python 2)
This library contains a mutable, self-balancing interval tree implementation for Python. Queries may be by point, by range overlap, or by range envelopment. . It was designed to allow tagging text and time intervals, where the intervals include the lower bound but not the upper bound. . This package installs the library for Python 2.
Homepage: https://pypi.python.org/pypi/intervaltree
Version: 2.1.0-2
Section: universe/python