Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

Need help create framework web to python

Solved! Go to Solution.

Hello guys 

 

Repository link:  Py.Html Project

 

I am developing a python framework where the goal is to create a complete website, with systems of Css and Js implemented, through a few lines in python generate an HTML, CSS and JS code where the end user only has to modify what they want, but the shape and layout the Py.html already creates.

I need people who understand the front end and dePython creation scenarios and help me create a functional and practical framework so that any developer does not waste hours typing and building HTML, CSS or even the basics of JS, and of course the system will be integrated with Bootstrap.

 

 

Spoiler
Code to create Html + elements  (Python code)
from Framework import PyHtml
from Framework import CssTool


#Template for testes
#It's system work unique function with python tecnology
#Create HTML and CSS files with less lines in your Body.
#You no need create your web Project with hard dificult.
#Uses .CreateNewHtml() <--Where  create  one new HTML code.
#Its very easy and cool.
#Powered by Felipe Katao Tecnology.

#code exemple:

#Class for create
html= PyHtml.HtmlPy()
css= PyHtml.CssPy()
resp=CssTool.Responsive()
#start code

html.CreateNewHtml("index2.html","index2.html",1)

html.CreateMenuHtml("index2.html","#menu",8)

resp.importCssResponsive("index2.html",3)
resp.CardBootstrap("index2.html",50,"Hello","World friend","Loren inspum loren",html.toNextLine(1,10))



Result in html code:
<!DOCTYPE html>
<html>
<head>  <title>index2.html</title>

  <link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' integrity='sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T' crossorigin='anonymous'>
<meta charset='UTF-8'>
<meta name='viewport'content='width=device-width, initial-scale=1.0'>
<link>     
 </head>
   <body>
<nav id='#menu'>
 <ul>
  <li>Item</li>

  <div class='card' style='width: 10rem;'>
   <div class='card-body'>
   <h5 class='card-title'>Hello</h5>
   <h6 class='card-subtitle mb-2 text-muted'>World friend</h6>
     <p class='card-text'>Loren inspum loren</p>
   <a href='#' class='card-link'>link</a>
  </div>
   <div>  <li>Item</li>
 </ul>
</nav>
<nav id='#menu2'>
 <ul>
  <li>Item</li>
  <li>Item</li>
  <li>Item</li>
 </ul>
</nav>
<div id='#hello'>Hello world</div>

<form action='#ok'>
   <label>Label</label>
  <input id='Input0' type='text' name='name'>
  <input type='submit' value='save'>
</form>
      </body>
        </html>



 

 

 

Anyone who can help me or just take a look at the repository and leave a star there will be very happy, but whoever can really help me in this non-profit project would be much happier

 

Great friends!

Felipe Katão 

Visit my github and folow me!  Github Felipe Katao

1 Reply
Solution
Copilot Lvl 2
Message 2 of 2

Re: Need help create framework web to python

Try this,

https://github.com/webyaml

You dont even need to be that great with python.