FastAPI is built on Starlette, not Flask. It is worth a look.

> On Sep 11, 2024, at 3:50 PM, Mikko Ohtamaa <[email protected]> wrote:
> 
> Hi,
> 
> Alternatively fastapi is a very popular and maintained framework today. 
> Though as far as I know, it runs on the top of Flask, not Pyramid. Not sure 
> if Pyramid integration exists.
> 
> https://github.com/fastapi/fastapi
> 
> Br,
> Mikko
> 
> On Wed, 11 Sept 2024 at 16:11, Laurent Daverio <[email protected] 
> <mailto:[email protected]>> wrote:
>> Hello List,
>> 
>> I would like to ask about recommended packages for writing API routes in 
>> Pyramid. I mostly know two ways of doing it:
>> 
>> - using Pyramid views with a JSON renderer
>> - using Cornice
>> 
>> At one time, I was using `pyramid_openapi3` on tope of it, but I decided to 
>> stop, due to having lots of issues with it (but that's another story).
>> 
>> I generally prefer Cornice, however there a lot of features I don't use, 
>> like validations, and "resources" (I only use "services", as "resources" are 
>> not flexible enough for my needs).
>> 
>> So, at this point, my question is: if you were to recommend something 
>> "better" than Cornice ("better" meaning essentially "lighter"), what would 
>> it be?
>> 
>> Thanks in advance,
>> 
>> Laurent.
>> 
>> 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "pylons-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:[email protected]>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pylons-discuss/CAB7cU6xtNQdj%3Dby9WjeJwJZkpV4-GOmDeyaq1XqyJZ_dGC%3D%2B0w%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/pylons-discuss/CAB7cU6xtNQdj%3Dby9WjeJwJZkpV4-GOmDeyaq1XqyJZ_dGC%3D%2B0w%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUsN86a_taRKS_9BAZsusVokUeSvvtuYOTRAHzEtYi57Ow%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUsN86a_taRKS_9BAZsusVokUeSvvtuYOTRAHzEtYi57Ow%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/3E0C1BD6-9BF5-4BC6-9106-3D9A15EF42E2%40glicksoftware.com.

Reply via email to