{ "info": { "author": "Nik Kantar", "author_email": "nik@nkantar.com", "bugtrack_url": null, "classifiers": [], "description": "Keysort: Sorting Lists of Dictionaries\n========================================================\n\n**Keysort** is small utility for sorting lists of dictionaries by dictionary key.\n\n.. image:: https://travis-ci.org/nkantar/Keysort.svg?branch=master\n :target: https://travis-ci.org/nkantar/Keysort\n.. image:: https://ci.appveyor.com/api/projects/status/74nt0nnafahsntca/branch/master?svg=true\n :target: https://ci.appveyor.com/project/nkantar/Keysort\n.. image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg \n :target: https://saythanks.io/to/nkantar\n\n\nExamples\n--------\n\n.. code-block:: python\n\n >>> from keysort import keysort\n >>> my_list = [{'code': 'beta', 'number': 3},\n {'code': 'delta', 'number': 2},\n {'code': 'alpha', 'number': 0},\n {'code': 'beta', 'number': 2},\n {'code': 'charlie', 'number': 1}]\n >>> keysort(my_list, ['code', 'number'])\n [{'code': 'alpha', 'number': 0},\n {'code': 'beta', 'number': 2},\n {'code': 'beta', 'number': 3},\n {'code': 'charlie', 'number': 1},\n {'code': 'delta', 'number': 2}]\n >>> keysort(my_list, ['number', 'code'])\n [{'code': 'alpha', 'number': 0},\n {'code': 'charlie', 'number': 1},\n {'code': 'beta', 'number': 2},\n {'code': 'delta', 'number': 2},\n {'code': 'beta', 'number': 3}]\n\n\nInstall\n-------\n\n.. code-block:: shell\n\n pip install keysort\n\n\nContributing\n------------\n\nContributions of all sorts are welcome, be they bug reports, patches, or even just feedback. Creating a `new issue `_ or `pull request `_ is probably the best way to get started.\n\nPlease note that this project is released with a `Contributor Code of Conduct `_. By participating in this project you agree to abide by its terms.\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nkantar/Keysort", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "Keysort", "package_url": "https://pypi.org/project/Keysort/", "platform": "", "project_url": "https://pypi.org/project/Keysort/", "project_urls": { "Homepage": "https://github.com/nkantar/Keysort" }, "release_url": "https://pypi.org/project/Keysort/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "A small utility for sorting lists of dictionaries by dictionary key", "version": "0.1.3" }, "last_serial": 4827715, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "eb16cd2c16137dadb8f6d659a66a6294", "sha256": "a242744ba1b92123a2ec3e623b0f36c5b3712d2e220c4bf3920e91009d06cf07" }, "downloads": -1, "filename": "keysort-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "eb16cd2c16137dadb8f6d659a66a6294", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2386, "upload_time": "2018-02-01T07:02:16", "url": "https://files.pythonhosted.org/packages/b7/1a/a472ae18a9f8d23e5fc4a4c24a333fb44d4b105249d7f06dabbc9d8b4ee0/keysort-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b3bec853791849ffa1cc389db5ff91ff", "sha256": "6d57f5f33d583507e7a0cb523b99d48ff2502b6581bf6a51d8edb70e5bba7bb6" }, "downloads": -1, "filename": "keysort-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b3bec853791849ffa1cc389db5ff91ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1632, "upload_time": "2018-02-01T07:02:17", "url": "https://files.pythonhosted.org/packages/05/a5/fc1538ba5df3f48e55e53e264d1f4bd10fd2c40353ec303019a868d7ed29/keysort-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e59e304f087893224e94da3a27275a86", "sha256": "bc72ea807e93ac1d24afefca45d67943a3aa9556197e775c9ec64371fde81ade" }, "downloads": -1, "filename": "keysort-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "e59e304f087893224e94da3a27275a86", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2387, "upload_time": "2018-02-01T07:24:35", "url": "https://files.pythonhosted.org/packages/61/b4/43db975eb67e14c177cc8e8f2df054cd497a842ad23fb51ceceed7050374/keysort-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5d835847163238b559a65c084c311e74", "sha256": "3a5c8b5f267ac42c0bf1dbe5645aa7cb5c36836b8e449b50872b90228c70f648" }, "downloads": -1, "filename": "keysort-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5d835847163238b559a65c084c311e74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1637, "upload_time": "2018-02-01T07:24:36", "url": "https://files.pythonhosted.org/packages/f5/43/e1e2b7e197fa9199a7fda1e8b517168f501c28cef678d8c1819436aae6d4/keysort-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "07da778ed6af4c3dd570ea894b692f0d", "sha256": "64113da3fe0ed78f6f2fcbaac2b1420d939ee03826b6f8abeb29290c8195308e" }, "downloads": -1, "filename": "Keysort-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "07da778ed6af4c3dd570ea894b692f0d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3123, "upload_time": "2019-02-16T01:25:20", "url": "https://files.pythonhosted.org/packages/a9/45/e684b41977466d4649ea1f339863870738fef695316c273e9d77e51f9b73/Keysort-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b24c5cf6d2b0fce568b43d7d92397209", "sha256": "17a8134f79375d45e9be91db7e3d4572d261ce3503b126aba6a728df73104c5e" }, "downloads": -1, "filename": "Keysort-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b24c5cf6d2b0fce568b43d7d92397209", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1753, "upload_time": "2019-02-16T01:25:22", "url": "https://files.pythonhosted.org/packages/d6/8b/5d5d6b1f1effdadd9570d72127dd36774cd05f30f8a8493739893236d31c/Keysort-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "b4fc62ff5e0a555406cdb3255d9e73a1", "sha256": "474fd5b8dda1b4852b993445dcb86e082933b3c31bd2b45387d643ae7aa6428a" }, "downloads": -1, "filename": "Keysort-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "b4fc62ff5e0a555406cdb3255d9e73a1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3182, "upload_time": "2019-02-16T02:23:17", "url": "https://files.pythonhosted.org/packages/f5/49/4377432c16cb657ab123affa2ccf1bf41b80f194158576090bdd895e473c/Keysort-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b58a40c99cd10d4b8a984be035009dea", "sha256": "185c06aeea547dee20e99871855ade106a0e819f89d75eb4ac6a62eebda32000" }, "downloads": -1, "filename": "Keysort-0.1.3.tar.gz", "has_sig": false, "md5_digest": "b58a40c99cd10d4b8a984be035009dea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1825, "upload_time": "2019-02-16T02:23:20", "url": "https://files.pythonhosted.org/packages/17/4f/6a4e0d30cedc2524e141daa4802b6aa1a16553c0228f9ee44c29fdb6955a/Keysort-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b4fc62ff5e0a555406cdb3255d9e73a1", "sha256": "474fd5b8dda1b4852b993445dcb86e082933b3c31bd2b45387d643ae7aa6428a" }, "downloads": -1, "filename": "Keysort-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "b4fc62ff5e0a555406cdb3255d9e73a1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3182, "upload_time": "2019-02-16T02:23:17", "url": "https://files.pythonhosted.org/packages/f5/49/4377432c16cb657ab123affa2ccf1bf41b80f194158576090bdd895e473c/Keysort-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b58a40c99cd10d4b8a984be035009dea", "sha256": "185c06aeea547dee20e99871855ade106a0e819f89d75eb4ac6a62eebda32000" }, "downloads": -1, "filename": "Keysort-0.1.3.tar.gz", "has_sig": false, "md5_digest": "b58a40c99cd10d4b8a984be035009dea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1825, "upload_time": "2019-02-16T02:23:20", "url": "https://files.pythonhosted.org/packages/17/4f/6a4e0d30cedc2524e141daa4802b6aa1a16553c0228f9ee44c29fdb6955a/Keysort-0.1.3.tar.gz" } ] }