Module Reference
Next:
Front Matter
Module Reference
James Gardner
http://www.pythonweb.org
docs at pythonweb.org
April 10, 2005
Front Matter
Contents
1. Web Modules
1.1
web
-- Web modules
1.2
web.auth
-- Easy to use authorisation, authentication and user management system
1.2.1 Background Information
1.2.2 Creating a basic auth environment
1.2.3 Authentication and Authorisation
1.2.4 Simple Example
1.2.5 Advanced Authorisation Options
1.2.6 Encryption
1.2.7 API 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 Using a Table Prepend
1.4.5 Cursor Options
1.4.6 Executing SQL
1.4.7 Retrieving Results
1.4.8 Transactions, Rollbacks and Committing Changes
1.4.9 Exporting and Importing SQL
1.4.10 Using the Interactive Prompt
1.4.11 Special Characters
1.4.12 SQL Reference
1.4.13 Cursor Abstraction Methods
1.4.14 Supported Databases
1.4.15 Example Code
1.4.16 API Reference
1.4.17 Developer's Guide
1.4.18 Tools Under Development
1.4.19 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.6.7 Debugging Code
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.9.2 Command Line Example
1.9.3 Webserver Example
1.10
web.mail
-- Simple function to send email using
email
1.10.1 Example
1.11
web.session
-- Persistent storage of sessions and automatic cookie handling
1.11.1 Background Information
1.11.2 Session Module Overview
1.11.3 Creating a basic session environment
1.11.4 Loading a Session
1.11.5 Multiple Applications and Stores
1.11.6 Using Stores
1.11.7 Managing Sessions
1.11.8 Custom Cookie Handling
1.11.9 Web Server Gateway Interface Middleware
1.11.10 Implementing a new Driver
1.11.11 Example
1.11.12 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.13.1 Creating Tables
1.13.2 Calendar Tools
1.14
web.wsgi
-- Web Server Gateway Interface tools
1.14.1 Introduction
1.14.2 Understanding Middleware
1.14.3 The PythonWeb Middleware Components
1.14.4 Writing Applications
1.14.5 Writing Your Own Middleware
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 April 10, 2005.