PyWeb
?️

?

Current Release: 0.1

A Hobby Project
?

PyWeb is a small Library to generate customized static web pages using python. Aimed for new developers to make the web more pythonic. Currently under development.

Projected Changelog
?

v0.1

  • Generating HTML with python code
  • Support for Rendering HTML to file

v0.2

  • Add images, links
  • Support for HTML attribues for various tags (e.g href, alt)
  • Some basic CSS properties (based on tailwindCSS)
    • bg-color, text-color, font, size

v0.3

  • More Styling customizations (based on tailwindCSS)
    • Layout – 12 Column Grid, Floats, Positioning
    • Margins, borders, padding etc.
  • Custom Meta Tags
  • Fix indentation in generated HTML (probably)

v1.0

  • Proper Docstrings, Annotations, __repr__
  • Hover effects etc.
  • Publishing Library on PyPi
    ?

v1.0+

  • Support for responsive designs
  • Documentation
  • Smooth integration with backend frameworks
    • Support for Jinja2 Templating
      • variables
      • loops
      • conditionals
    • HTML Forms
  • Some basic DOM Manipulation options
    • collapsing/expanding div
    • Adding text etc.

Suggestions and Contributions are Welcome

 

Usage

Usage Examples are included in the tests folder and will be constantly added and updated

GitHub

View Github