| Home | Trees | Indices | Help |
|---|
|
|
Utility functions for handling XRIs.
See Also: XRI Syntax v2.0 at the OASIS XRI Technical Committee
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| bool |
|
||
| unicode |
|
||
|
|||
|
|||
XRI_AUTHORITIES =
|
|||
UCSCHAR =
|
|||
IPRIVATE =
|
|||
_escapeme_re = re.compile(r'
|
|||
_xref_re = re.compile(r'\(
|
|||
__package__ =
|
|||
|
|||
Determine if this identifier is an XRI or URI.
|
Return the root authority for an XRI. Example:
rootAuthority("xri://@example") == "xri://@"
|
An XRI object allowing comparison of XRI. Ideally, this would do full normalization and provide comparsion operators as per XRI Syntax. Right now, it just does a bit of canonicalization by ensuring the xri scheme is present.
|
|
|||
UCSCHAR
|
IPRIVATE
|
_escapeme_re
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sat Dec 17 16:12:35 2011 | http://epydoc.sourceforge.net |