Home

Awesome

Build status badge

intervaltree

A mutable, self-balancing interval tree for Python 2 and 3. Queries may be by point, by range overlap, or by range envelopment.

This library was designed to allow tagging text and time intervals, where the intervals include the lower bound but not the upper bound.

Version 3 changes!

Installing

pip install intervaltree

Features

Examples

Future improvements

See the issue tracker on GitHub.

Based on

Copyright

Licensed under the Apache License, version 2.0.

The source code for this project is at https://github.com/chaimleib/intervaltree