Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(169)  |  Call(2)  |  Derive(151)  |  Import(16)

src/t/h/thedom-HEAD/thedom/DOM.py   thedom(Download)
 
from . import DictUtils, Factory
from .Base import Node, Settings
from .MethodUtils import CallBack
from .MultiplePythonSupport import *
 
Factory = Factory.Factory("DOM")
 
class A(Node):
class Abr(Node):
    """
        Defines an abbreviation or an acronym
    """
    __slots__ = ()
class Address(Node):
    """
        Defines contact info for the author of a document or article
    """
    __slots__ = ()
class Area(Node):
    """
        Defines an area inside an image map
    """
    __slots__ = ()

src/t/h/thedom-HEAD/thedom/Social.py   thedom(Download)
 
from . import ClientSide, Factory, Layout
from .Base import Node, TextNode
from .Buttons import Link
from .Display import Image
 
Factory = Factory.Factory("Social")
 
 
class Social(Node):
class TwitterAPI(Node):
    __slots__ = ()
    def _create(self, name=None, id=None, parent=None, html="", *kargs, **kwargs):
        Node._create(self, name, id, parent, *kargs, **kwargs)
        self.addScript('window.twttr = (function (d,s,id) {'
class GooglePlusAPI(Node):
    __slots__ = ()
    def _create(self, name=None, id=None, parent=None, html="", *kargs, **kwargs):
        Node._create(self, name, id, parent, *kargs, **kwargs)
        self.addScript("window.___gcfg = {lang:'en-US','parsetags':'explicit'};"
class FacebookLogin(Node):
    """
        Adds a facebook login button to the page
    """    
    __slots__ = ('text', )

src/t/h/thedom-HEAD/thedom/JsonParser.py   thedom(Download)
'''
 
from .Base import Node, TextNode
from .Layout import Flow
from .MultiplePythonSupport import *
 
TYPE_MAP = {str:'string', unicode:'string', int:'integer'}
 
class __Tag__(Node):

src/t/h/thedom-HEAD/thedom/Parser.py   thedom(Download)
 
from . import Base
from .Base import Node, TextNode
from .MultiplePythonSupport import *
 
 
class NodeTree(Node):

src/t/h/thedom-HEAD/thedom/UITemplate.py   thedom(Download)
 
from . import shpaml
from .Base import Node
from .MultiplePythonSupport import *
from .StringUtils import interpretFromString
    class Rendered(Node):
        pass
 
    def __init__(self, create, accessor="", id="", name="", childElements=None, properties=()):
        self.create = create