Metadata-Version: 1.1
Name: pyhashring
Version: 0.1.0
Summary: Hash ring wrapper for python.
Home-page: https://github.com/blackwithwhite666/pyhashring
Author: Lipin Dmitriy
Author-email: blackwithwhite666@gmail.com
License: BSD
Description: =========================================
        pyhashring - python wrapper for hash ring
        =========================================
        
        CI status: |cistatus|
        
        .. |cistatus| image:: https://secure.travis-ci.org/blackwithwhite666/pyhashring.png?branch=master
        
        This library is a thin python wrapper around hash ring implementation in https://github.com/chrismoos/hash-ring
        
        Installing
        ==========
        
        pyhashring can be installed via pypi:
        
        ::
        
            pip install pyhashring
        
        
        Building
        ========
        
        Get the source:
        
        ::
        
            git clone https://github.com/blackwithwhite666/pyhashring.git
        
        
        Compile extension:
        
        ::
        
             python setup.py build_ext --inplace
        
        
        
        Usage
        =====
        
        Get node by key:
        
        ::
        
            from pyhashring import HashRing
            h = HashRing()
            h.add(b'SlotA')
            h.add(b'SlotB')
            h.find('keyA')
            >>> 'SlotB'
            h.find('keyB')
            >>> 'SlotA'
        
        
        Running the test suite
        ======================
        
        Use Tox to run the test suite:
        
        ::
        
            tox
        
        
        Changelog
        =========
        
        0.1.0 (initial release)
        -----------------------
        
        - Prototype.
        
Keywords: thrift soa
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 2.7
