Module Reference
Next:
Front Matter
Module Reference
James Gardner
http://www.pythonweb.org
docs at pythonweb.org
January 31, 2005
Front Matter
Contents
1. Web Modules
1.1
web
-- Web modules
1.2
web.auth
-- Easy to use authorisation and user management system
1.2.1 Background Information
1.2.2 Drivers
1.2.3 The Environment
1.2.4 Obtaining Access to the Auth Session Information
1.2.5 Administering The Auth Environment
1.2.6 Checking Who Is Signed In
1.2.7 Automatically Handling Sign In Attempts
1.2.8 Using Roles
1.2.9 Examples
1.2.10 Function Reference
1.3
datetime
-- Compatibility code providing date and time classes for Python 2.2 users
1.3.1 Module-Level Functionality
1.3.2 Compatibility with Python 2.3 and above
1.4
web.database
-- SQL database layer
1.4.1 Background
1.4.2 Introduction
1.4.3 Connecting to a Database
1.4.4 Cursor Options
1.4.5 Executing SQL
1.4.6 Retrieving Results
1.4.7 Transactions, Rollbacks and Committing Changes
1.4.8 Special Characters
1.4.9 SQL Reference
1.4.10 Cursor Abstraction Methods
1.4.11 Supported Databases
1.4.12 Example Code
1.4.13 API Reference
1.4.14 Developer's Guide
1.4.15 Tools Under Development
1.4.16 Future Additions
1.5
web.database.object
-- An object relation mapper built on the
web.database
and
web.form
modules
1.5.1 Introduction
1.5.2 Introductory Example
1.5.3 One-To-Many Mappings
1.5.4 Many-To-Many Mappings
1.5.5 Building Queries
1.5.6 Creating Forms/Tables
1.5.7 Creating Tables by Defining Classes
1.5.8 Other Useful Features
1.5.9 Class Reference
1.5.10 Future
1.6
web.error
-- Enhanced error handling based on the
cgitb
module
1.6.1 Basic Usage
1.6.2 Using The info() Function
1.6.3 Using The handler() Function
1.6.4 Using The error() Function
1.6.5 Creating Custom Handlers
1.6.6 Example
1.7
web.environment
-- Tools for seting up an environment
1.7.1 Example
1.7.2 API Reference
1.8
web.form
-- Construction of persistant forms/wizards for HTML interfaces
1.8.1 Introduction
1.8.2 Form Objects
1.8.3 Creating Custom Forms
1.8.4 Fields
1.8.5 Basic Fields Example
1.8.6 Typed Fields Example
1.9
web.image
-- Create and manipulate graphics including JPG, PNG, PDF, PS using
PIL
1.9.1
web.image.graph
-- Create graphs
1.10
web.mail
-- Simple function to send email using
email
1.10.1 Example
1.11
web.session
-- Persistent storage of session and automatic cookie handling
1.11.1 Background Information
1.11.2 Session Module Overview
1.11.3 Drivers
1.11.4 The Environment
1.11.5 Obtaining a Session
1.11.6 Multiple Applications and Stores
1.11.7 Using Stores
1.11.8 Using the session.start() function
1.11.9 Managing Sessions
1.11.10 Custom Cookie Handling
1.11.11 Web Server Gateway Interface Middleware
1.11.12 Implementing a new Driver
1.11.13 Example
1.11.14 API Reference
1.12
web.template
-- For the easy display of data as HTML/XML
1.12.1 Cheetah Template
1.12.2 XYAPTU Templating
1.12.3 Dreamweaver MX
1.13
web.util
-- Useful utility functions that don't fit elsewhere
1.14
web.xml
-- XSLT Transform
1.15
web.wsgi
-- Web Server Gateway Interface tools
1.15.1 Introduction
1.15.2 Writing Applications
1.15.3 Writing Middleware
1.15.4 The PythonWeb Middleware Components
A. Reporting Bugs
B. History and License
B.1 History of the software
Module Index
Index
About this document ...
Module Reference
Next:
Front Matter
Documentation released on January 31, 2005.