ViewDOM: Component-Driven Development for Python
ViewDOM brings modern frontend templating patterns to Python:
- tagged to have language-centered templating (like JS tagged templates)
- htm to generate virtual DOM structures from a template run (like the
htmJS package) - ViewDOM for components which render a VDOM to a markup string, along with other modern machinery
- Optionally, Hopscotch for a component registry with dependency injection
Features
- Component-driven development.
- Intermediate VDOM.
- Pass in data either via props (simple) or DI (rich).
- Emphasis on modern Python dev practices: explicit, type hinting, static analysis, testing, docs, linting, editors.
Requirements
- Python 3.9+.
- viewdom
- tagged
- htm.py
- Markupsafe
Installation
You can install ViewDOM via pip from PyPI:
$ pip install viewdom
Quick Examples
Contributing
Contributions are very welcome. To learn more, see the contributor's guide.
License
Distributed under the terms of the MIT license, ViewDOM is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Credits
This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.
Metadata
Release files for viewdom 0.6.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| viewdom-0.6.5.tar.gz | 28.0 kB | Without provenance | Details for viewdom-0.6.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| viewdom-0.6.5-py3-none-any.whl | Python 3 | none | any | Details for viewdom-0.6.5-py3-none-any.whl |
Total release size: 33.4 kB
Release files / viewdom-0.6.5.tar.gz
| Download URL | viewdom-0.6.5.tar.gz |
|---|---|
| Size | 28.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f18f77770cc5130638e1eb2097dce27d40b5ad3e136a079c17e4364e41894b30
|
|
BLAKE2b-256 checksum How to use checksums |
c40edb4d45a086c1545ecf8e78a53953f51645dca477d38bfd9195371b69bfbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / viewdom-0.6.5-py3-none-any.whl
| Download URL | viewdom-0.6.5-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f59ddf9c639708a8ef5cc326f98982c4f6c408917a6f9cb7927c02d7a5fdc5f2
|
|
BLAKE2b-256 checksum How to use checksums |
0f6229c4f5f0d6164eebd07f901dc9d29842c99778435db0eadcd5f43bb84b7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for viewdom 0.6.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.