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:
pip install ZenithLib
Basic Usage
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()
Documentation
For more detailed information on using Zenith, please refer to our documentation.
Contributing
We welcome contributions of all kinds. Check out our contributing guide for more details on how you can help improve Zenith.
License
Zenith is released under the MIT License. See LICENSE for details.
Connect With Us
Have questions or suggestions? Please open an issue on GitHub or send us a pull request.
Metadata
Release files for ZenithLib 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zenithlib-1.0.1.tar.gz | 436.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zenithlib-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 451.1 kB
Release files / zenithlib-1.0.1.tar.gz
| Download URL | zenithlib-1.0.1.tar.gz |
|---|---|
| Size | 436.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03ed2c7a6c5d29e0fa654c49213d62b0d582067d7a6b646f717661d05094cddd
|
|
BLAKE2b-256 checksum How to use checksums |
341596be57dd6b187510870362ea465cf77f4436501509766f254e0ab6382274
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / zenithlib-1.0.1-py3-none-any.whl
| Download URL | zenithlib-1.0.1-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78a6dc9c7fb9cf4eb718276ce2551a29ac7e6e6101c214885aa6b942b2b5c9a1
|
|
BLAKE2b-256 checksum How to use checksums |
70c740f4225bbf6c9612de1a79bf0a5d82f6f19a3071c82c6f71266dcc45d32f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|