Update README.md

Small spelling changes to make `datastar-py` consistent.
This commit is contained in:
Brandon Bennett 2025-04-14 21:14:01 -07:00 committed by GitHub
parent 3c5974c2e1
commit e2295afcdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
# Datastar-py # datastar-py
The `datastar_py` package provides backend helpers for the [Datastar](https://data-star.dev) JS library. The `datastar-py` package provides backend helpers for the [Datastar](https://data-star.dev) JS library.
Datastar requires all backend responses to use SSE. This allows the backend to Datastar requires all backend responses to use SSE. This allows the backend to
send any number of responses, from zero to inifinity. send any number of responses, from zero to inifinity.
`Datastar-py` helps with the formatting of these responses, while also `datastar-py` helps with the formatting of these responses, while also
providing helper functions for the different supported responses. providing helper functions for the different supported responses.
To use `datastar-py`, import the SSE generator in your app and then use To use `datastar-py`, import the SSE generator in your app and then use
@ -32,7 +32,7 @@ async def updates():
return response return response
``` ```
There are also a number of custom responses/helpers for various frameworks. Current ly the following frameworks are supported: There are also a number of custom responses/helpers for various frameworks. Currently the following frameworks are supported:
* [Sanic](https://sanic.dev/en/) * [Sanic](https://sanic.dev/en/)
* [Django](https://www.djangoproject.com/) * [Django](https://www.djangoproject.com/)