{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Installing Prerequisite Python Packages\n", "\n", "If you are running these notebooks on [Binder](https://mybinder.org), then there is no need to run this notebook. However, if you running these notebook on your own computer or on a different service, then the necessary Python packages may not be installed.\n", "\n", "By executing (Shift-Enter) the code cells below, you will instruct `pip` (a Python package manager) to install the necessary packages." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# Basic packages for doing data analysis\n", "!pip install numpy matplotlib pandas" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# Libraries necessary for accessing Yahoo Finance\n", "!pip install yahoo_fin requests_html" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# A Python package for interfacing with Twitter's API\n", "!pip install twitter" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# Make nicer text-based tables\n", "!pip install prettytable" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# The Natural Language Toolkit\n", "!pip install nltk" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# For parsing HTML\n", "!pip install beautifulsoup4" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# For accessing and parsing RSS feeds\n", "!pip install feedparser" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# Small, fast HTTP client\n", "!pip install httplib2" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# A prerequisite for dragnet\n", "!pip install cython" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# Using machine learning for distinguishing main webpage content from boilerplate\n", "!pip install dragnet" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# The premier machine learning library for Python\n", "!pip install scikit-learn" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3.6", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.6.7" } }, "nbformat": 4, "nbformat_minor": 2 }