Webloom: Python-first HTML/CSS DSL with optional Django integration
Project description
Webloom
Webloom is a Python-first library for building and rendering web pages. It lets you describe page structure and styles with Python classes and render readable HTML output.
Installation
Core package:
pip install webloom
Optional Django integration:
pip install webloom[django]
How to Work with Webloom
- Build page structure from class-based elements.
- Keep styles in reusable Python style objects.
- Compose full documents through the page layer.
- Render HTML on the fly for server-side responses.
- Use optional Django integration when you need class-based views and template hooks.
Recommended Workflow
- Separate content and styles into different Python modules.
- Keep pages modular (for example by route or domain section).
- Reuse style objects across pages to keep visual consistency.
- Treat rendering as a server concern (HTML generated at request time).
- Move framework-specific logic (Django) into integration modules.
Package Scope
webloom: public API surface.webloom_core: rendering and element system.webloom_django: optional integration for Django.
Documentation for Contributors
Architecture, internal design, quality checks, and release flow are in CONTRIBUTING.md.
License
MIT, see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file webloom-0.1.1-py3-none-any.whl.
File metadata
- Download URL: webloom-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fed91094e1125bde02c46b21e16a0a6da8c201502b0cea8b634d2de8351a47f
|
|
| MD5 |
ae25126e295dcc1c43f9268c0fa3fa78
|
|
| BLAKE2b-256 |
87b9e6d16365141be98762f04662332b6890f7290236cc5934da2d031b6ce1f4
|