Skip to content

sunhailin-Leo/fastapi_apollo_middleware

Repository files navigation

fastapi_apollo_middleware

A FastAPI Middleware of Apollo(Config Server By CtripCorp) to get server config in every request.

Travis Build Status Appveyor Build Status Codecov Package version PyPI - Python Version

PyPI - Format Contributions welcome License

📣 Info

A 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.

🔰 Installation

Use pip

$ pip install fastapi_apollo_middleware -U

📝 Example

Jump to example folder.Example

⛏ Test the Code

Integration Test

Use Travis CI and AppVeyor continuously integrated environmen.

Code Style

Use flake8 and Codecov to improve the code quality.

💡 Author

📃 License

MIT ©sunhailin-Leo