Clastic¶
Clastic is a Pythonic microframework for building web applications featuring:
Fast, coherent routing system
Powerful middleware architecture
Built-in observability features via the
metaApplicationExtensible support for multiple templating systems
Installation¶
Clastic is pure Python, and tested on Python 3.7+, as well as PyPy3. Installation is easy:
pip install clastic
Then get to building your first application!
from clastic import Application, render_basic
app = Application(routes=[('/', lambda: 'hello world!', render_basic)])
app.serve()
# Visit localhost:5000 in your browser to see the result!
Getting Started¶
Check out our Tutorial for more.