pandas
Kalman Filter is an optimal estimation algorithm to estimate the variable which can be measured indirectly and to find the best estimate of states...
Here is an yet another interesting python tutorial to fetch intraday data using Google Finance API , , store the data in csv...
Here is a simple example to compute Cointegration between two stock pairs using python libraries like NSEpy, Pandas, statmodels, matplotlib