Zenith is a powerful Python framework that revolutionizes web development. It provides a declarative approach to designing efficient UI components, making it easier than ever to build interactive and scalable websites.
- Efficient UI components: Zenith makes it easy to build and manage reusable UI components.
- Scalable: Designed with large-scale applications in mind, Zenith helps you build websites that can grow with your needs.
- Declarative: Zenith's declarative style makes your code easier to understand and maintain.
To install Zenith, simply run:
pip install ZenithLib
Here's a basic example of how to use Zenith to create a webpage:
import Zenith
app = Zenith.WApp()
homePageContent = """
<Container>
<Header>Welcome to Zenith</Header>
<Paragraph>A Python framework for web development</Paragraph>
</Container>
"""
builder = Zenith.Builder({"home": homePageContent})
built = builder.Build()
style = Zenith.Stylesheet.new({
'body': {
'background-color': '#f8f9fa',
'font-family': 'Arial, sans-serif',
},
'h1': {
'color': '#007BFF',
'font-size': '32px',
},
'p': {
'color': '#6c757d',
'font-size': '16px',
},
})
style.apply(built, "home")
app.register_route('/', built['home'])
app.serve()
For more detailed information on using Zenith, please refer to our documentation.
We welcome contributions of all kinds. Check out our contributing guide for more details on how you can help improve Zenith.
Zenith is released under the MIT License. See LICENSE for details.
Have questions or suggestions? Please open an issue on GitHub or send us a pull request.