Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

msank00/api_in_python

Repository files navigation


application API made with Python made with flask made with FastAPI

πŸš€ Simple Python API for ML project

  • This meta project consists of simple script which can be used to create machine learning API in python which includes separate template for creating preprocessing, training and prediction API along with logging and basic error handling facility.
  • The preprocessing, training, prediction module consists of dummy code which you can fill as per your wish.
  • The APIs are created in 2 different ways:
    • Bare flask API
    • Swagger based API

⭐ Simple api using flask

  • Kindly look into the simple_api/ directory here.

⭐ Swagger based api using FastAPI:

Swagger helps for API documentation which is quite helpful and a good practice.

  • Kindly look into the swagger_api/ directory here.

⭐ Override FastAPI/Uvicorn logger using Loguru

⭐ Implement FastAPI with Redis (message queue approach)


πŸ”œ TODO


Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /