Metadata-Version: 2.1
Name: ZenithLib
Version: 1.0.1
Summary: Zenith is a powerful Python framework that revolutionizes web development by enabling declarative and efficient UI components for building interactive and scalable websites.
Project-URL: Homepage, https://github.com/Ryan-Rudd/Zenith
Project-URL: Bug Tracker, https://github.com/Ryan-Rudd/Zenith/issues
Author-email: Ryan Rudd <rsrudd@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown


<p align="center">
<img src="./docs/images/Upscaled-Zenith.png" style="align: center; width: 150px; text-align: center; display: flex;">
</p><br>

# Zenith
![Python Version](https://img.shields.io/badge/Python-3.8-brightgreen.svg)
![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)
![PyPI Version](https://img.shields.io/pypi/v/ZenithLib)
![Downloads](https://img.shields.io/pypi/dm/ZenithLib)
![GitHub Issues](https://img.shields.io/github/issues/Ryan-Rudd/Zenith)
![GitHub Pull Requests](https://img.shields.io/github/issues-pr/Ryan-Rudd/Zenith)

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.

## Features

- **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.

## Getting Started

### Installation

To install Zenith, simply run:

```shell
pip install ZenithLib
```

# Basic Usage 

Here's a basic example of how to use Zenith to create a webpage:

```python
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()

```

# Documentation

For more detailed information on using Zenith, please refer to our [documentation](/docs).

# Contributing 
We welcome contributions of all kinds. Check out our [contributing guide](./CONTRIBUTING.md) for more details on how you can help improve Zenith.

# License 

Zenith is released under the MIT License. See [LICENSE](./LICENSE) for details.

# Connect With Us
Have questions or suggestions? Please [open an issue on GitHub](https://github.com/Ryan-Rudd/Zenith/issues) or [send us a pull request](https://github.com/Ryan-Rudd/Zenith/pulls).