Python port of R's rpart: recursive partitioning and regression trees, with a compiled C core (via cffi) and R-parity Python functions for fitting, pruning, predicting, and plotting trees. Supports classification, regression, Poisson/survival, and user-defined splits. GPL-2.0-or-later, derived from Therneau & Atkinson's rpart.