Compo - a new framework to create Single Page Applications in Python will be presented. This framework allows to reuse the same Pydantic model definitions both in the backend and in the Frontend of a SPA application, reducing code duplication. Frontend components can be rendered using flexible Jinja2 templating engine. Progressive Web Applications can be created using Compo to create mobile apps and mobile compatible SPA websites using purely Python programming language.
Basic undersanding of Python and web development.
A new attempt to use Python in the browser will be presented by introducting new Compo framework. Compo enables Single Page Application creation using purely Python programming language. In addition, Progressive Web Applications can be created using Compo to create mobile apps and mobile compatible SPA websites using purely Python programming language.
This Compo framework utilises Pydantic models to define JSON data model both in the Backend and in the Frontend of a SPA application, reducing code duplication; also, making mono-repo development and deployment way more convenient. Frontend components can be rendered using flexible Jinja2 templating engine, bringing the convenience and power to the developer.
This framework brings new perspective into how web development could be done in a simplified, more powerful and developer friendly way. Let's make Python ecosystem even more awesome!
Python enusiast and Tech Lead Python Engineer at Shift4.