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

All Samples(812)  |  Call(338)  |  Derive(160)  |  Import(314)

src/p/y/pytivo-video-mgr2-HEAD/vidmgr/Meta.py   pytivo-video-mgr2(Download)
'''
 
from Node import Node, OTHER
from Config import ConfigError
from InfoView import metaTranslate
		groupTag = self.opts['group']
		if groupTag == None:
			self.root = Node(name, opts, path=self.hpath)
		else:
			self.root = Node(name, opts, path=self.hpath, title = "%s (grouped by %s)" % (name, metaTranslate(groupTag)))
				# Otherwise create a new node and link it in
				path=os.path.join(self.hpath, Legalize(grp))
				target = Node(grp, self.opts, path=path, title = "%s: %s" %(metaTranslate(groupTag), grp))
				self.pathMap[os.path.join(self.name, grp)] = path
				self.nodeMap[grp] = target
				# and link it in
				path=os.path.join(self.hpath, Legalize(keychar))
				target = Node(keychar + "... ", self.opts, path=path)
				self.pathMap[os.path.join(self.name, keychar)] = path
				self.nodeMap[keychar] = target

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Tests/MKBackRef.mkmodel/TestSamples.py   Webware-for-Python(Download)
def test(store):
    from Node import Node
 
    nodes = store.fetchObjectsOfClass(Node)
    for n in nodes:

src/p/y/pytivo-video-mgr2-HEAD/vidmgr/VideoCache.py   pytivo-video-mgr2(Download)
import ConfigParser
import cPickle as pickle
from Node import Node
from Config import ConfigError, artworkDir, SHARETYPE_VIDEO, SHARETYPE_DVD, TYPE_VIDDIR, TYPE_DVDDIR, TYPE_VIDSHARE, TYPE_DVDSHARE, TYPE_NODE
 
			raise ConfigError("Error - no shares are defined")
 
		root = Node(title, self.opts)
 
		if sharepage:
			shares = Node("Browse Shares", self.opts)

src/t/a/TAutils-HEAD/wrangler/TransitLine.py   TAutils(Download)
import copy
from .NetworkException import NetworkException
from .Node import Node
from .Logger import WranglerLogger
 
        """
        for i in range(len(newnodelist)):
            if isinstance(newnodelist[i],int): newnodelist[i] = Node(newnodelist[i])
        self.n = newnodelist
 
        *refNodeNum* and *newNodeNum* are ints.
        """
        newNode = Node(newNodeNum)
        if stop==True: newNode.setStop(True)
 
        if not self.hasLink(nodeA,nodeB):
            raise NetworkException( "Line %s Doesn't have that link - so can't split it" % (self.name))
        newNode = Node(newNodeNum)
        if stop==True: newNode.setStop(True)
 
        # make the new nodes
        for i in range(len(newsection)):
            if isinstance(newsection[i],int): newsection[i] = Node(newsection[i])
 
        if beginning:

src/p/y/pymc-2.3.2/pymc/Container.py   pymc(Download)
"""
 
from .Node import Node, ContainerBase, Variable, StochasticBase, DeterministicBase, PotentialBase, ContainerRegistry
from copy import copy
from numpy import ndarray, array, zeros, shape, arange, where, dtype, Inf

src/p/y/pymc-2.3.2/pymc/PyMCObjects.py   pymc(Download)
import numpy as np
from numpy import shape, size, ravel, zeros, ones, reshape, newaxis, broadcast, ndim, expand_dims
from .Node import Node, ZeroProbability, Variable, PotentialBase, StochasticBase, DeterministicBase
from . import Container
from .Container import DictContainer, ContainerBase, file_items, ArrayContainer

src/p/y/pymc-2.3.2/pymc/StepMethods.py   pymc(Download)
from .PyMCObjects import Stochastic, Potential, Deterministic
from .Container import Container
from .Node import ZeroProbability, Node, Variable, StochasticBase
from .decorators import prop
from . import distributions

src/p/y/pymc-2.3.2/pymc/InstantiationDecorators.py   pymc(Download)
from imp import load_dynamic
from .PyMCObjects import Stochastic, Deterministic, Potential
from .Node import ZeroProbability, ContainerBase, Node, StochasticMeta
from .Container import Container
import numpy as np

src/b/i/binwalk-HEAD/src/binwalk/pyqtgraph/flowchart/library/Operators.py   binwalk(Download)
# -*- coding: utf-8 -*-
from ..Node import Node
 
class UniOpNode(Node):
    """Generic node for performing any operation like Out = In.fn()"""
class BinOpNode(Node):
    """Generic node for performing any operation like A.fn(B)"""
    def __init__(self, name, fn):
        self.fn = fn
        Node.__init__(self, name, terminals={

src/a/c/acq4-0.9.2/acq4/pyqtgraph/flowchart/library/Operators.py   acq4(Download)
# -*- coding: utf-8 -*-
from ..Node import Node
 
class UniOpNode(Node):
    """Generic node for performing any operation like Out = In.fn()"""
class BinOpNode(Node):
    """Generic node for performing any operation like A.fn(B)"""
    def __init__(self, name, fn):
        self.fn = fn
        Node.__init__(self, name, terminals={

  1 | 2 | 3 | 4 | 5 | 6 | 7  Next