Skip to content

Hi there , in this repository i am gonna show how you create interactive images using python

Notifications You must be signed in to change notification settings

rajat4665/wordcloud_API_with_flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Hi there , in this repository i am gonna show how you create interactive images using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published