{"id":17717681,"url":"https://github.com/aryathel/twittersentimentanalysis","last_synced_at":"2026-04-27T16:33:14.965Z","repository":{"id":116005112,"uuid":"340587468","full_name":"Aryathel/TwitterSentimentAnalysis","owner":"Aryathel","description":"WORK IN PROGRESS. This project will allow users to enter in a keyword or hashtag to search for on Twitter, as well as the number of Tweets to include in their search, and the program will return an analysis of the general sentiment of that topic.","archived":false,"fork":false,"pushed_at":"2021-03-08T03:36:10.000Z","size":85,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-06T05:52:12.660Z","etag":null,"topics":["data-science","data-visualization","flask","python","twitter-api","twitter-sentiment-analysis"],"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/Aryathel.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":"2021-02-20T07:07:29.000Z","updated_at":"2021-06-03T05:59:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"78c7c754-793c-46c0-bd7c-b74e2adcd106","html_url":"https://github.com/Aryathel/TwitterSentimentAnalysis","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/Aryathel/TwitterSentimentAnalysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aryathel%2FTwitterSentimentAnalysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aryathel%2FTwitterSentimentAnalysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aryathel%2FTwitterSentimentAnalysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aryathel%2FTwitterSentimentAnalysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aryathel","download_url":"https://codeload.github.com/Aryathel/TwitterSentimentAnalysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aryathel%2FTwitterSentimentAnalysis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32345804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["data-science","data-visualization","flask","python","twitter-api","twitter-sentiment-analysis"],"created_at":"2024-10-25T14:29:00.821Z","updated_at":"2026-04-27T16:33:14.944Z","avatar_url":"https://github.com/Aryathel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitter Sentiment Analyzer\nThis is a work in progress project that I am starting to be able to let a user look up the general sentiment of tweets surrounding specific keyword(s) or hashtag(s).\n\n## Setup Instructions\n### Prerequisites:\n- Python 3.8.2+\n- Make sure you have the `pipenv` library installed.\n- Have a [Twitter Developer](https://developer.twitter.com/) account created, and have an [application](https://developer.twitter.com/en/portal/dashboard) ready for this project.\n\n### Steps\n1. Clone this repo.\n1. Open a command prompt/terminal in the folder where the repo has been cloned, and run `pipenv install`.\n1. Create a folder called `nltk_data` anywhere.\n1. Create a file in the cloned folder named `.env`, and enter the contents using the following template:\n```\nNLTK_DATA={path to ntlk_data folder.}\nTWITTER_CONSUMER_KEY={your Twitter application's consumer key}\nTWITTER_CONSUMER_SECRET={your Twitter application's consumer key}\nTWITTER_ACCESS_TOKEN={your Twitter application's access token}\nTWITTER_ACCESS_SECRET={your Twitter application's access secret}\n```\n1. Edit the [main](main.py#L40) file, on line 40, and change the `keyword` argument to your search keyword, and change the `num` argument to the maximum number of tweets you want to search.\n1. Run `pipenv run python main.py` to start the program.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faryathel%2Ftwittersentimentanalysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faryathel%2Ftwittersentimentanalysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faryathel%2Ftwittersentimentanalysis/lists"}