Package openid :: Package yadis :: Module filters
[frames] | no frames]

Module filters

source code

This module contains functions and classes used for extracting endpoint information out of a Yadis XRD file using the ElementTree XML parser.

Classes [hide private]
  BasicServiceEndpoint
Generic endpoint object that contains parsed service information, as well as a reference to the service element from which it was generated.
  IFilter
Interface for Yadis filter objects.
  TransformFilterMaker
Take a list of basic filters and makes a filter that transforms the basic filter into a top-level filter.
  CompoundFilter
Create a new filter that applies a set of filters to an endpoint and collects their results.

Functions [hide private]
  mkFilter(parts)
Convert a filter-convertable thing into a filter

Function Details [hide private]

mkFilter(parts)

source code 

Convert a filter-convertable thing into a filter
Parameters:
  • parts - a filter, an endpoint, a callable, or a list of any of these.