{"id":20973690,"url":"https://github.com/grillazz/fastapi-faust","last_synced_at":"2025-04-12T01:30:34.963Z","repository":{"id":114558063,"uuid":"592474004","full_name":"grillazz/fastapi-faust","owner":"grillazz","description":"Simple integration of FastAPI with Faust Python Stream Processing Fork","archived":false,"fork":false,"pushed_at":"2024-10-22T18:12:47.000Z","size":141,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T04:27:05.453Z","etag":null,"topics":["asyncio","fastapi","faust","faust-streaming","kafka","python3","streaming"],"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/grillazz.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":"2023-01-23T20:05:16.000Z","updated_at":"2025-03-19T17:04:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b945ac0-73f6-4d19-b148-83245a674253","html_url":"https://github.com/grillazz/fastapi-faust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grillazz%2Ffastapi-faust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grillazz%2Ffastapi-faust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grillazz%2Ffastapi-faust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grillazz%2Ffastapi-faust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grillazz","download_url":"https://codeload.github.com/grillazz/fastapi-faust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248504182,"owners_count":21115132,"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":["asyncio","fastapi","faust","faust-streaming","kafka","python3","streaming"],"created_at":"2024-11-19T04:20:55.209Z","updated_at":"2025-04-12T01:30:34.945Z","avatar_url":"https://github.com/grillazz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastapi-faust\n\nExample of [FastAPI](https://fastapi.tiangolo.com/) integration with [Faust - Python Stream Processing Fork](https://github.com/faust-streaming/faust)\n\nThis is a very opinionated example repository for a python backend API.\nIt is not a template as it contains a few things already as an example for how to build something from here.\n\n[This project](https://github.com/toh995/fastapi-faust-example) was originally created by [toh995](https://github.com/toh995/), this is a hard fork as I intend to deviate from the upstream -\nadding more opinion and changing a few things i.e. switch from  [Faust](https://github.com/robinhood/faust) to [Faust - Python Stream Processing Fork](https://github.com/faust-streaming/faust)\n\n\n### How to Setup\nTo build , run and test and more ... use magic of make help to play with this project.\n```shell\nmake help\n```\n\n\n### Test with cURL\n```shell\ncurl -X 'POST' \\\n  'http://0.0.0.0:8080/greeting?from_name=Faust\u0026to_name=World' \\\n  -H 'accept: application/json' \\\n  -d ''\n```\nand you get response\n```shell\nfastapi-faust-api-1        | INFO:     172.24.0.1:65078 - \"POST /greeting?from_name=Faust\u0026to_name=World HTTP/1.1\" 200 OK\nfastapi-faust-worker-1     | [2023-01-26 19:39:59,701] [1] [WARNING] Saluti veloci da Faust a World\nfastapi-faust-api-1        | INFO:     172.24.0.1:62310 - \"POST /greeting?from_name=Faust\u0026to_name=World HTTP/1.1\" 200 OK\nfastapi-faust-worker-1     | [2023-01-26 19:40:34,334] [1] [WARNING] Saluti veloci da Faust a World\nfastapi-faust-api-1        | INFO:     172.24.0.1:64476 - \"POST /greeting?from_name=Faust\u0026to_name=World HTTP/1.1\" 200 OK\nfastapi-faust-worker-1     | [2023-01-26 19:40:37,264] [1] [WARNING] Saluti veloci da Faust a World\nfastapi-faust-api-1        | INFO:     172.24.0.1:64478 - \"POST /greeting?from_name=Faust\u0026to_name=World HTTP/1.1\" 200 OK\nfastapi-faust-worker-1     | [2023-01-26 19:40:38,026] [1] [WARNING] Saluti veloci da Faust a World\n\n```\n\nFastAPI + Faust = :heart:\n\n### Development\n- install pre-commit\n- install poetry\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrillazz%2Ffastapi-faust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrillazz%2Ffastapi-faust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrillazz%2Ffastapi-faust/lists"}