Metadata-Version: 1.0
Name: zope.dottedname
Version: 3.4.2
Summary: Resolver for Python dotted names.
Home-page: http://cheeseshop.python.org/pypi/zope.dottedname
Author: Zope Corporation and Contributors
Author-email: zope3-dev@zope.org
License: ZPL 2.1
Description: ======================
        Dotted Name Resolution
        ======================
        
        Overview
        --------
        
        The ``zope.dottedname.resolve`` module provides a function for resolving
        dotted names.  Dotted names are resolved by importing modules and by
        getting attributes from imported modules.  Names with leading dots are
        relative.
        
        
        Detailed Documentation----------------------
        
        Resolution of dotted names
        ==========================
        
        The ``zope.dottedname.resolve`` module provides a function for resolving
        dotted names.  Dotted names are resolved by importing modules and by
        getting attributes from imported modules.  Names with leading dots are
        relative.
        
        To illustrate, we'll use the dotted name resolver to access objects in
        the ``os`` module::
        
        >>> from zope.dottedname.resolve import resolve
        >>> resolve('os.path.split').__name__
        'split'
        
        Here, we used an absolute name.  We can also using a relative name::
        
        >>> resolve('.split').__name__
        Traceback (most recent call last):
        ...
        ValueError: relative name without base module
        
        But we need to provide the module the name is relative to::
        
        >>> resolve('.split', 'os.path').__name__
        'split'
        
        >>> resolve('..system', 'os.path').__name__
        'system'
        
        >>> resolve('...datetime', 'os.path').__name__
        'datetime'
        
        
        =======
        CHANGES
        =======
        
        3.4.1 (2007-10-02)
        ------------------
        
        - Updated package meta-data.
        
        
        3.4.0 (2007-07-19)
        ------------------
        
        - Initial Zope-independent release.
        
Keywords: resolve dotted name
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Framework :: Zope3
