Flaxon 0.3.0 and Teloce-Py 0.3.0 are available on PyPI. Release instructions are maintained on this site; source links identify the framework snapshot. Check version and upgrade guidance.

Framework source · Markdown

Pydantic API

Install the optional integration and run the modular application:

python -m pip install "flaxon[pydantic]" email-validator
flaxon run examples.pydantic_api.app:app --reload

The application factory mounts the users feature module at /api/users. The Pydantic model is kept beside that feature in modules/users.py, so adding another feature does not require putting all schemas and routes into app.py.

Send a validated request:

curl -X POST http://127.0.0.1:8000/api/users/ \
  -H "content-type: application/json" \
  -d '{"name":"Ava","email":"ava@example.com","age":28}'