Install

Install the package

Install the current release of pytwanalysis with pip:

$ pip install pytwanalysis

To upgrade to a newer release use the --upgrade flag:

$ pip install --upgrade pytwanalysis

If you do not have permission to install software systemwide, you can install into your user directory using the --user flag:

$ pip install --user pytwanalysis

Or upgrade with the --user flag:

$ pip install --user --upgrade pytwanalysis

Requirements

  1. Python 3.7

  2. Database: MongoDB - (Version: 4.0+)

  3. Libraries:

  • pymongo

  • NLTK

  • numpy

  • networkx 2.3

  • matplotlib 3.2.1

  • gensim

  • sklearn

  • python-louvain

  • scipy

  • seaborn

  • pandas

  • wordcloud

  • Pyphen

  • requests-oauthlib

Install requirements packages:

$ pip install pymongo

$ pip install nltk

$ pip install numpy

$ pip install networkx==2.3

$ pip install matplotlib==3.2.1

$ pip install gensim

$ pip install -U scikit-learn

$ pip install python-louvain

$ pip install scipy

$ pip install seaborn

$ pip install pandas

$ pip install wordcloud

$ pip install Pyphen

$ pip install requests-oauthlib