{"id":18584354,"url":"https://github.com/mattrasband/littlebird","last_synced_at":"2025-07-24T20:39:18.497Z","repository":{"id":52705952,"uuid":"100415554","full_name":"mattrasband/littlebird","owner":"mattrasband","description":"Modern TwitterClient supporting the latest Python3.6+ features","archived":false,"fork":false,"pushed_at":"2021-04-20T17:03:56.000Z","size":38,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-18T18:04:19.003Z","etag":null,"topics":["aiohttp","asyncio","python3-6","twitter"],"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/mattrasband.png","metadata":{"files":{"readme":"README.rst","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":"2017-08-15T20:12:03.000Z","updated_at":"2019-03-31T15:13:31.000Z","dependencies_parsed_at":"2022-08-22T09:20:26.249Z","dependency_job_id":null,"html_url":"https://github.com/mattrasband/littlebird","commit_stats":null,"previous_names":["mrasband/littlebird"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattrasband%2Flittlebird","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattrasband%2Flittlebird/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattrasband%2Flittlebird/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattrasband%2Flittlebird/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattrasband","download_url":"https://codeload.github.com/mattrasband/littlebird/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254473768,"owners_count":22077166,"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":["aiohttp","asyncio","python3-6","twitter"],"created_at":"2024-11-07T00:27:12.584Z","updated_at":"2025-05-16T05:33:06.968Z","avatar_url":"https://github.com/mattrasband.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"littlebird\n==========\n\n.. image:: https://travis-ci.org/mrasband/littlebird.svg?branch=master\n    :target: https://travis-ci.org/mrasband/littlebird\n.. image:: https://img.shields.io/pypi/v/nine.svg\n    :target: https://pypi.python.org/pypi/littlebird\n\nLittleBird is a Python 3.6+ asynchronous library for accessing twitter utilizing new python features: async generators, type hinting, etc.\n\nUsage\n-----\n\nCurrently only the oauth1 methods are supported (application only authentication, user account access).\n\n.. code:: python\n\n    import asyncio\n    import contextlib\n\n    from littlebird import LittleBird\n\n    little_bird = LittleBird(\n        # required for oauth1 signing:\n        consumer_key: str,\n        consumer_secret: str,\n        # optionally necessary for endpoints requiring a user's scope:\n        access_token: Optional[str] = None,\n        access_token_secret: Optional[str] = None\n    )\n\n    async def main(little_bird):\n        # watch the random sampling of tweets chosen by twitter\n        async for tweet in little_bird.sample():\n            print(tweet)\n\n    if __name__ == '__main__':\n        loop = asyncio.get_event_loop()\n        with contextlib.suppress(KeyboardInterrupt):\n            loop.run_until_complete(main(little_bird))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattrasband%2Flittlebird","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattrasband%2Flittlebird","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattrasband%2Flittlebird/lists"}