You can use CHAID package for chaid analysis (https://github.com/Rambatino/CHAID), Scikit-learn package for ID3, C4.5, C5.0, CART and Random forest (https://scikit-learn.org/stable/modules/tree.html and https://scikit-learn.org/stable/modules/ensemble.html#random-forests). For bayesnet you can visit https://pypi.org/project/bayespy/.