{"id":15816507,"url":"https://github.com/yashsinghcodes/twitter-sentiment-analysis","last_synced_at":"2025-04-01T03:42:33.240Z","repository":{"id":166501441,"uuid":"190744118","full_name":"yashsinghcodes/Twitter-Sentiment-Analysis","owner":"yashsinghcodes","description":"This repository contain a module for twitter-sentiment-analysis","archived":false,"fork":false,"pushed_at":"2021-04-22T14:17:19.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-06T05:04:37.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yashsinghcodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-06-07T13:01:11.000Z","updated_at":"2021-05-24T12:12:34.000Z","dependencies_parsed_at":"2023-06-05T07:00:25.888Z","dependency_job_id":null,"html_url":"https://github.com/yashsinghcodes/Twitter-Sentiment-Analysis","commit_stats":null,"previous_names":["yashsinghcodes/Twitter-Sentiment-Analysis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashsinghcodes%2FTwitter-Sentiment-Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashsinghcodes%2FTwitter-Sentiment-Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashsinghcodes%2FTwitter-Sentiment-Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashsinghcodes%2FTwitter-Sentiment-Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yashsinghcodes","download_url":"https://codeload.github.com/yashsinghcodes/Twitter-Sentiment-Analysis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246580461,"owners_count":20800108,"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-10-05T05:04:43.854Z","updated_at":"2025-04-01T03:42:33.209Z","avatar_url":"https://github.com/yashsinghcodes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitter-Sentiment-Analysis\nTwitter Sentiment Analysis is a sime python module or file which help in analyse the public tweets on a paticular topic. \nTo set up:\n\n## Installation of Libraries\nIt's recommended that you use virtualenv so that existing packages aren't tempered with. You'll need Python 3 installed with pip.\nRun:\n\n`pip install tweepy`\n\n`pip install textblob`\n\n`pip install csv`\n\n`pip install os`\n\n## How to use\nI made a file name main you can put it in your site packages or in the same folder. To locate your site-packages Run the following commands in your terminal:\n\n`$ python`\n\nNext, import the `sys` module:\n\n`\u003e\u003e\u003e import sys`\n\nThen have Python print out the system path:\n\n`\u003e\u003e\u003e print(sys.path)`\n\nHere, you’ll receive some output with at least one system path. If you’re in a programming environment, you may receive several. You’ll want to look for the one that is in the environment you’re currently using, but you may also want to add the module to your main system Python path. What you’re looking for will be similar to this:\n\n`'/usr/sammy/my_env/lib/python3.5/site-packages'`\n\nIf you are putting it in the same folder then you can directly call it by:\n\n`import main`\n\nOR\n\n`from main import TSA`\n\n## Examples\n\n```python\nfrom main import TSA\n\ntwitter = TSA('Your API Key',' Your API secret key','Your Access token','Your Access Token Secret')\ntwitter.analysis('Apple')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashsinghcodes%2Ftwitter-sentiment-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashsinghcodes%2Ftwitter-sentiment-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashsinghcodes%2Ftwitter-sentiment-analysis/lists"}