Skip to content

daineX/PyTTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


PyTTP - a small and dirty WSGI-compliant server written entirely in Python


File Structure
==============
pyttp/core.py: HTTP Requests and Responses
pyttp/network.py: Simple socket listener; including SSL support
pyttp/wsgi.py: WSGI-wrapper for network.py
pyttp/database.py: ORM - might be slow as hell;
             used as a means to teach me some meta-programming
pyttp/html.py: write HTML directly in Python; who needs templates anyways?
pyttp/logger.py: names says it all
pyttp/helpers.py: some helpers for parsing and uploading
pyttp/plugin.py: base class for a plugin mechanism
pyttp/timeout.py: helper for dealing with potential deadlocks
pyttp/config.py: ugly brother to ConfigParser - not really used
pyttp/controller.py: Django-esque View/Controller thing
pyttp/template.py: Template engine which uses a HAML-like syntax
pyttp/template_node.py: base template node classing used in parsing
pyttp/template_execution_node.py: special template nodes
pyttp/apps.py: useful WSGI apps
pyttp/forms.py: form handling
pyttp/validators.py: validators for said forms


examples/: some example WSGI-apps; will only run if pyttp module is in path

About

Small and dirty WSGI-compliant server written entirely in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages