If you want to quickly experiment with different combinations of features, try Patsy. Patsy allows you to create features for your model using human-readable syntax.
The features created by Patsy could be easily used by popular machine learning libraries like scikit-learn.