Component Adaptation + Open Protocols
= The PyProtocols Package
Previous:
Contents
Up:
Component Adaptation + Open
Next:
1.1 protocols
1. Reference
Subsections
1.1
protocols
-- Protocol Definition, Declaration, and Adaptation
1.1.1 Big Example 1 -- A Python Documentation Framework
1.1.2 Protocols and Interfaces
1.1.3
adapt()
and the Adaptation Protocol
1.1.3.1 Creating and Using Adapters, Components, and Protocols
1.1.3.2 Replacing Introspection with Adaptation
1.1.3.3 Differences Between
protocols.adapt()
and
PEP 246
1.1.3.4 Convenience Adaptation API (NEW in 0.9.3)
1.1.4 Defining and Subclassing Interfaces
1.1.5 Interfaces Used by the Declaration API
1.1.6 Declaring Implementations and Adapters
1.1.6.1 Convenience Declarations in Class, Interface and Module Bodies
1.1.6.2 Protocol Declarations for Individual Objects
1.1.7 Protocol Implication and Adapter Precedence
1.1.8 Dynamic Protocols (NEW in 0.9.1)
1.1.8.1 Defining a protocol based on a URI or UUID
1.1.8.2 Defining a protocol as a subset of an existing type
1.1.8.3 Defining a protocol for a sequence
1.1.8.4 Defining a protocol as a local variation of another protocol
1.1.9 Package Contents and Contained Modules
1.1.9.1 Classes and Functions typically used for Customization/Extension
1.1.9.2
protocols.interfaces
-- Package Interfaces
1.1.9.3
protocols.adapters
-- ``Adapter arithmetic'' support
1.1.9.4
protocols.zope_support
-- Support for Zope Interfaces
1.1.9.5
protocols.twisted_support
-- Support for Twisted Interfaces
1.1.9.6
protocols.advice
-- Metaclasses and other ``Magic''
1.1.10 Big Example 2 -- Extending the Framework for Context
1.1.11 Additional Examples and Usage Notes
1.1.11.1 Double Dispatch and the ``Visitor'' Pattern
1.1.11.2 Replacing introspection with Adaptation, Revisited
Component Adaptation + Open Protocols
= The PyProtocols Package
Previous:
Contents
Up:
Component Adaptation + Open
Next:
1.1 protocols
Release 1.0a0, documentation updated on October 10, 2004.