Add kaya-session package for server-side HTTP session management
This commit is contained in:
@@ -8,6 +8,7 @@ This repository is a monorepo for the Kaya framework. The code is split into ind
|
||||
|
||||
- **kaya-core** — core routing, HTTP/WS abstractions, and ASGI adapter (`packages/kaya-core/`)
|
||||
- **kaya-rsgi** — RSGI/Granian integration (`packages/kaya-rsgi/`)
|
||||
- **kaya-session** — server-side HTTP session management (`packages/kaya-session/`)
|
||||
|
||||
Additional `kaya-*` packages can be added as new directories under `packages/`.
|
||||
|
||||
@@ -22,7 +23,7 @@ pip install --index-url https://gitea.woggioni.net/api/packages/woggioni/pypi/si
|
||||
Install the packages in development mode:
|
||||
|
||||
```bash
|
||||
pip install -e packages/kaya-core -e packages/kaya-rsgi
|
||||
pip install -e packages/kaya-core -e packages/kaya-rsgi -e packages/kaya-session
|
||||
```
|
||||
|
||||
Run the example:
|
||||
@@ -36,6 +37,7 @@ python example/hello.py
|
||||
```bash
|
||||
python -m unittest discover -s packages/kaya-core/tests
|
||||
python -m unittest discover -s packages/kaya-rsgi/tests
|
||||
python -m unittest discover -s packages/kaya-session/tests
|
||||
```
|
||||
|
||||
## Static analysis
|
||||
@@ -43,6 +45,7 @@ python -m unittest discover -s packages/kaya-rsgi/tests
|
||||
```bash
|
||||
mypy -p kaya.core
|
||||
mypy -p kaya.rsgi
|
||||
mypy -p kaya.session
|
||||
```
|
||||
|
||||
## Building packages
|
||||
@@ -50,4 +53,5 @@ mypy -p kaya.rsgi
|
||||
```bash
|
||||
python -m build packages/kaya-core
|
||||
python -m build packages/kaya-rsgi
|
||||
python -m build packages/kaya-session
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user