{"id":23469139,"url":"https://github.com/shivam5992/pywordcloud","last_synced_at":"2025-04-14T15:35:15.254Z","repository":{"id":17854013,"uuid":"20775974","full_name":"shivam5992/pywordcloud","owner":"shivam5992","description":":postbox: python package to generate word clouds of text data, online-demo hosted in pywordcloud-flask library","archived":false,"fork":false,"pushed_at":"2014-07-03T09:45:33.000Z","size":200,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T04:28:36.987Z","etag":null,"topics":["python","text","wordcloud"],"latest_commit_sha":null,"homepage":"http://pypi.python.org/pypi/pywordcloud/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shivam5992.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-12T17:09:32.000Z","updated_at":"2023-05-08T18:11:16.000Z","dependencies_parsed_at":"2022-09-09T04:50:16.271Z","dependency_job_id":null,"html_url":"https://github.com/shivam5992/pywordcloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivam5992%2Fpywordcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivam5992%2Fpywordcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivam5992%2Fpywordcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivam5992%2Fpywordcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivam5992","download_url":"https://codeload.github.com/shivam5992/pywordcloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248906839,"owners_count":21181225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","text","wordcloud"],"created_at":"2024-12-24T14:59:41.404Z","updated_at":"2025-04-14T15:35:15.230Z","avatar_url":"https://github.com/shivam5992.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pywordcloud\n===========\n\nPython package to generate word clouds by analysing the text.\n\nFeatures\n--------\n\n* Generate output format in HTML\n\n* Control over css styling\n\n* Control over Words\n\nInstall\n-------\n\nYou can install pywordcloud either via the Python Package Index (PyPI) or from source.\n\nTo install using pip:\n\n\t$ pip install pywordcloud\n\t\nTo install using easy_install:\n\t\n\t$ easy_install pywordcloud\n\nDownloading and installing from source\n\nDownload the latest version of PyTagCloud from http://pypi.python.org/pypi/pywordcloud/\n\nYou can install it by doing the following,:\n\n    $ tar xfz pywordcloud-*.tar.gz\n   \n    $ cd pywordcloud-*/\n   \n    $ python setup.py build\n   \n    $ python setup.py install # as root\n\n\n\nUsage\n-----\n   \n    from pywordcloud import pywordcloud\n\n\tif __name__ == '__main__':\n\t\ttext = open(\"input.txt\").read()\n\t\tcreate(text, \n\t\t\toutfile=\"output.html\", \n\t\t\tuppercase=False, \n\t\t\tshowfreq=True, \n\t\t\tfrequency=100, \n\t\t\tremovepunct = False, \n\t\t\tminfont = 1.5, \n\t\t\tmaxfont = 6, \n\t\t\thovercolor=\"green\", \n\t\t\tshowborder=False, \n\t\t\tfontfamily='calibri', \n\t\t\twidth=\"1000px\", \n\t\t\theight=\"400px\",\n\t\t\t#colorlist = [\"red\",\"blue\",\"yellow\",\"black\",\"green\"] \n\t\t\t)\n\nArguments\n---------\n\n**text:** Input text to create word cloud\n\n**outfile:** Name of the ouput file, should ends with .html\n\n**uppercase:** Boolean True to generate WC with all words in Upper Case, Otherwise False\n\n**showfreq:** Boolean True to generate WC with words and their frequencies\n\n**frequency:** Number of words to display in WC\n\n**removepunct:** Set True to remove all punctuations from text\n\n**minfont:** Set minimum font in Word Cloud (in pixels)\n\n**maxfont:** Set maximum font in Word Cloud (in pixels)\n\n**hovercolor:** Set hover color for words\n\n**showborder:** Bollean True to show border of WC\n\n**fontfamily:** Set Font Family for WC\n\n**width:** Set Width of WC\n\n**height:** Set height of WC\n\n**colorlist:** Set custom color list seperated by commas.\n\n\nExamples\n--------\n\n![image](http://i58.tinypic.com/2q1gnrr.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivam5992%2Fpywordcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivam5992%2Fpywordcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivam5992%2Fpywordcloud/lists"}