Did I find the right examples for you? yes no

All Samples(19)  |  Call(4)  |  Derive(0)  |  Import(15)

src/c/o/Corpora-1.0/corpora/corpus.py   Corpora(Download)
    from bsddb3 import btopen, hashopen, rnopen
except ImportError:
    from bsddb import btopen, hashopen, rnopen
 
 
    def __init__(self, path):
        self.corpus_path = path
        self.chunks = {}
        self.idx = rnopen(os.path.join(self.corpus_path, Corpus.IDX_FILE))  #FIXME: issue #2 this should be implemented with bsddb3 Queue
        self.ridx = hashopen(os.path.join(self.corpus_path, Corpus.RIDX_FILE))

src/f/e/FeatureServer-1.12/FeatureServer/DataSource/BerkeleyDB.py   FeatureServer(Download)
    def __init__(self, name, writable = 0, lockfile = None, **args):
        DataSource.__init__(self, name, **args)
        self.db = bsddb.rnopen( args["file"], 'c')
        self.append = self.db.db.append
        self.writable = int(writable)

src/p/l/plexnet-HEAD/third_party/generic/pypy/lib-python/2.5.2/bsddb/test/test_compat.py   plexnet(Download)
except ImportError:
    # For Python 2.3
    from bsddb import db, hashopen, btopen, rnopen
 
 
            print "\nTesting: rnopen"
 
        f = rnopen(self.filename, 'c')
        for x in range(len(data)):
            f[x+1] = data[x]
        del f
 
        f = rnopen(self.filename, 'w')
        f[20] = 'twenty'
 

src/s/l/SlopPy-HEAD/Lib/bsddb/test/test_all.py   SlopPy(Download)
except ImportError:
    # For Python 2.3
    from bsddb import db, dbtables, dbutils, dbshelve, \
            hashopen, btopen, rnopen, dbobj
 

src/p/y/pytaint-HEAD/Python-2.7.5-pytaint/Lib/bsddb/test/test_all.py   pytaint(Download)
except ImportError:
    # For Python 2.3
    from bsddb import db, dbtables, dbutils, dbshelve, \
            hashopen, btopen, rnopen, dbobj
 

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/bsddb/test/test_all.py   main(Download)
except ImportError:
    # For Python 2.3
    from bsddb import db, dbtables, dbutils, dbshelve, \
            hashopen, btopen, rnopen, dbobj
 

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/CPython/27/Lib/bsddb/test/test_all.py   main(Download)
except ImportError:
    # For Python 2.3
    from bsddb import db, dbtables, dbutils, dbshelve, \
            hashopen, btopen, rnopen, dbobj
 

src/i/n/IncPy-HEAD/Lib/bsddb/test/test_all.py   IncPy(Download)
except ImportError:
    # For Python 2.3
    from bsddb import db, dbtables, dbutils, dbshelve, \
            hashopen, btopen, rnopen, dbobj
 

src/g/o/goagent-ios-HEAD/python/lib/python2.7/bsddb/test/test_all.py   goagent-ios(Download)
except ImportError:
    # For Python 2.3
    from bsddb import db, dbtables, dbutils, dbshelve, \
            hashopen, btopen, rnopen, dbobj
 

src/g/i/gitstack-HEAD/python/Lib/bsddb/test/test_all.py   gitstack(Download)
except ImportError:
    # For Python 2.3
    from bsddb import db, dbtables, dbutils, dbshelve, \
            hashopen, btopen, rnopen, dbobj
 

  1 | 2  Next