Did I find the right examples for you? yes no

All Samples(8)  |  Call(5)  |  Derive(0)  |  Import(3)
The main 'connection' object for PickleShare database 

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/IPython/core/interactiveshell.py   antisocial(Download)
from IPython.utils.ipstruct import Struct
from IPython.utils.path import get_home_dir, get_ipython_dir, get_py_filename, unquote_filename
from IPython.utils.pickleshare import PickleShareDB
from IPython.utils.process import system, getoutput
from IPython.utils.strdispatch import StrDispatch
        # it needs without keeping redundant references to objects, we have too
        # much legacy code that expects ip.db to exist.
        self.db = PickleShareDB(os.path.join(self.profile_dir.location, 'db'))
 
        self.init_history()

src/i/p/ipython-HEAD/IPython/utils/tests/test_pickleshare.py   ipython(Download)
from IPython.testing.decorators import skip
from IPython.utils.tempdir import TemporaryDirectory
from IPython.utils.pickleshare import PickleShareDB
 
 
    def test_picklesharedb(self):
        db = PickleShareDB(self.tempdir.name)
        db.clear()
        print("Should be empty:",db.items())
        db['hello'] = 15
    def test_stress(self):
        db = PickleShareDB('~/fsdbtest')
        import time,sys
        for i in range(1000):
            for j in range(1000):

src/i/p/ipython-2.0.0/IPython/utils/tests/test_pickleshare.py   ipython(Download)
from IPython.testing.decorators import skip
from IPython.utils.tempdir import TemporaryDirectory
from IPython.utils.pickleshare import PickleShareDB
 
 
    def test_picklesharedb(self):
        db = PickleShareDB(self.tempdir.name)
        db.clear()
        print("Should be empty:",db.items())
        db['hello'] = 15
    def test_stress(self):
        db = PickleShareDB('~/fsdbtest')
        import time,sys
        for i in range(1000):
            for j in range(1000):