-
People View all
@fastapi FastAPI framework, high performance, easy to learn, fast to code, ready for production.
Web APIs with Python type hints.
By
@tiangoloInternet • fastapi.tiangolo.com
-
Its raining so no more DIY. Working on profiling
#FastAPI applications, put together a simple middleware wrapper for pyinstrument that returns all API calls as a HTML profile page (fastapi-profiler didn't do what I wanted). Want to write an@AustinSampler version as wellpic.twitter.com/1cLt5T2KFW -
I decided to build the new version on
#FastAPI was for its capability of generating#OpenAPI spec for the API and presenting that via#SwaggerUI and/or#Redoc. Docs for the current version are handled separately from the API code and it's a pain to keep things in sync.Show this thread -
On the flip side,
#FastAPI seems to tokenize the route path provided in router.get() and seems to do type hinting only in function definition. So, having "/date/{year}/{month}" declared before "/date/iso/{show_date}" causes "/date/iso/2020-10-27" to be handled by the former... pic.twitter.com/UK4x9sNNsiShow this thread -
Well, found a gotcha with how
#FastAPI differs in parsing paths compared to#Flask. Flask provides a means to define the type hinting for each element in a path in app.route() plus in the function definition.pic.twitter.com/XAqGH5kB24Show this thread -
#python#authentication#angular#google#fastapi Create FastApi-Angular Website with Google Login http://dlvr.it/S5CySh -
ColabCode: Deploying Machine Learning Models From Google Colab - KDnuggets
#colabcode#fastapi#machinelearning#machine#datahttps://www.kdnuggets.com/2021/07/colabcode-deploying-machine-learning-models-google-colab.html … -
While using Response Models in
#FastAPI does mean things are slower (to validate the data that is returned), it's extremely useful in the auto-generation of the OpenAPI JSON (thus API docs). Also, it helps make sure that I don't muck things up when porting from v1.0 (Flask). -
Hahahaha
@fastapi Funny Funny stuff...#fastapi#yearsofexperiencepic.twitter.com/4uEBK6csoJ -
این پنج شنبه جمعه به یادگیری
#fastapi گذشت خیلی خوبه خصوصا برای ما پایتون کار ها -
RT Deploy FastAPI on Azure with Github Actions http://dlvr.it/S59lXc
#python#azure#githubactions#fastapi#dockerpic.twitter.com/Ar1jzQxMOg -
#python#azure#githubactions#fastapi#docker Deploy FastAPI on Azure with Github Actionshttp://dlvr.it/S59k55 -
Wrote an article yesterday on how I'm using a decorator to automatically initialize
#sqlalchemy models from JSON. Pairs great with#fastapi and#pydantichttps://blog.hay-kot.dev/auto-initialize-sqlalchemy-models-from-python-dictionary/ … -
Episode #72: Starting With FastAPI and Examining Python's Import System – The Real Python Podcast
#coding#dev#developer#fastapi#programmer#programming#python#software#web#webdevhttps://realpython.com/podcasts/rpp/72/ … -
Want to build a fully asynchronous
#FastAPI app with#Redis? Check out my new tutorial! https://developer.redislabs.com/develop/python/fastapi … Covering: * Managing keys * Storing data in RedisTimeSeries * Caching with Redis Along the way, I'll show you how to use FastAPI background tasks and startup events!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.