{"id":21194315,"url":"https://github.com/sunhailin-leo/fastapi_apollo_middleware","last_synced_at":"2025-07-10T03:33:27.515Z","repository":{"id":57428459,"uuid":"350545989","full_name":"sunhailin-Leo/fastapi_apollo_middleware","owner":"sunhailin-Leo","description":"It based on fastapi(https://github.com/tiangolo/fastapi) and Project Apollo(https://github.com/ctripcorp/apollo)","archived":false,"fork":false,"pushed_at":"2021-03-26T04:09:28.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-11T21:56:57.283Z","etag":null,"topics":["apollo","fastapi","middleware"],"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/sunhailin-Leo.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}},"created_at":"2021-03-23T01:45:15.000Z","updated_at":"2023-04-27T09:50:28.000Z","dependencies_parsed_at":"2022-09-02T15:31:48.097Z","dependency_job_id":null,"html_url":"https://github.com/sunhailin-Leo/fastapi_apollo_middleware","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunhailin-Leo%2Ffastapi_apollo_middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunhailin-Leo%2Ffastapi_apollo_middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunhailin-Leo%2Ffastapi_apollo_middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunhailin-Leo%2Ffastapi_apollo_middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunhailin-Leo","download_url":"https://codeload.github.com/sunhailin-Leo/fastapi_apollo_middleware/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225616175,"owners_count":17497119,"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":["apollo","fastapi","middleware"],"created_at":"2024-11-20T19:21:18.527Z","updated_at":"2024-11-20T19:21:19.144Z","avatar_url":"https://github.com/sunhailin-Leo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003efastapi_apollo_middleware\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    \u003cem\u003eA FastAPI Middleware of Apollo(Config Server By CtripCorp) to get server config in every request.\u003c/em\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://travis-ci.org/sunhailin-Leo/fastapi_apollo_middleware\"\u003e\n        \u003cimg src=\"https://travis-ci.org/sunhailin-Leo/fastapi_apollo_middleware.svg?branch=main\" alt=\"Travis Build Status\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://ci.appveyor.com/project/sunhailin-Leo/fastapi_apollo_middleware\"\u003e\n        \u003cimg src=\"https://ci.appveyor.com/api/projects/status/hbis92gspadtfs9c/branch/main?svg=true\" alt=\"Appveyor Build Status\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/sunhailin-Leo/fastapi_apollo_middleware\"\u003e\n        \u003cimg src=\"https://codecov.io/gh/sunhailin-Leo/fastapi_apollo_middleware/branch/main/graph/badge.svg\" alt=\"Codecov\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://img.shields.io/pypi/v/fastapi_apollo_middleware\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/v/fastapi_apollo_middleware.svg\" alt=\"Package version\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/fastapi_apollo_middleware/\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/pyversions/fastapi_apollo_middleware.svg?colorB=brightgreen\" alt=\"PyPI - Python Version\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://pypi.org/project/fastapi_apollo_middleware\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/format/fastapi_apollo_middleware.svg\" alt=\"PyPI - Format\"\u003e\n    \u003c/a\u003e\n     \u003ca href=\"https://github.com/sunhailin-LEO/fastapi_apollo_middleware/pulls\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat\" alt=\"Contributions welcome\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/License-MIT-brightgreen.svg\" alt=\"License\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## 📣 Info\n\nA FastAPI Middleware of Apollo(Config Server By CtripCorp) to get server config in every request. Maybe is the best config server middleware of FastAPI extension.\n\n## 🔰 Installation\n\n**Use pip**\n```shell\n$ pip install fastapi_apollo_middleware -U\n```\n\n## 📝 Example\n\nJump to example folder.[Example](https://github.com/sunhailin-Leo/fastapi_apollo_middleware/blob/main/example/fastapi_example.py)\n\n## ⛏ Test the Code\n\n### Integration Test\n\nUse [Travis CI](https://travis-ci.org/) and [AppVeyor](https://ci.appveyor.com/) continuously integrated environmen.\n\n### Code Style\n\nUse [flake8](http://flake8.pycqa.org/en/latest/index.html) and [Codecov](https://codecov.io/) to improve the code quality.\n\n## 💡 Author\n\n* [@sunhailin-Leo](https://github.com/sunhailin-Leo)\n\n## 📃 License\n\nMIT [©sunhailin-Leo](https://github.com/sunhailin-Leo)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunhailin-leo%2Ffastapi_apollo_middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunhailin-leo%2Ffastapi_apollo_middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunhailin-leo%2Ffastapi_apollo_middleware/lists"}