File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ 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.
2
+ <h2 >Reference:</h2 >
3
+ <strong >Wordcloud: </strong > https://github.com/amueller/word_cloud
4
+
5
+ <strong >fonts:</strong > https://www.1001freefonts.com/
6
+
7
+ <strong >flask:</strong > http://flask.pocoo.org/docs/1.0 <strong >/</strong >
8
+ <h3 >Requirements:</h3 >
9
+ <ul >
10
+ <li>python 3+</li>
11
+ <li>linux if you have window than you have to chage directory path in views.py (from "/" to this "\")</li>
12
+ <li>flask</li>
13
+ <li>word cloud</li>
14
+ <li>matplotlib</li>
15
+ <li>template inheritance</li>
16
+ </ul >
17
+ <h3 >what you will learn from this tutorial:</h3 >
18
+ <ul >
19
+ <li>How to make API using flask MVC structure</li>
20
+ <li>what is word cloud</li>
21
+ <li>How to generate interactive images using the flask framework</li>
22
+ </ul >
23
+ <h3 >how to run this code:</h3 >
24
+ <ul >
25
+ <li>clone or download it from here</li>
26
+ <li>install requiremets.txt file</li>
27
+ <li><code>pip install -r requirements.txt</code></li>
28
+ <li>run this command to execute this code</li>
29
+ <li>
30
+ <pre >python3 manage.py</pre >
31
+ </li >
32
+ </ul >
33
+ <img class =" alignnone size-full wp-image-61 " src =" https://getpython.files.wordpress.com/2019/04/flask_wordcloud.png " alt =" flask_wordcloud " width =" 1285 " height =" 707 " />
34
+ <h3 >OUTPUT:</h3 >
35
+ <img class =" alignnone size-full wp-image-62 " src =" https://getpython.files.wordpress.com/2019/04/screenshot-from-2019-04-14-18-25-56.png " alt =" Screenshot from 2019-04-14 18-25-56 " width =" 1228 " height =" 727 " />
You can’t perform that action at this time.
0 commit comments