Hypermedia

Latest version: v2.0.1

Safety actively analyzes 623395 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.0.1

Fix

* Now return partial render if full is not available. Consider if we should raise an exception instead.
* Protocol Typing for the FastAPI Request did not work as expected. Fall back to Any for now.

2.0.0

Breaking

* rename base_models.py -> models.py
* Use single quotes for attribute values.

Feature

* Using single quotes for attributes lets us support `hx-vals`, since it expects a doubled quoted json string.


Fix

* Rename `hr`->`Hr`, add alias `HorizontalRule` and export both in `__init__.py`

1.0.0

Hypermedia is an opinionated way to work with HTML in python and FastAPI. Hypermedia is designed to work with htmx.

Features

* Composable Html generation with slots.
* Typed
* Works with FastAPI, and any other web framework.
* Works with HTMX

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.