Mastering Social Media Mining with Python
=========================================

Code repository for _Mastering Social Media Mining with Python_ (July 2016)

<img src="https://github.com/bonzanini/Book-SocialMediaMiningPython/blob/master/book-cover.jpg" alt="Book cover" width="200" />

Ebook and paperback at [Packt Publishing](https://www.packtpub.com/big-data-and-business-intelligence/mastering-social-media-mining-python "Mastering Social Media Mining with Python") (the publisher)

Ebook and paperback at [Amazon.com](https://www.amazon.com/Mastering-Social-Media-Mining-Python/dp/1783552018 "Mastering Social Media Mining with Python") and [Amazon UK](https://www.amazon.co.uk/Mastering-Social-Media-Mining-Python/dp/1783552018 "Mastering Social Media Mining with Python")

Author's [blog post](https://marcobonzanini.com/2016/08/02/mastering-social-media-mining-with-python/ "Mastering Social Media Mining with Python") for a bird's eye view on the book

Author profile (with book reviews/ratings) at [Goodreads.com](https://goodreads.com/marcobonzanini "Marco Bonzanini on goodreads.com")

If you've read the book, please consider leaving a review/rating on the above web sites. If you wrote a review (e.g. blog post), please let me know and I'll be happy to include it here.

Discussion Forum for readers on [Google Groups](https://groups.google.com/forum/#!forum/mastering-social-media-mining-with-python "Readers Discussion Forum"): this is a platform for readers to discuss the content of the book.

Setting up the environment
-----

Requirements: Python 3.4+

It's strongly recommended to create a virtual environment, either with `virtualenv` or with `conda`. This section describes how to set-up the environment with `virtualenv`.

Get the book repo:

    git clone https://github.com/bonzanini/Book-SocialMediaMiningPython.git
    cd Book-SocialMediaMiningPython

Install/upgrade virtualenv (not needed on Python 3.4+):

    pip install -U virtualenv

Create the environment:

    virtualenv book_env

Activate the environment:

    source book_env/bin/activate

Install all the Python dependencies:

    pip install -r requirements.txt

