Skip to content

Create a cloud of keywords for a few programming languages

Notifications You must be signed in to change notification settings

borosuk/keywords-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keywords-cloud

Create a cloud of keywords for a few programming languages, with optional highlights to specific keywords

Alt text

Requirements

Installation notes

wordcloud depends on numpy and pillow.

To save the wordcloud into a file, matplotlib can also be installed.

Please see wordcloud's GitHub for more info on requirements and example usage.

Using get_keywords

The keywords_cloud module exposes a helper function get_keywords(language) which returns the list of reserved words for the chosen language. For Python, it simply returns keyword.kwlist.

from keywords_cloud import get_keywords
print(get_keywords("python"))

Running tests

Install pytest and run:

pytest -q

About

Create a cloud of keywords for a few programming languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published