Update README.md (#841)

Small spelling changes to make `datastar-py` consistent.
This commit is contained in:
Brandon Bennett 2025-04-15 08:34:14 -07:00 committed by GitHub
parent d81ea1aef9
commit 83c120a3b1
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
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.
To use `datastar-py`, import the SSE generator in your app and then use
@ -32,7 +32,7 @@ async def updates():
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/)
* [Django](https://www.djangoproject.com/)