Glass DocumentationΒΆ
Glass is a mini WSGI routing library for building web applications. It comes with bultin template engine. It is micro-framework because it comes with limited tools for web development. But it is extensible.
Glass comes with builtin development server.
What does it look like ?
from glass import GlassApp
app = GlassApp()
@app.route('/')
def index():
return 'Hello'
- Quickstart
- Glass Configuration
- Introduction
- Starting The Server
- Routing
- Response
- Response Object
- Redirect
- Sending Files
- Handling Errors
- App API
- Mounting The App
- Working With Cookies
- Session
- Message Flashing
- Working With Request Data
- Working With Files
- User Authentication
- Configuration
- Static Files
- Template
- Global Value
- Working with database
- Full example
- Template Engine
- Indices and tables
Changelog