Pour ceux qui font du python et utilisent FastAPI, la version 0.92 fixe un bug de s茅curit茅 avec la mise 脿 jour de Startlette en 0.25.0.
Le bug peut conduire 脿 un DoS si votre api permet l'upload de fichiers au travers de formulaires. L'envoi d'une multititudes de petits fichiers peut provoquer une grosse consommation CPU & RAM.
#python #fastapi #starlette #security
馃悕 I needed a mock web service to mimic the behavior of a third party service in a large testing environment. This article shows how I created that service using #Starlette in #Python. https://www.mattlayman.com/blog/2019/starlette-mock-service/
#nsfwtrans lets see how this platform will do #transwoman #starlette #tsdeijahvu #LasVegas
#nsfwtrans #transwoman #starlette #tsdeijahvu #LasVegas
Yet another package started using `multipart`causing impossible blocker against `python-multipart` used by #starlette. Unfortunately, this just proves how rotten #Python packaging (#PyPI) is at the core.
Did you know that FastAPI provides the TestClient only as a convenience for you?
You can also do `from starlette import TestClient`. This is stated in the FastAPI docs.
Turns out that with Starlette 0.21.0 (used by FastAPI 0.87.0), they replaced requests with httpx for this TestClient. This actually introduces som breaking changes... they even introduced a tool called bump-testclient for this migration.
Read more here about bump-testclient: https://github.com/Kludex/bump-testclient
#Starlite is signficantly faster rendering response headers and cookies than #Starlette and #FastAPI
#Gentoo #Python packaging fun: #starlette requires httpx and python-multipart, #httpx requires multipart (and both are part of the same organization on GitHub). python-multipart and multipart are two packages colliding over multipart module/package, so they cannot be installed simultaneously.
#gentoo #python #starlette #httpx
Let's do my #introduccion
I'm a smiley person, and my hobbies are soccer, gym and coding.
I'm also a #FastAPI expert, and maintainer of #Starlette & #Uvicorn.
My week days are pretty much the same: I wake up, I eat 3 eggs, yogurt with cereal, and a coffee. Followed by some open source, gym, work, and at night I do more open source.
On my weekends I do open source, gym and soccer. 馃榿
I lived in 馃嚙馃嚪馃嚭馃嚲馃嚘馃嚪馃嚠馃嚬馃嚜馃嚫馃嚠馃嚤馃嚝馃嚪, and now I live in 馃嚦馃嚤.
I speak 馃嚙馃嚪馃嚭馃嚲馃嚠馃嚬馃嚭馃嚥, and I want to learn 馃嚝馃嚪馃嚦馃嚤馃嚭馃嚘.
#introduccion #fastapi #starlette #uvicorn
je cherche 脿 lacher mon VPS chez OVH.
si quelqu'un aurait du rab de CPU/RAM/DISK pour 3 projets python (#django et #starlette sont les fwk ) les bases sont minusculus :D (la plus grosse 80Mo la plus petite: 8ko :)
les appli sont
shaarpy.foxmask.org
mb.foxmask.org
la troisieme n'utilise pas d'app web (celle avec 8ko de db;)
#starlette #django #demenagement
j'avais la flemme de le faire en anglais et en cor茅en mais voil脿 qd meme le 1掳 billet 2022 :)
Piq没re de rappel sur les projets home made #python #django #starlette
Une petite version de plus pour https://gitlab.com/annyong/yeoboseyo qui permet maintenant de poster dans #wallabag :P ou pire encore dans #telegram :D
#microservice #python #starlette #telegram #wallabag
I'm a little bit disappointed by https://www.encode.io/databases/
there is no problem with sqlite but I could not use Postgresql. The scripts tried to connect the server but said the server is not started, which is, of course completly false... :/
#python #starlette #database #postgresql
#postgresql #database #starlette #python