{"id":39713899,"url":"https://github.com/odrling/peony-twitter","last_synced_at":"2026-01-18T10:40:51.441Z","repository":{"id":48100082,"uuid":"66664935","full_name":"odrling/peony-twitter","owner":"odrling","description":"An asynchronous Twitter API client for Python 3.6+","archived":false,"fork":false,"pushed_at":"2024-01-16T01:37:06.000Z","size":687,"stargazers_count":83,"open_issues_count":5,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-25T18:42:19.947Z","etag":null,"topics":["async","asynchronous","asyncio","python","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/odrling.png","metadata":{"files":{"readme":"README.rst","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":"2016-08-26T17:01:26.000Z","updated_at":"2025-08-27T12:10:06.000Z","dependencies_parsed_at":"2024-01-16T03:16:56.352Z","dependency_job_id":"a15a0615-48f3-4ef8-aac1-40612a3fa149","html_url":"https://github.com/odrling/peony-twitter","commit_stats":{"total_commits":425,"total_committers":11,"mean_commits":38.63636363636363,"dds":0.5176470588235293,"last_synced_commit":"ae28b35f74ccf26cb2306b82b9e7af749e6a3a02"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/odrling/peony-twitter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odrling%2Fpeony-twitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odrling%2Fpeony-twitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odrling%2Fpeony-twitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odrling%2Fpeony-twitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odrling","download_url":"https://codeload.github.com/odrling/peony-twitter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odrling%2Fpeony-twitter/sbom","scorecard":{"id":702710,"data":{"date":"2025-08-11","repo":{"name":"github.com/odrling/peony-twitter","commit":"ae28b35f74ccf26cb2306b82b9e7af749e6a3a02"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/odrling/peony-twitter/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/odrling/peony-twitter/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/odrling/peony-twitter/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/odrling/peony-twitter/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/odrling/peony-twitter/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/odrling/peony-twitter/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/twitter.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/odrling/peony-twitter/twitter.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/twitter.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/odrling/peony-twitter/twitter.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:27","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:21","Warn: pipCommand not pinned by hash: .github/workflows/twitter.yml:21","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/twitter.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE: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 'master'"],"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"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2023-120 / GHSA-45c4-8wx5-qw6w","Warn: Project is vulnerable to: GHSA-5m98-qgg9-wh84","Warn: Project is vulnerable to: GHSA-7gpw-8wmc-pm8g","Warn: Project is vulnerable to: GHSA-8495-4g3g-x7pr","Warn: Project is vulnerable to: PYSEC-2024-26 / GHSA-8qpw-xqxj-h4r2","Warn: Project is vulnerable to: GHSA-9548-qrrj-x5pj","Warn: Project is vulnerable to: PYSEC-2023-246 / GHSA-gfw2-4jvh-wgfg","Warn: Project is vulnerable to: GHSA-pjjw-qhg8-p2p9","Warn: Project is vulnerable to: PYSEC-2023-250 / GHSA-q3qx-c6g2-7pw2","Warn: Project is vulnerable to: PYSEC-2023-251 / GHSA-qvrw-v9rv-5rjx","Warn: Project is vulnerable to: PYSEC-2021-76 / GHSA-v6wp-4m6f-gcjg","Warn: Project is vulnerable to: PYSEC-2023-247 / GHSA-xx9p-xxvh-7g8j","Warn: Project is vulnerable to: PYSEC-2022-238 / GHSA-h3qr-fjhm-jphw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T05:34:26.686Z","repository_id":48100082,"created_at":"2025-08-22T05:34:26.686Z","updated_at":"2025-08-22T05:34:26.686Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["async","asynchronous","asyncio","python","twitter"],"created_at":"2026-01-18T10:40:50.852Z","updated_at":"2026-01-18T10:40:51.430Z","avatar_url":"https://github.com/odrling.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Asynchronous Twitter API client for Python 3.6+\n===============================================\n\n\n.. image:: https://codecov.io/gh/odrling/peony-twitter/branch/master/graph/badge.svg\n  :target: https://codecov.io/gh/odrling/peony-twitter\n\n.. image:: https://readthedocs.org/projects/peony-twitter/badge/?version=stable\n  :target: https://peony-twitter.readthedocs.io/en/stable/?badge=stable\n  :alt: Documentation Status\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n\n\nInstallation\n------------\n\nTo install this module simply run::\n\n    pip install 'peony-twitter[all]'\n\nThis will install all the modules required to make peony run out of the box.\nYou might feel like some of them are not fit for your needs.\nCheck `Advanced installation`_ for more information about how to install only\nthe modules you will need.\n\n.. _Advanced installation: https://peony-twitter.readthedocs.io/en/latest/adv_usage/install.html#adv-install\n\nAuthorize your client\n---------------------\n\nYou can use ``peony.oauth_dance`` to authorize your client:\n\n.. code-block:: python\n\n    \u003e\u003e\u003e from peony.oauth_dance import oauth_dance\n    \u003e\u003e\u003e tokens = oauth_dance(YOUR_CONSUMER_KEY, YOUR_CONSUMER_SECRET)\n    \u003e\u003e\u003e from peony import PeonyClient\n    \u003e\u003e\u003e client = PeonyClient(**tokens)\n\nThis should open a browser to get a pin to authorize your application.\n\n\nGetting started\n---------------\n\nYou can easily create a client using the class ``PeonyClient``.\nMake sure to get your api keys and access tokens from\n`Twitter's application management page`_ and/or to `Authorize your client`_\n\n.. code-block:: python\n\n    import asyncio\n\n    # NOTE: the package name is peony and not peony-twitter\n    from peony import PeonyClient\n\n    # create the client using your api keys\n    client = PeonyClient(consumer_key=YOUR_CONSUMER_KEY,\n                         consumer_secret=YOUR_CONSUMER_SECRET,\n                         access_token=YOUR_ACCESS_TOKEN,\n                         access_token_secret=YOUR_ACCESS_TOKEN_SECRET)\n\n    # this is a coroutine\n    req = client.api.statuses.update.post(status=\"I'm using Peony!!\")\n\n    # run the coroutine\n    asyncio.run(req)\n\n.. _Twitter's application management page: https://apps.twitter.com\n\n.. _Authorize your client: #authorize-your-client\n\nDocumentation\n-------------\n\nRead `Peony's documentation`_ on Read The Docs.\n\nThere is a `#peony`_ channel on the `Libera IRC network`_ for support and\ndiscussion about Peony.\nYou can use `Libera's webchat`_ to connect to this channel from your web browser.\n\n.. _Peony's documentation: https://peony-twitter.readthedocs.io\n.. _#peony: irc://irc.libera.chat/peony\n.. _Libera IRC network: https://libera.chat\n.. _Libera's webchat: https://web.libera.chat/#peony\n\nContributing\n------------\n\nEvery kind of contribution is appreciated.\n\nIf you find a bug please start an issue and if you're very motivated you can\ncreate a pull request.\n\nIf you have a suggestion you can also start an issue and create a pull\nrequest if you managed to make it work.\n\nTests\n-----\n\nTo run the tests run:\n\n.. code-block:: bash\n\n    make\n\nThe first time this command is run it will install all the dependencies\nwhich can take a bit of time.\n\nThe tests include a code style test. The code style is mostly PEP8, the only\nexception so far being long urls included in docstrings and some imports\nthat are not at the top of the file (because they can't be there).\n\nYou can also use tox to run the tests, a configuration file is provided:\n\n.. code-block:: bash\n\n    tox\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodrling%2Fpeony-twitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodrling%2Fpeony-twitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodrling%2Fpeony-twitter/lists"}