Module Expr Str ImportFrom alias Import alias Import alias Import alias ImportFrom alias Import alias Assign NameStore Str Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Str Assign NameStore Str Expr Str FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad If CompareEq NameLoad Str body Raise Call NameLoad Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Return If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Return If Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad Str body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad NameLoad If CompareEq NameLoad Str body Raise Call NameLoad Str orelse If CompareIn Str NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num If BoolOpAnd CompareEq NameLoad Str Call AttributeLoad NameLoad attr Str body Assign NameStore BinOpMod Str NameLoad orelse If BoolOpOr CompareEq NameLoad Str Call AttributeLoad NameLoad attr Str body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num If CompareEq NameLoad Str body Assign NameStore Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Import alias Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A Functionality related with node paths in a PyTables file.

Variables
=========

`__docformat`__
    The format of documentation strings in this module.

 __future__ absolute_import N/A re N/A warnings N/A keyword exceptions NaturalNameWarning N/A six N/A __docformat__ reStructuredText N/A The format of documentation strings in this module. N/A _python_id_re N/A N/A re compile ^[a-zA-Z_][a-zA-Z0-9_]*$ N/A Python identifier regular expression. N/A _reserved_id_re N/A N/A re compile ^_[cfgv]_ N/A PyTables reserved identifier regular expression.

- c: class variables
- f: class public methods
- g: class private methods
- v: instance variables
 N/A _hidden_name_re N/A N/A re compile ^_[pi]_ N/A Nodes with a name *matching* this expression are considered hidden.

For instance, ``name`` whould be visible while ``_i_name`` would not.
 N/A _hidden_path_re N/A N/A re compile /_[pi]_ N/A Nodes with a path *containing* this expression are considered hidden.

For instance, a node with a pathname like ``/a/b/c`` would be visible
while nodes with pathnames like ``/a/c/_i_x`` or ``/a/_p_x/y`` would
not.
 N/A _warnInfo you will not be able to use natural naming to access this object; using ``getattr()`` will still work, though N/A Warning printed when a name will not be reachable through natural naming check_attribute_name N/A N/A name N/A N/A N/A Check the validity of the `name` of an attribute in AttributeSet.    
    
    If the name is not valid, a ``ValueError`` is raised.  If it is
    valid but it can not be used with natural naming, a
    `NaturalNameWarning` is issued.
    
    >>> check_attribute_name('a')
    >>> check_attribute_name('a_b')
    >>> check_attribute_name('a:b')
    >>> check_attribute_name('/a/b')
    >>> check_attribute_name('/')
    >>> check_attribute_name('.')
    >>> check_attribute_name('__members__')
    Traceback (most recent call last):
     ...
    ValueError: ``__members__`` is not allowed as an object name
    >>> check_attribute_name(1)
    Traceback (most recent call last):
     ...
    TypeError: object name is not a string: 1
    >>> check_attribute_name('')
    Traceback (most recent call last):
     ...
    ValueError: the empty string is not allowed as an object name
     N/A N/A N/A isinstance name N/A six string_types N/A N/A N/A TypeError N/A object name is not a string: %r N/A name N/A N/A name N/A N/A N/A ValueError the empty string is not allowed as an object name N/A N/A N/A N/A _python_id_re match name N/A N/A N/A N/A warnings warn N/A object name is not a valid Python identifier: %r; it does not match the pattern ``%s``; %s N/A name N/A _python_id_re pattern _warnInfo NaturalNameWarning N/A N/A N/A N/A keyword iskeyword name N/A N/A N/A N/A warnings warn N/A object name is a Python keyword: %r; %s N/A name _warnInfo NaturalNameWarning N/A N/A N/A N/A _reserved_id_re match name N/A N/A N/A ValueError N/A object name starts with a reserved prefix: %r; it matches the pattern ``%s`` N/A name N/A _reserved_id_re pattern N/A N/A name __members__ N/A N/A N/A ValueError ``__members__`` is not allowed as an object name N/A check_name_validity N/A N/A name N/A N/A N/A Check the validity of the `name` of a Node object, which more limited
    than attribute names.

    If the name is not valid, a ``ValueError`` is raised.  If it is
    valid but it can not be used with natural naming, a
    `NaturalNameWarning` is issued.
    
    >>> check_name_validity('a')
    >>> check_name_validity('a_b')
    >>> check_name_validity('a:b')
    >>> check_name_validity('/a/b')
    Traceback (most recent call last):
     ...
    ValueError: the ``/`` character is not allowed in object names: '/a/b'
    >>> check_name_validity('.')
    Traceback (most recent call last):
     ...
    ValueError: ``.`` is not allowed as an object name
    >>> check_name_validity('')
    Traceback (most recent call last):
     ...
    ValueError: the empty string is not allowed as an object name

     N/A N/A check_attribute_name name N/A N/A name . N/A N/A N/A ValueError ``.`` is not allowed as an object name N/A N/A N/A / name N/A N/A N/A ValueError N/A the ``/`` character is not allowed in object names: %r name N/A join_path N/A N/A parentpath name N/A N/A N/A Join a *canonical* `parentpath` with a *non-empty* `name`.

    .. versionchanged:: 3.0
       The *parentPath* parameter has been renamed into *parentpath*.

    >>> join_path('/', 'foo')
    '/foo'
    >>> join_path('/foo', 'bar')
    '/foo/bar'
    >>> join_path('/foo', '/foo2/bar')
    '/foo/foo2/bar'
    >>> join_path('/foo', '/')
    '/foo'

     N/A N/A N/A name startswith ./ N/A N/A name N/A name N/A 2 N/A N/A N/A parentpath / N/A N/A name startswith / N/A N/A pstr N/A %s name N/A N/A N/A N/A parentpath / N/A N/A name startswith / N/A N/A pstr N/A %s%s N/A parentpath name N/A N/A pstr N/A %s/%s N/A parentpath name N/A N/A N/A pstr endswith / N/A N/A pstr N/A pstr N/A -1 N/A pstr N/A split_path N/A N/A path N/A N/A N/A Split a *canonical* `path` into a parent path and a node name.

    The result is returned as a tuple.  The parent path does not
    include a trailing slash.

    >>> split_path('/')
    ('/', '')
    >>> split_path('/foo/bar')
    ('/foo', 'bar')

     N/A lastslash N/A N/A path rfind / N/A ppath N/A path N/A lastslash N/A name N/A path N/A N/A lastslash 1 N/A N/A ppath N/A N/A ppath / N/A N/A ppath name N/A isvisiblename N/A N/A name N/A N/A N/A Does this `name` make the named node a visible one? N/A N/A N/A N/A _hidden_name_re match name None N/A isvisiblepath N/A N/A path N/A N/A N/A Does this `path` make the named node a visible one? N/A N/A N/A N/A _hidden_path_re search path None N/A _test N/A N/A N/A N/A N/A Run ``doctest`` on this module. N/A doctest N/A N/A N/A doctest testmod N/A N/A N/A __name__ __main__ N/A N/A N/A _test