{ "info": { "author": "Max Hutchinson", "author_email": "maxhutch@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Slict\n=====\n|Build Status| |Version Status| |Downloads|\n\nDictionary that supports slices.\n\nSlict implements Mapping and accepts the `[start]:[stop]` index to slice tuple-keys along one or more of their dimensions.\n\nSlict can wrap any other Python Mapping and is lightweight (O(1) in space). Try it with a chest_, for example.\n\nExample\n-------\n\n.. code:: python\n\n >>> from slict import Slict\n \n >>> weather = Slict({(\"12pm\", \"Temperature\"): 15., (\"12pm\", \"Wind Speed\"): 12.5,\n ... (\"1pm\", \"Temperature\"): 15.5, (\"1pm\", \"Wind Speed\"): 9.2})\n \n >>> temps = weather[:,\"Temperature\"]\n >>> for k in temps:\n ... print(\"The temperature at {:4s} is {:f}\".format(k, temps[k]))\n The temperature at 12pm is 15.000000\n The temperature at 1pm is 15.500000\n \n >>> noon_weather = weather[\"12pm\",:]\n >>> for k in noon_weather:\n ... print(\"The {:s} is {:f}\".format(k, noon_weather[k]))\n The Temperature is 15.000000\n The Wind Speed is 12.500000\n\nInstall\n-------\n\n``slict`` is on the Python Package Index (PyPI):\n\n::\n\n pip install slict\n\n.. |Build Status| image:: https://travis-ci.org/maxhutch/slict.png\n :target: https://travis-ci.org/maxhutch/slict\n.. |Version Status| image:: https://pypip.in/v/slict/badge.png\n :target: https://pypi.python.org/pypi/slict/\n.. |Downloads| image:: https://pypip.in/d/slict/badge.png\n :target: https://pypi.python.org/pypi/slict/\n.. _chest : https://github.com/ContinuumIO/chest\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/maxhutch/slict/", "keywords": "dictionary slice", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "slict", "package_url": "https://pypi.org/project/slict/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/slict/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/maxhutch/slict/" }, "release_url": "https://pypi.org/project/slict/0.2.5/", "requires_dist": null, "requires_python": null, "summary": "Sliceable dictionary", "version": "0.2.5" }, "last_serial": 1459183, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "8cf56464e5c768e7e04d110873650f65", "sha256": "368536ffe9da5c69eb3566d1c8cdf72c7a95c5a2cc8120ce4f398410b454e740" }, "downloads": -1, "filename": "slict-0.0.0.tar.gz", "has_sig": false, "md5_digest": "8cf56464e5c768e7e04d110873650f65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1523, "upload_time": "2015-02-22T23:48:07", "url": "https://files.pythonhosted.org/packages/49/98/71b7598d31cc84444cc3e4805898f839d70d8de415e503ace29722c1f432/slict-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "cc5b224ecc1c2fe20bacf52ac848b6f2", "sha256": "2998c2e7fbab507e1461703335aee5e62924ede07315f3b599efcd5d68d3f95f" }, "downloads": -1, "filename": "slict-0.0.1.tar.gz", "has_sig": false, "md5_digest": "cc5b224ecc1c2fe20bacf52ac848b6f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2168, "upload_time": "2015-02-23T02:41:47", "url": "https://files.pythonhosted.org/packages/d9/33/6963f62e70369f49833e7f9fea73df4f400429a56daa2024796422f7c2a6/slict-0.0.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "21ebef2c8c29bd6eb1203a6a6b8eb7f1", "sha256": "b672b4993eefe4dd57a1cf366e2fe8d9a4781b6643a91518c0b41fdcb9b2f15c" }, "downloads": -1, "filename": "slict-0.2.0.tar.gz", "has_sig": false, "md5_digest": "21ebef2c8c29bd6eb1203a6a6b8eb7f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2744, "upload_time": "2015-02-24T02:51:53", "url": "https://files.pythonhosted.org/packages/0b/0e/81b6e4518a68e2340f7f236a189814d17f9f4e1a21b12cda277b725f1fbb/slict-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "9a5e2fd9be74dab686408172244970f9", "sha256": "f6791f06dd87678ac681f7c8f3ca5d76ad76758a6545a6241013729ae4e68705" }, "downloads": -1, "filename": "slict-0.2.1.tar.gz", "has_sig": false, "md5_digest": "9a5e2fd9be74dab686408172244970f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2742, "upload_time": "2015-02-24T03:00:31", "url": "https://files.pythonhosted.org/packages/25/2e/dc775dfb973aaedbb668a17b379fc95045b996d7de722d35afdbaa46e9e6/slict-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "50b31cc1054ee9be95475b50dba87506", "sha256": "7f75e0190e908aa396991ad0a79d3720e78e4c2bb33e9ae0cd583569a86fb027" }, "downloads": -1, "filename": "slict-0.2.2.tar.gz", "has_sig": false, "md5_digest": "50b31cc1054ee9be95475b50dba87506", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2753, "upload_time": "2015-02-24T03:11:28", "url": "https://files.pythonhosted.org/packages/25/76/6119e3cc428d06ef36f0f85a876ebe1dad564b550509933db46ca1d4d55e/slict-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "9cb0321b003ef50e5576d325c2102320", "sha256": "9965960b28159fed8093925a85d294d865fc1de82fea7767d6a0f3fc40c5cea3" }, "downloads": -1, "filename": "slict-0.2.3.tar.gz", "has_sig": false, "md5_digest": "9cb0321b003ef50e5576d325c2102320", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2757, "upload_time": "2015-02-25T19:36:01", "url": "https://files.pythonhosted.org/packages/ce/ef/7cd1ec53cf32bd266a22405a6e2d6a6c954b78105a331a7d816c897d5f3b/slict-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "77f6ff01ecbb50d4aed4ea8508b68aa9", "sha256": "245c5124bd521e8d6b042b7d2706eeb653c1981c6647535095149e05f031917b" }, "downloads": -1, "filename": "slict-0.2.4.tar.gz", "has_sig": false, "md5_digest": "77f6ff01ecbb50d4aed4ea8508b68aa9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2960, "upload_time": "2015-02-26T20:24:01", "url": "https://files.pythonhosted.org/packages/42/cb/7fd44ed6a914ad687e01c186f1e861c533b1cd093b4bf384984f14355696/slict-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "d59d9e1af343eb44e8eb164488931bb2", "sha256": "d9394a19bc8de36fbefd23f24fdd7358dd183101be92fb8de45f2bb46e5b4ac1" }, "downloads": -1, "filename": "slict-0.2.5.tar.gz", "has_sig": false, "md5_digest": "d59d9e1af343eb44e8eb164488931bb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2973, "upload_time": "2015-03-12T19:18:14", "url": "https://files.pythonhosted.org/packages/30/7f/9af907f2caf7af1c3b5cf17932c90a9bf4b7bc1c508ae9313eb4cf18b0fa/slict-0.2.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d59d9e1af343eb44e8eb164488931bb2", "sha256": "d9394a19bc8de36fbefd23f24fdd7358dd183101be92fb8de45f2bb46e5b4ac1" }, "downloads": -1, "filename": "slict-0.2.5.tar.gz", "has_sig": false, "md5_digest": "d59d9e1af343eb44e8eb164488931bb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2973, "upload_time": "2015-03-12T19:18:14", "url": "https://files.pythonhosted.org/packages/30/7f/9af907f2caf7af1c3b5cf17932c90a9bf4b7bc1c508ae9313eb4cf18b0fa/slict-0.2.5.tar.gz" } ] }