Flask like Blueprints for aiohttp

162 views
Skip to first unread message

cr0hn

unread,
Dec 11, 2016, 5:32:32 AM12/11/16
to aio-libs
Hi,

I'm looking for a way to use similar components like Flask Blueprints for aiohttp, but I don't find nothing concrete. 

I found this issues:
https://github.com/KeepSafe/aiohttp/issues/169

In these issues haven't links or references to any new web.Component module.

Something new about that?

Thank in advance!

Best regards

---
Daniel García (cr0hn)
Security researcher and ethical hacker

Personal sitehttp://cr0hn.com
Twitter@ggdaniel 

Nickolai Novik

unread,
Dec 11, 2016, 8:33:00 AM12/11/16
to cr0hn, aio-libs

--
You received this message because you are subscribed to the Google Groups "aio-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aio-libs+u...@googlegroups.com.
To post to this group, send email to aio-...@googlegroups.com.
Visit this group at https://groups.google.com/group/aio-libs.
To view this discussion on the web visit https://groups.google.com/d/msgid/aio-libs/CAO5w5va8vEAkn9Sh96sMbd%2BfKZZFc9AwHkjJFkO%3DYJ2%2BbS0pJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Nickolai Novik

unread,
Dec 11, 2016, 8:38:10 AM12/11/16
to cr0hn, aio-libs
I have library that uses this feature, you can take a look here https://github.com/aio-libs/aiohttp_admin . Basically this is admin sub application (similar to flask blueprint), that exposes administrative views. Almost nothing shared between root app and admin app.

cr0hn

unread,
Dec 11, 2016, 8:55:10 AM12/11/16
to Nickolai Novik, aio-libs
Right, thx!


---
Daniel García (cr0hn)
Security researcher and ethical hacker

Personal sitehttp://cr0hn.com
Twitter@ggdaniel 

cr0hn

unread,
Dec 11, 2016, 11:15:33 AM12/11/16
to Nickolai Novik, aio-libs
Maybe it should be good idea to put the nested application in the FAQ, using keywords like “blueprint”, so people (like me) that are looking for similar answers could be find the nested app.

Thanks again.

Bye!
signature.asc

Andrew Svetlov

unread,
Dec 11, 2016, 1:52:05 PM12/11/16
to aio-libs, nickol...@gmail.com
Please make a PR!
To unsubscribe from this group and stop receiving emails from it, send an email to aio-libs+unsubscribe@googlegroups.com.

cr0hn

unread,
Dec 11, 2016, 6:39:25 PM12/11/16
to aio-libs, Andrew Svetlov, nickol...@gmail.com
Done :)
To unsubscribe from this group and stop receiving emails from it, send an email to aio-libs+u...@googlegroups.com.

To post to this group, send email to aio-...@googlegroups.com.
Visit this group at https://groups.google.com/group/aio-libs.

For more options, visit https://groups.google.com/d/optout.
signature.asc
Reply all
Reply to author
Forward
0 new messages