Simple and Extensible Python Web Application Framework
Project description
Hello world is here:
from rita.controller import BaseController from rita.misc.facade import Facade class MyController(BaseController): def process(self): self.output("Hello from rita!") urls = [("/",MyController)] application = Facade().buildApplication(urls) if __name__ == "__main__": from wsgiref.simple_server import make_server httpd = make_server('', 80, application) httpd.serve_forever()
more samples -> https://bitbucket.org/urushio/rita_samples/src
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rita-0.0.1.tar.gz
(10.7 kB
view details)
File details
Details for the file rita-0.0.1.tar.gz
.
File metadata
- Download URL: rita-0.0.1.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82f14026ac4614496f9439dd5f8ce27e30c97b0b5c2f9df5e43293f0f410709e |
|
MD5 | e765ecfe250d674ae6e6605cb66a6fb5 |
|
BLAKE2b-256 | 04b5a7658411bf9c0b68e09ab74b4f05ed014144f9a6717e871026586b8121d4 |