Skip to content

Files

Latest commit

08e5e8c · Apr 14, 2019

History

History
35 lines (33 loc) · 1.46 KB

readme.md

File metadata and controls

35 lines (33 loc) · 1.46 KB

Hi there, In this repository, I am gonna show you how you can generate interactive images using python word cloud. Here I integrated with it flask API.

Reference:

Wordcloud: https://github.com/amueller/word_cloud

fonts: https://www.1001freefonts.com/

flask: http://flask.pocoo.org/docs/1.0/

Requirements:

  • python 3+
  • linux if you have window than you have to chage directory path in views.py (from "/" to this "\")
  • flask
  • word cloud
  • matplotlib
  • template inheritance

what you will learn from this tutorial:

  • How to make API using flask MVC structure
  • what is word cloud
  • How to generate interactive images using the flask framework

how to run this code:

  • clone or download it from here
  • install requiremets.txt file
  • pip install -r requirements.txt
  • run this command to execute this code
  • python3 manage.py

flask_wordcloud

OUTPUT:

Screenshot from 2019-04-14 18-25-56