Metadata-Version: 1.1
Name: FuzzySortedDict
Version: 1.0.1
Summary: A sorted dictionary with nearest-key lookup
Home-page: https://github.com/ncsuarc/FuzzySortedDict
Author: NC State Aerial Robotics Club
Author-email: contact@aerialroboticsclub.com
License: BSD
Description: FuzzySortedDict
        ===============
        
        FuzzySortedDict is a sorted dictionary with nearest-key lookups.
        
        >>> from FuzzySortedDict import FuzzySortedDict
        >>> d = FuzzySortedDict()
        >>> d[1] = 1
        >>> d[2] = 2
        >>> d[1.75]
        2
        
        FuzzySortedDict can be particularly useful for sparsely populated ranges,
        such as when working with time.
        
        >>> from FuzzySortedDict import FuzzySortedDict
        >>> import datetime
        >>> d = FuzzySortedDict()
        >>> d[datetime.datetime(2000, 1, 1, 12, 0, 0)] = 1
        >>> d[datetime.datetime(2000, 1, 1, 12, 0, 4)] = 2
        >>> d[datetime.datetime(2000, 1, 1, 12, 0, 1)]
        1
        
        Installation
        ------------
        
        FuzzySortedDict is easily installed with ``pip``.
        
        .. code::
        
            pip install FuzzySortedDict
        
Keywords: dictionary
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
