36 lines
558 B
Markdown
36 lines
558 B
Markdown
# kaya
|
|
|
|
A lightweight ASGI/RSGI web framework with method-aware routing, path matching, and recursive wildcard support.
|
|
|
|
## Build & run locally
|
|
|
|
Install dev dependencies:
|
|
|
|
```bash
|
|
pip install --index-url https://gitea.woggioni.net/api/packages/woggioni/pypi/simple --extra-index-url https://pypi.org/simple -r requirements-dev.txt
|
|
```
|
|
|
|
Build the package:
|
|
|
|
```bash
|
|
python -m build
|
|
```
|
|
|
|
Run the example:
|
|
|
|
```bash
|
|
python example/hello.py
|
|
```
|
|
|
|
## Tests
|
|
|
|
```bash
|
|
PYTHONPATH=src python -m unittest discover tests
|
|
```
|
|
|
|
## Static analysis
|
|
|
|
```bash
|
|
mypy src/kaya
|
|
```
|