Package yadis :: Module filters
[hide private]
[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
  mkCompoundFilter(parts)
Create a filter out of a list of filter-like things

Variables [hide private]
  filter_type_error = <exceptions.TypeError instance at 0xb78b072c>

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.

mkCompoundFilter(parts)

source code 

Create a filter out of a list of filter-like things

Used by mkFilter
Parameters:
  • parts - list of filter, endpoint, callable or list of any of these

Variables Details [hide private]

filter_type_error

Value:
<exceptions.TypeError instance at 0xb78b072c>