AlphaPy is a Python framework for building machine learning pipelines. It contains two main pipelines: the Model Pipeline for generating models and the Domain Pipeline for preparing training and test data. The Model Pipeline uses scikit-learn and other packages to build predictive models for classification and regression. The Domain Pipeline transforms raw data into canonical form suitable for modeling. The output is a persistent Model Object. The document provides examples of using AlphaPy to build stock market prediction models that identify predictive technical indicators and validate results on training and test data.