web2py/py4web HTML helpers as an independent module

44 views
Skip to first unread message

António Ramos

unread,
Feb 14, 2020, 7:35:41 AM2/14/20
to web...@googlegroups.com
Hello, like pydal that is now an independent module , would also be interesting to have web2py HTML helpers imported as a independent module outside of web2py.
Maybe flask and django developers could use them also...
Regards
António

Massimo Di Pierro

unread,
Feb 15, 2020, 6:29:04 AM2/15/20
to web2py-users
pip install yatl
python
>>> from yatl.helpers import A, BUTTON, DIV

enjoy. This has been possible for some time.

António Ramos

unread,
Feb 15, 2020, 1:05:33 PM2/15/20
to web...@googlegroups.com
Nice to know!! 

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/551a2ad9-438d-4dca-9919-299a858d8649%40googlegroups.com.

Massimo Di Pierro

unread,
Feb 16, 2020, 8:23:39 PM2/16/20
to web2py-users
Mind these helpers are a re-implementation of the web2py ones. They are very similar but not identical. They are used in py4web.



On Saturday, 15 February 2020 10:05:33 UTC-8, Ramos wrote:
Nice to know!! 

Massimo Di Pierro <massimo....@gmail.com> escreveu em sáb, 15/02/2020 às 11:29 :
pip install yatl
python
>>> from yatl.helpers import A, BUTTON, DIV

enjoy. This has been possible for some time.

On Friday, 14 February 2020 04:35:41 UTC-8, Ramos wrote:
Hello, like pydal that is now an independent module , would also be interesting to have web2py HTML helpers imported as a independent module outside of web2py.
Maybe flask and django developers could use them also...
Regards
António

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages