A python-based pipeline for BEARS