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

All Samples(94)  |  Call(48)  |  Derive(0)  |  Import(46)

src/s/p/spambayes-1.1b1/pspam/pspam/folder.py   spambayes(Download)
import ZODB
from Persistence import Persistent
from BTrees.OOBTree import OOBTree, OOSet, difference
import email
        mbox = mailbox.UnixMailbox(open(self.path, "rb"), factory)
        cur = OOSet()
        new = OOSet()
        while 1:
        # XXX perhaps just return the OOBTree for removed?
        return new, OOSet(removed.values())
if __name__ == "__main__":

src/p/r/Products.ZCatalog-3.0.2/src/Products/PluginIndexes/KeywordIndex/KeywordIndex.py   Products.ZCatalog(Download)
from BTrees.OOBTree import difference
from BTrees.OOBTree import OOSet
from App.special_dtml import DTMLFile
            # to figure out if any of the keywords have actually changed
            if type(oldKeywords) is not OOSet:
                oldKeywords = OOSet(oldKeywords)
            newKeywords = OOSet(newKeywords)
            fdiff = difference(oldKeywords, newKeywords)

src/p/r/Products.ZCatalog-3.0.2/src/Products/PluginIndexes/common/ResultList.py   Products.ZCatalog(Download)
from BTrees.IIBTree import weightedIntersection
from BTrees.IIBTree import weightedUnion
from BTrees.OOBTree import OOSet
from BTrees.OOBTree import union
    def __init__(self, d, words, index):
        self._index = index
        if type(words) is not OOSet:
            words = OOSet(words)

src/t/i/TikiDB-0.1.4/tikidb/TikiDB.py   TikiDB(Download)
from persistent.mapping import PersistentMapping
from persistent.list import PersistentList
from persistent  import Persistent
from BTrees.IOBTree import IOBTree,IOTreeSet,IOSet
from BTrees.OOBTree import OOBTree,OOTreeSet,OOSet
        self.connection = self.db.open()
        self.root = self.connection.root()
        self.list_types = OOSet((PersistentList,IOTreeSet,IOSet,OOTreeSet,OOSet,list))
        self.dict_types = OOSet((PersistentMapping,IOBTree,OOBTree,dict))
        self.valid_data_types = OOSet(('text','numeric','list','dict',
    pl = PersistentList()
    oobtreeset = OOTreeSet()
    ooset = OOSet()
    iobtreeset = IOTreeSet()
    ioset = IOSet()

src/i/n/indico-HEAD/indico/MaKaC/common/indexes.py   indico(Download)
from persistent import Persistent
from BTrees.IOBTree import IOBTree
from BTrees.OOBTree import OOBTree, OOSet
from whoosh.filedb.filestore import FileStorage
from whoosh.fields import Schema, ID, TEXT, DATETIME
                self._idxDay[key] = OOSet([conf])

src/d/e/dewey-0.3.0/src/dewey/indices.py   dewey(Download)
from BTrees.IOBTree import IOBTree
from BTrees.OIBTree import OIBTree
from BTrees.OOBTree import OOBTree, OOSet
        # substrings of the string.
        substrings = OOSet()
        for i in range(len(value)):
            if rid not in self.rids:
                self.rids[rid] = OOSet([token_])

src/b/t/BTrees-4.0.8/BTrees/check.py   BTrees(Download)
from BTrees.OLBTree import OLBTree, OLBucket, OLSet, OLTreeSet
from BTrees.OLBTree import OLBTreePy, OLBucketPy, OLSetPy, OLTreeSetPy
from BTrees.OOBTree import OOBTree, OOBucket, OOSet, OOTreeSet
from BTrees.OOBTree import OOBTreePy, OOBucketPy, OOSetPy, OOTreeSetPy

src/v/o/voteit.core-HEAD/voteit/core/models/unread.py   voteit.core(Download)
from zope.interface import implements
from BTrees.OOBTree import OOSet
from zope.component.event import objectEventNotify
from zope.component import adapts
    def unread_storage(self):
            return self.context.__unread_storage__
        except AttributeError: #This is basically init
            self.context.__unread_storage__ = OOSet( find_authorized_userids(self.context, (VIEW, )) )

src/i/n/indico-HEAD/indico/core/index/base.py   indico(Download)
from BTrees.IOBTree import IOBTree, IOTreeSet
from BTrees.OOBTree import OOBTree, OOTreeSet, OOSet, union
from persistent import Persistent

src/d/m/dm.incrementalsearch-2.0/dm/incrementalsearch/__init__.py   dm.incrementalsearch(Download)
from inspect import getmro
from BTrees.OOBTree import OOBTree, OOBucket, OOSet, OOTreeSet
from BTrees.IOBTree import IOBTree, IOBucket, IOSet, IOTreeSet
from BTrees.OIBTree import OIBTree, OIBucket, OISet, OITreeSet
  type(IITreeSet()) : (30, 250, INT,),
  type(LLTreeSet()) : (30, 250, LONG,),
  type(OOSet()) : (0, 0, OBJECT,),
  type(IISet()) : (0, 0, INT,),
  type(LLSet()) : (0, 0, LONG,),

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