Skip to content

drewmccal/services-to-wordcloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Tiny python utility that converts data crawled from different services into cloud of words. Utility represents collection of the different python scripts. Folder services contains the services supported with their more detailed description (installation, usage, etc.). Folder services-to-wordcloud contains the list of python scripts that are taking data acquired from particular service and transform data into cloud of word.

Supported Services so Far

Examples Generated

Twitter Timeline

ORCID (publications abstracts)

RSS Blog

Tumblr Text Blogs

GitHub Commits

Installation

NOTE This section lists only the main dependencies of the "services-to-wordcloud". Dependencies of the each service are described inside READMEs services's own services folders.

Use 'pip' to install dependencies

pip install pyprind
pip install numpy
pip install matplotlib
pip install pandas
pip install scipy

Or use 'conda' from Anaconda Scientific Python Distribution to install dependencies (better solutions in case you are new to python or Windows user):

conda install matplotlib
conda install pyprind
conda install numpy
conda install pandas
conda install scipy

If you are not able to find package 'by default' with 'conda', please use 'binstar' to find proper binary of the package. For example for 'twitter' looks as follows:

binstar search -t conda twitter

Installing wordcloud python package can be very tricky

conda install pil
pip install git+git://github.com/amueller/word_cloud.git

In case you really need to compile a python package on Windows, do not use MinGW, it won't work. Because the official compiler for the Python on Windows is Microsoft Visual C++ Compiler. If you already have Visual Studio installed on your PC, that you can execute the following command based on the version of Visual Studio installed (for me it was a case when needed to install Python package in virtualenv folder):

  • Visual Studio 2010 (VS10): SET VS90COMNTOOLS=%VS100COMNTOOLS%
  • Visual Studio 2012 (VS11): SET VS90COMNTOOLS=%VS110COMNTOOLS%
  • Visual Studio 2013 (VS12): SET VS90COMNTOOLS=%VS120COMNTOOLS%

You can also use patch for your Windows, that can be found here. After installing specific compiler for Python 2.7 on Windows, you also will need to upgrade your setuptools:

pip install --upgrade setuptools

However, if you are fan of the MinGW and it's already installed and used as a "default" C and C++ compiler on your Windows machine, on the moment of the Python package compilation (while intalling wordcloud) is better to remove it from your %PATH% variable.

If above mentioned advises didn't work for you, here are some more detailed answers on various AMA services:

Credits

Author

License

Check this file with license

About

Tiny python utility that converts data crawled from different services into cloud of words.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.1%
  • Batchfile 0.9%