{"id":14235483,"url":"https://github.com/rhiever/reddit-analysis","last_synced_at":"2025-04-05T01:09:25.495Z","repository":{"id":7208310,"uuid":"8513858","full_name":"rhiever/reddit-analysis","owner":"rhiever","description":"A Python script that parses post titles, self-texts, and comments on reddit and makes word clouds out of the word frequencies.","archived":false,"fork":false,"pushed_at":"2023-04-10T11:54:34.000Z","size":1652,"stargazers_count":286,"open_issues_count":9,"forks_count":64,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-03-29T00:12:00.643Z","etag":null,"topics":["python","reddit","word-cloud"],"latest_commit_sha":null,"homepage":"","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/rhiever.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-03-02T01:30:25.000Z","updated_at":"2024-11-03T18:48:55.000Z","dependencies_parsed_at":"2024-11-21T03:34:02.392Z","dependency_job_id":null,"html_url":"https://github.com/rhiever/reddit-analysis","commit_stats":{"total_commits":149,"total_committers":6,"mean_commits":"24.833333333333332","dds":0.261744966442953,"last_synced_commit":"0fc309c9091cf2b219c2e664b6cf17b39141e2ef"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhiever%2Freddit-analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhiever%2Freddit-analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhiever%2Freddit-analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhiever%2Freddit-analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhiever","download_url":"https://codeload.github.com/rhiever/reddit-analysis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271532,"owners_count":20911587,"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","reddit","word-cloud"],"created_at":"2024-08-20T21:01:59.128Z","updated_at":"2025-04-05T01:09:25.479Z","avatar_url":"https://github.com/rhiever.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![PyPI version](https://badge.fury.io/py/redditanalysis.svg)](https://badge.fury.io/py/redditanalysis)\n![Python 2.7](https://img.shields.io/badge/python-2.7-blue.svg)\n![Python 3.5](https://img.shields.io/badge/python-3.5-blue.svg)\n![License](https://img.shields.io/badge/license-GPLv3-blue.svg)\n\n# Reddit Analysis project\n\nPlease send all requests to make a Most-Used Words (MUW) cloud to http://www.reddit.com/r/MUWs/\n\nFeel free to post the MUWs you've made there, too.\n\n## License\n\nCopyright 2016 Randal S. Olson.\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation, either version 3 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program. If not, see http://www.gnu.org/licenses/.\n\n## Dependencies\n\nYou must first install the Python library if you do not have that already.\nPreferably, use the [Anaconda Python distribution](http://continuum.io/downloads) for an easy install.\n\nNext, you can install this package. Enter the following command into the\nterminal:\n\n    pip install redditanalysis\n\nYou may need to put `sudo` in front of the above command if your system\nrequires root access.\n\nIf you want to install the lastest development version from github first\nclone the package:\n\n    git clone https://github.com/rhiever/reddit-analysis.git\n\nchange into the `reddit-analysis` directory:\n\n    cd reddit-analysis\n\nthen run the update script:\n\n    python setup.py install\n\n\n## Files in this repository\n\n`redditanalysis/words/common-words.txt` is a data file containing a list of words\nthat should be considered common. Note that this list is not final and is\nconstantly changing.\n\n`redditanalysis/words/dict-words.txt` is a data file containing a list of words\nfrom a dictionary. It is only recommended to use this file (with the `-x` option)\nif you want `word_freqs` to pick out very uncommon words.\n\n\n## Usage\n\nOnce installed, run the following on your command line to produce a usage\nmessage:\n\n    word_freqs --help\n\nThis command will detail all of the command line options and arguments for the\n`word_freqs`.\n\n### Make a MUW cloud for a subreddit or redditor\n\nTo count the most-used words for a subreddit over the last month, enter the\nfollowing command:\n\n    word_freqs YOUR-USERNAME /r/SUBREDDIT\n\nSimilarly, for a reddit user:\n\n    word_freqs YOUR-USERNAME /u/REDDITOR\n\nwhere `YOUR-USERNAME` is your reddit username and `SUBREDDIT` / `REDDITOR` is\nthe subreddit / redditor you want to make the MUW cloud for. You\nmust provide *both* arguments for the script to work properly.\n\n**Why is your username required?** Simply because it will be used as the user-agent when making the Reddit API request. Reddit asks its API users to use something unique as the user-agent and recomends to use the users username.\n\nOnce the script completes, it will create a file called `subreddit-SUBREDDIT.csv` (or\n`user-REDDITOR.csv`) to the directory you ran it in. This file contains all of\nthe commonly-used words from the subreddit / redditor you specified in the\nfrequencies they were used.\n\nTo make a MUW cloud out of the words, copy all of the words into\nhttp://www.wordle.net/compose and click the Go button. Ta-da, you're done!\n\n### Multiprocess\n\n`reddit-analysis` supports multiprocess PRAW. This allows you to run multiple instances\nof `reddit-analysis` simultaneously and not risk getting banned for overusing the reddit API.\nTo enable multiprocess PRAW in `reddit-analysis`, add the `-u` flag.\n\nSee the [PRAW documentation](https://praw.readthedocs.org/en/latest/pages/multiprocess.html) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhiever%2Freddit-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhiever%2Freddit-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhiever%2Freddit-analysis/lists"}