Metadata-Version: 1.1
Name: django-couchbase
Version: 0.0.15
Summary: couchbase client for django memcache
Home-page: UNKNOWN
Author: MaxiL
Author-email: maxil@interserv.com.tw
License: UNKNOWN
Download-URL: https://github.com/maxi119/django_couchbase
Description: 2014/10/13
            Fix set with timeout < 0 and not exists
        
        2014/10/6
        	Couchbase client need ffi version for pypy
        	
        	Couchbase FFI
        		https://github.com/couchbaselabs/couchbase-python-cffi
        		
        	The Error Message when running with pypy
        		File "pypy_module_cpyext_api_2.c", line 47634, in PyPyObject_IsInstance
        		File "pypy_module_cpyext_pyobject.c", line 1144, in BaseCpyTypedescr_realize
        		File "pypy_objspace_std_objspace.c", line 5175, in allocate_instance__W_ObjectObject
        		File "pypy_objspace_std_typeobject.c", line 3939, in W_TypeObject_check_user_subclass
        
        		
        	Install
        		git clone https://github.com/couchbaselabs/couchbase-python-cffi.git
        		cd couchbase-python-cffi && pypy setup.py install
        		    	
        	Instead of
            	from couchbase import Couchbase		
            by 
            	from couchbase_ffi import Couchbase
        		
        
        2014/10/3
            add optios transcoder
        
            settings
                CACHES['default']['OPTIONS'] = {
                                                'bucket': 'bk2',
                                                'password': 'password',
                                                'operation_timeout': 20.5,
                                                'gevent_support': False,
                                                'format': 'PICKLE',
                                                'transcoder': myUtil.transcoder
                                                'admin:pwd': 'admin:password'
                                                }    
            Reference                                        
                http://docs.couchbase.com/sdk-api/couchbase-python-client-1.2.3/api/transcoder.html
        
            PICKLE is slow when parsing large object..
        2014/9/4
            add option format: JSON, PICKLE, UTF8, BYTES, AUTO, default is PICKLE
            clear with REST api... need admin:pwd in OPTIONS
            
            settings
                CACHES['default']['OPTIONS'] = {
                                                'bucket': 'bk2',
                                                'password': 'password',
                                                'operation_timeout': 20.5,
                                                'gevent_support': False,
                                                'format': 'PICKLE',
                                                'admin:pwd': 'admin:password'
                                                }    
        
        2014/8/12
            add test script
            handle timeout < 0
            fix add with timeout = 0
            
        2014/8/8
            add get_many()
            
        2014/8/7
            Add gevent_support flag
            
            settings
                
                USE_COUCHBASE = True
                if USE_COUCHBASE:
                    CACHES['default']['BACKEND']= 'django_couchbase.memcached.CouchbaseCache'
                    CACHES['default']['LOCATION'] = ['127.0.0.1:8091']
                    CACHES['default']['OPTIONS'] = {
                                                    'bucket': 'bk',
                                                    'password': 'password',
                                                    'operation_timeout': 20.5,
                                                    'gevent_support': False
                                                    }
        
            Couchbase Python Client Library 1.2.2 documentation
                http://pythonhosted.org/couchbase/api/couchbase.html
                Gevent_support is a experimental feature, it always make project crash..
        
        2014/8/6
            Update package requires.
        
        2013/12/12
            Try add clear(), but always permission error when execute
            another python script..
        
        2013/12/5
            add delete(), set_many(), delete_many(), incr(), decr()
        
        2013/12/2
            Couchbase client for django memcache
            basic behavior set() and get()
            
            settings
                
                USE_COUCHBASE = True
                if USE_COUCHBASE:
                    CACHES['default']['BACKEND']= 'django_couchbase.memcached.CouchbaseCache'
                    CACHES['default']['LOCATION'] = ['127.0.0.1:8091']
                    CACHES['default']['OPTIONS'] = {
                                                    'bucket': 'bk',
                                                    'password': 'password',
                                                    'operation_timeout': 20.5,
                                                    }
        
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Python Software Foundation License
Classifier: Programming Language :: Python
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries :: Python Modules
