pandas_datareader is a good package for downloading stocks data. It uses pandas, which can be used to perform analysis. In this example, the stock price for Netflix is downloaded and plotted. Also, a rolling 60-days average is added to the plot.

Note: remember to pip install pandas matplotlib pandas_datareader