html_content = str(
Tags.div().id('container').child(
Tags.h1('Trees').id('title'),
Tags.img().attr('src', 'imgs/tree.png').attr('alt', 'image of a tree').id('tree'),
Tags.p('A woody plant, usually having a single stem or trunk growing to be tall and has lateral branches at some distance from the ground.').id('description')
)
)
run(html_content)
A woody plant, usally having a single stem or trunk growing to be tall and has lateral branches at some distance from the ground.
Contributors
Stars
Forks
phyal was born out of a problem, like many good opensource startups alike. phyal was made to solve an issue I had encountered with people I knew and others online of the struggle of learning and implementing HTML. Many of them had already known another language such as Python and JavaScript. Since I was most comfortable with Python, and many new frontend learners would already have encountered Python previously (and if not, Python has a simple syntax), I started seeking help from others who had created frameworks and got to work. As I worked and wrote code, phyal's presense grew with it.
When the planning and begining's of the larget phyal update that I had worked on so far (0.3.0), other fans of phyal jumped into help. They gave suggestions, pull requests, and more, making my job so much easier so I could get the update out in a timely manor without burnout.
This journey led me in a direction I never thought I would take. It was challenging, but rewarding, with new knowledge and experience. phyal has allowed me to grow as a programmer, and in the future probably much more. So I hope you enjoy working with phyal as much as I did working on it.
- SalladShooter Owner and Maintainer