taurus.core.taurusvalidator

This module contains the base taurus name validator classes

Classes

class TaurusAttributeNameValidator(*p, **k)[source]

Base class for Attribute name validators. The namePattern will be composed from URI segments as follows:

<scheme>:[<authority>/]<path>[?<query>][#<fragment>]

Derived classes must provide attributes defining a regexp string for each URI segment (they can be empty strings):

  • scheme

  • authority

  • path

  • query

  • fragment

Additionally, the namePattern resulting from composing the above segments must contain a named group called “attrname” (normally within the path segment).

(more info)

class TaurusAuthorityNameValidator(*p, **k)[source]

Base class for Authority name validators. The namePattern will be composed from URI segments as follows:

<scheme>:<authority>[/<path>][?<query>][#<fragment>]

Derived classes must provide attributes defining a regexp string for each URI segment (they can be empty strings):

  • scheme

  • authority

  • path

  • query

  • fragment

(more info)

class TaurusDeviceNameValidator(*p, **k)[source]

Base class for Device name validators. The namePattern will be composed from URI segments as follows:

<scheme>:[<authority>/]<path>[?<query>][#<fragment>]

Derived classes must provide attributes defining a regexp string for each URI segment (they can be empty strings):

  • scheme

  • authority

  • path

  • query

  • fragment

Additionally, the namePattern resulting from composing the above segments must contain a named group called “devname” (normally within the path segment).

(more info)