{"id":13450750,"url":"https://github.com/amueller/word_cloud","last_synced_at":"2025-05-12T16:16:32.458Z","repository":{"id":5350763,"uuid":"6536534","full_name":"amueller/word_cloud","owner":"amueller","description":"A little word cloud generator in Python","archived":false,"fork":false,"pushed_at":"2025-04-12T19:24:14.000Z","size":119785,"stargazers_count":10374,"open_issues_count":139,"forks_count":2332,"subscribers_count":216,"default_branch":"main","last_synced_at":"2025-05-05T14:13:11.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://amueller.github.io/word_cloud","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"IIIF/showcase.iiif.io","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amueller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-11-04T22:57:59.000Z","updated_at":"2025-05-05T00:42:49.000Z","dependencies_parsed_at":"2024-09-24T22:41:14.782Z","dependency_job_id":"62d1d8b6-ed81-4bb4-ac82-1663aa8c3d0a","html_url":"https://github.com/amueller/word_cloud","commit_stats":{"total_commits":447,"total_committers":76,"mean_commits":5.881578947368421,"dds":0.8523489932885906,"last_synced_commit":"fa7ac29c6c96c713f51585818e289e8f99c0f211"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amueller%2Fword_cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amueller%2Fword_cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amueller%2Fword_cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amueller%2Fword_cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amueller","download_url":"https://codeload.github.com/amueller/word_cloud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252788280,"owners_count":21804279,"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":[],"created_at":"2024-07-31T07:00:37.996Z","updated_at":"2025-05-12T16:16:32.436Z","avatar_url":"https://github.com/amueller.png","language":"Python","readme":"[![licence](http://img.shields.io/badge/licence-MIT-blue.svg?style=flat)](https://github.com/amueller/word_cloud/blob/master/LICENSE)\n[![DOI](https://zenodo.org/badge/21369/amueller/word_cloud.svg)](https://zenodo.org/badge/latestdoi/21369/amueller/word_cloud)\n\n\nword_cloud\n==========\n\nA little word cloud generator in Python. Read more about it on the [blog\npost][blog-post] or the [website][website].\n\nThe code is tested against Python 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13.\n\n## Installation\n\nIf you are using pip:\n\n    pip install wordcloud\n\nIf you are using conda, you can install from the `conda-forge` channel:\n\n    conda install -c conda-forge wordcloud\n\n\n#### Installation notes\n\nwordcloud depends on `numpy`, `pillow`, and `matplotlib`.\n\nIf there are no wheels available for your version of python, installing the\npackage requires having a C compiler set up. Before installing a compiler, report\nan issue describing the version of python and operating system being used.\n\n\n## Examples\n\nCheck out [examples/simple.py][simple] for a short intro. A sample output is:\n\n![Constitution](examples/constitution.png)\n\nOr run [examples/masked.py][masked] to see more options. A sample output is:\n\n![Alice in Wonderland](examples/alice.png)\n\nGetting fancy with some colors:\n![Parrot with rainbow colors](examples/parrot_new.png)\n\nGenerating wordclouds for Arabic:\n\n![Arabic wordlcloud](examples/arabic_example.png)\n\n\n## Command-line usage\n\nThe `wordcloud_cli` tool can be used to generate word clouds directly from the command-line:\n\n\t$ wordcloud_cli --text mytext.txt --imagefile wordcloud.png\n\nIf you're dealing with PDF files, then `pdftotext`, included by default with many Linux distribution, comes in handy:\n\n\t$ pdftotext mydocument.pdf - | wordcloud_cli --imagefile wordcloud.png\n\nIn the previous example, the `-` argument orders `pdftotext` to write the resulting text to stdout, which is then piped to the stdin of `wordcloud_cli.py`.\n\nUse `wordcloud_cli --help` so see all available options.\n\n[blog-post]: http://peekaboo-vision.blogspot.de/2012/11/a-wordcloud-in-python.html\n[website]: http://amueller.github.io/word_cloud/\n[simple]: examples/simple.py\n[masked]: examples/masked.py\n[reddit-cloud]: https://github.com/amueller/reddit-cloud\n[wc2]: http://www.reddit.com/user/WordCloudBot2\n[wc2top]: http://www.reddit.com/user/WordCloudBot2/?sort=top\n[chat-stats]: https://github.com/popcorncolonel/Chat_stats\n[twitter-word-cloud-bot]: https://github.com/defacto133/twitter-wordcloud-bot\n[twitter-wordnuvola]: https://twitter.com/wordnuvola\n[imgur-wordnuvola]: http://defacto133.imgur.com/all/\n[intprob]: http://peekaboo-vision.blogspot.de/2012/11/a-wordcloud-in-python.html#bc_0_28B\n\n\n## Licensing\nThe wordcloud library is MIT licenced, but contains DroidSansMono.ttf, a true type font by Google, that is apache licensed.\nThe font is by no means integral, and any other font can be used by setting the ``font_path`` variable when creating a ``WordCloud`` object.\n","funding_links":[],"categories":["Libraries/tools","Python","数据可视化","Data Visualization","语言资源库"],"sub_categories":["Data Management","python","第三方库/开源项目"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famueller%2Fword_cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famueller%2Fword_cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famueller%2Fword_cloud/lists"}