{"id":13729566,"url":"https://github.com/dapivei/tweetple","last_synced_at":"2026-07-10T21:41:16.301Z","repository":{"id":62585671,"uuid":"429342222","full_name":"dapivei/tweetple","owner":"dapivei","description":"A wrapper to stream information from Twitter's Full-Archive Search Endpoint. To exploit this library, one must have approved academic research access.","archived":false,"fork":false,"pushed_at":"2022-05-05T02:18:25.000Z","size":39,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-21T00:14:12.816Z","etag":null,"topics":["academic","twitter"],"latest_commit_sha":null,"homepage":"","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/dapivei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-18T07:54:01.000Z","updated_at":"2025-03-19T13:25:37.000Z","dependencies_parsed_at":"2022-11-03T22:05:25.592Z","dependency_job_id":null,"html_url":"https://github.com/dapivei/tweetple","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dapivei/tweetple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapivei%2Ftweetple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapivei%2Ftweetple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapivei%2Ftweetple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapivei%2Ftweetple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dapivei","download_url":"https://codeload.github.com/dapivei/tweetple/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapivei%2Ftweetple/sbom","scorecard":{"id":322214,"data":{"date":"2025-08-11","repo":{"name":"github.com/dapivei/tweetple","commit":"af4d38689b2e32ee43547d2ac4995c991a5db4c5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/17 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license.txt:0","Info: FSF or OSI recognized license: MIT License: license.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T01:39:13.724Z","repository_id":62585671,"created_at":"2025-08-18T01:39:13.724Z","updated_at":"2025-08-18T01:39:13.724Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35344523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"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":["academic","twitter"],"created_at":"2024-08-03T02:01:02.475Z","updated_at":"2026-07-10T21:41:16.265Z","avatar_url":"https://github.com/dapivei.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["Python"],"readme":"# TWEETPLE\r\n\r\n[![Twitter API v2 badge](https://img.shields.io/endpoint?url=https%3A%2F%2Ftwbadges.glitch.me%2Fbadges%2Fv2)](https://developer.twitter.com/en/docs/twitter-api/early-access)\r\n\r\n## Installation\r\n\r\nThe easiest way to install the latest version from PyPI is by using pip:\r\n```python\r\npip install tweetple\r\n```\r\n\r\n## Usage\r\n\r\n+ Users, Followers, Liking Users and Retweeted By Lookup\r\n\r\n```python\r\nimport tweetple\r\n\r\nfrom tweetple import TweetPle\r\n\r\n# Bearer token accesible via Twitter Developer Academic Research Track\r\nbearer_token='AAAAAAAA'\r\n\r\n# List of handle ids\r\nids = ['308131814']\r\n\r\n# Retrieve users' information\r\nTweetPle.TweepleStreamer(ids, bearer_token).user_lookup()\r\n\r\n# Retrieve followers' information\r\nTweetPle.TweepleStreamer(ids, bearer_token).followers_lookup()\r\n\r\n# List of tweet ids\r\n\r\nids = ['308131814']\r\n\r\n# Retrieve liking users\r\nTweetPle.TweepleStreamer(ids, bearer_token).likes_lookup()\r\n\r\n# Retrieve retweeting users\r\n\r\nTweetPle.TweepleStreamer(ids, bearer_token).retweet_lookup()\r\n```\r\n\r\n+ Retrieve Tweets\r\n\r\nOne can provide as input a **list** of:\r\n\r\n1. Tweets' ids\r\n\r\n2. Tweeples' handles\r\n\r\n3. Links\r\n\r\n```python\r\nimport tweetple\r\n\r\nfrom tweetple import TweetPle\r\n\r\n# bearer token accesible via Twitter Developer Academic Research Track\r\nbearer_token='AAAAAAAA'\r\n\r\n# list of tweets' ids\r\ntweetl = ['1461090445702881281']\r\nTweetPle.TweetStreamer(tweetl, bearer_token).main()\r\n\r\n# list of tweeplers' handles\r\ntweeplel = ['zorroyanez']\r\nTweetPle.TweetStreamer(tweeplel, bearer_token).main()\r\n\r\n# list of links potentially shared via twitter\r\nlinkl = ['https://lula.com.br/22-vitorias-judiciais-de-lula-inquerito-contra-filhos-e-encerrado-por-falta-de-provas/']\r\nTweetPle.TweetStreamer(linkl, bearer_token).main()\r\n\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdapivei%2Ftweetple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdapivei%2Ftweetple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdapivei%2Ftweetple/lists"}