Metadata-Version: 1.0
Name: sharc
Version: 0.1.0
Summary: Sharded Counters for Google Appengine (GAE).
Home-page: http://github.com/kaste/sharc
Author: herr kaste
Author-email: herr.kaste@gmail.com
License: Apache 2
Download-URL: http://github.com/kaste/sharc/tarball/master#egg=sharc-dev
Description: 
        Joe Gregorio originally `posted <https://developers.google.com/appengine/articles/sharding_counters#implv2_python>`_ about Sharded Counters for Google Appengine.
        
        This is like a downloadable gist::
        
            from sharc import Counter
        
            assert not Counter('A').exists()
        
            Counter('A', initial_value=5, shards=5)
            assert Counter('A').exists()
        
            Counter('A').increment()
            Counter('A').decrement()
            Counter('A') + 2
            Counter('A') - 2
        
            assert Counter('A') == 5
        
            Counter('A').shards = 10
        
            Counter('A').delete()   # .delete_async()
            assert not Counter('A').exists()
        
        
        
        
        - Added decrement
        - Increment and decrement variable deltas (default=1)
        - Set initial value of the counter (default=0)
        - Set initial value of the num of shards (default=20)
        - Added delete()
Keywords: google appengine gae sharded counter ndb
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries
