{ "info": { "author": "NC State Aerial Robotics Club", "author_email": "contact@aerialroboticsclub.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries" ], "description": "FuzzySortedDict\n===============\n\nFuzzySortedDict is a sorted dictionary with nearest-key lookups.\n\n>>> from FuzzySortedDict import FuzzySortedDict\n>>> d = FuzzySortedDict()\n>>> d[1] = 1\n>>> d[2] = 2\n>>> d[1.75]\n2\n\nFuzzySortedDict can be particularly useful for sparsely populated ranges,\nsuch as when working with time.\n\n>>> from FuzzySortedDict import FuzzySortedDict\n>>> import datetime\n>>> d = FuzzySortedDict()\n>>> d[datetime.datetime(2000, 1, 1, 12, 0, 0)] = 1\n>>> d[datetime.datetime(2000, 1, 1, 12, 0, 4)] = 2\n>>> d[datetime.datetime(2000, 1, 1, 12, 0, 1)]\n1\n\nInstallation\n------------\n\nFuzzySortedDict is easily installed with ``pip``.\n\n.. code::\n\n pip install FuzzySortedDict", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ncsuarc/FuzzySortedDict", "keywords": "dictionary", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "FuzzySortedDict", "package_url": "https://pypi.org/project/FuzzySortedDict/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/FuzzySortedDict/", "project_urls": { "Homepage": "https://github.com/ncsuarc/FuzzySortedDict" }, "release_url": "https://pypi.org/project/FuzzySortedDict/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "A sorted dictionary with nearest-key lookup", "version": "1.0.1" }, "last_serial": 1585801, "releases": { "1.0.0": [], "1.0.1": [ { "comment_text": "", "digests": { "md5": "283090c7e29a67c581e3f882c67e4e7a", "sha256": "d43544cbd3a3c58c559cbe4d3a068ef9b5b7a86a239cc9dd01a70c11e80233fa" }, "downloads": -1, "filename": "FuzzySortedDict-1.0.1.tar.gz", "has_sig": false, "md5_digest": "283090c7e29a67c581e3f882c67e4e7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2734, "upload_time": "2015-06-10T03:27:27", "url": "https://files.pythonhosted.org/packages/ba/b7/3cd6b9712169726ebbf51ba55cff1a451f16ba5bdd9021af875ad1e5075d/FuzzySortedDict-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "283090c7e29a67c581e3f882c67e4e7a", "sha256": "d43544cbd3a3c58c559cbe4d3a068ef9b5b7a86a239cc9dd01a70c11e80233fa" }, "downloads": -1, "filename": "FuzzySortedDict-1.0.1.tar.gz", "has_sig": false, "md5_digest": "283090c7e29a67c581e3f882c67e4e7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2734, "upload_time": "2015-06-10T03:27:27", "url": "https://files.pythonhosted.org/packages/ba/b7/3cd6b9712169726ebbf51ba55cff1a451f16ba5bdd9021af875ad1e5075d/FuzzySortedDict-1.0.1.tar.gz" } ] }