--
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 pylons-discus...@googlegroups.com.
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAPX_VWDRhNUwXrC5Dxcx7Bg5qJWHb%3DUPsB_eQMKOZFYiUQZ0yw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/852EEE1C-A50F-41C0-B73D-7548F30B37FA%40luhn.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUsN86a_taRKS_9BAZsusVokUeSvvtuYOTRAHzEtYi57Ow%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUsN86a_taRKS_9BAZsusVokUeSvvtuYOTRAHzEtYi57Ow%40mail.gmail.com.
On the minus side, the dependency injection system seemed far from clear to me. But the two biggest problems, for my needs, were:- FastAPI doesn't offer rich security policies (the security system in Pyramid is based on Zope's, with roles, permissions, ACLs, route factories, contexts, etc.). Itonly offers "Oauth2 scopes", which can represent global permissions. So, no contextual permissions, workflows, etc, at least not with a substantial amount of work.- FastAPI doesn't seem to allow application composition the way Pyramid does (the exact term in the Pyramid docs is "extending an application")
--
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 pylons-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUtrjtxH3dneehNu9mQzz28s4G3g1gMvu1iC1ziFrR6afg%40mail.gmail.com.
Cornice is in `maintenance mode` now and not recommended for new projects.пятница, 4 октября 2024 г. в 15:51:46 UTC+3, Thierry Florac:Hi Mikko,I use colander, cornice and cornice-swagger packages with Pyramid.They allow schema verification and validation, and OpenAPI specification generation...
--Le ven. 4 oct. 2024 à 09:58, Mikko Ohtamaa <mi...@redinnovation.com> a écrit :On the minus side, the dependency injection system seemed far from clear to me. But the two biggest problems, for my needs, were:- FastAPI doesn't offer rich security policies (the security system in Pyramid is based on Zope's, with roles, permissions, ACLs, route factories, contexts, etc.). Itonly offers "Oauth2 scopes", which can represent global permissions. So, no contextual permissions, workflows, etc, at least not with a substantial amount of work.- FastAPI doesn't seem to allow application composition the way Pyramid does (the exact term in the Pyramid docs is "extending an application")Would it be possible to mix the best parts of FastAPI and Pyramid?- FastAPI for schema generation and validation- Pyramid as a web server and routingAs pointed our earlier, FastAPI uses Starlette web server. Would we be able to replace Starlette with Pyramid?Or more generally:Do we have any OpenAPI specification (YAML, JSON) generation tools from Pyramid endpoints? (As discussed earlier, we have the opposite, manually writing YAML and then importing it through pyramid_openapi3).Br,Mikko--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 pylons-discus...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUtrjtxH3dneehNu9mQzz28s4G3g1gMvu1iC1ziFrR6afg%40mail.gmail.com.
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 pylons-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/6265acb6-f16b-4a8a-9de9-c577f2b1354dn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUuETnH2QdqG73oqSLQo7WJGdmR4%2BCHPpot%3DAvZ4m4YtrA%40mail.gmail.com.
Let's not speak about those dark times.
You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/wnKQT4_5aZA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pylons-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUuETnH2QdqG73oqSLQo7WJGdmR4%2BCHPpot%3DAvZ4m4YtrA%40mail.gmail.com.
(maybe too heavily sometimes? ;)) but I can understand why (and I love Typer - or, rather, I love "rich").