An open-source Python framework that turns one DocType into an API, schema, permissions and UI.
Architected and built the framework: the hexagonal core, DocType-driven generation and the pluggable adapters.
- test coverage, backend and frontend combined
- 98.51%
- type hints
- 100%
- architecture decision records, all implemented
- 19
- Python
- 3.12+
One definition, everything
Rename the DocType, add or change a field, and watch all four outputs follow. An illustration of the idea, not Framework M's exact output.
API
5 routes- GET/api/task
- POST/api/task
- GET/api/task/{id}
- PUT/api/task/{id}
- DELETE/api/task/{id}
Schema
1 tablecreate table task ( id uuid primary key, title varchar, due_date date, done boolean );
Permissions
3 roles| Role | Read | Create | Write | Delete |
|---|---|---|---|---|
| Guest | Yes | No | No | No |
| User | Yes | Yes | Yes | No |
| Admin | Yes | Yes | Yes | Yes |
Form
3 inputsBuilt with
- Python 3.12+
- Litestar
- SQLAlchemy 2.0
- Pydantic v2
- PostgreSQL
- React
- TypeScript
- Refine




