We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! Just want to share pip install upytl
pip install upytl
from bottle import route, run from upytl import UPYTL, html as h upytl = UPYTL() template = { h.Html(): { h.Head(): { h.Meta(charset='utf-8'): None }, h.Body(): { h.Div(Class='{some_class}'): 'Hey [[ user_name ]]! How do you do?' } } } @route('/hello') @upytl.view(template) def hello(): return dict(some_class='super-class', user_name='Man') run(host='localhost', port=8080, debug=True)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! Just want to share
pip install upytl
The text was updated successfully, but these errors were encountered: