{ "info": { "author": "Andrew Nystrom", "author_email": "AWNystrom@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7" ], "description": "This code is a Python implementation of a doubly linked list. I needed it \r\nfor a very narrow scope, so the functionality might not have what you're \r\nlooking for. If you'd like a feature added, please email AWNystrom@gmail.com\r\n\r\nINSTALLATION\r\nTo instal, run the following command:\r\npython setup.py install\r\n\r\nTESTING\r\nTo run unit tests, run the following command:\r\npython doubly_linked_list/test_doubly_linked_list.py\r\n\r\nUSAGE\r\nHere's some example usage:\r\n\r\n>>> from doubly_linked_list import DoublyLinkedList\r\n>>> dll = DoublyLinkedList(range(10))\r\n>>> print dll\r\n[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]\r\n>>> dll.moveToHead(dll.tail)\r\n>>> print dll\r\n[9, 0, 1, 2, 3, 4, 5, 6, 7, 8]\r\n>>> dll.removeHead()\r\n>>> print dll\r\n[0, 1, 2, 3, 4, 5, 6, 7, 8]\r\n>>> from random import shuffle\r\n>>> shuffle(dll)\r\n>>> print dll\r\n[1, 4, 0, 2, 6, 3, 5, 7, 8]\r\n>>> dll.moveToHead(dll.getNodeByIndex(4))\r\n>>> print dll\r\n[6, 1, 4, 0, 2, 3, 5, 7, 8]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AWNystrom/doubly_linked_list", "keywords": "doubly,linked,list,doublylinkedlist", "license": "Apache 2", "maintainer": "", "maintainer_email": "", "name": "doubly_linked_list", "package_url": "https://pypi.org/project/doubly_linked_list/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/doubly_linked_list/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/AWNystrom/doubly_linked_list" }, "release_url": "https://pypi.org/project/doubly_linked_list/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Doubly linked list datastructure in Python", "version": "1.0.0" }, "last_serial": 1154042, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "4a725689ec0b9e37e0cf79a7e54b8b75", "sha256": "35f1f5adaad77c668f79ef6b2d87ac656d7b9409e93373bbf55e762af9ae2ad3" }, "downloads": -1, "filename": "doubly_linked_list-1.0.0.macosx-10.5-x86_64.exe", "has_sig": false, "md5_digest": "4a725689ec0b9e37e0cf79a7e54b8b75", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 65108, "upload_time": "2014-07-09T17:18:10", "url": "https://files.pythonhosted.org/packages/26/43/1d3b2093d8b2686446e622b0d5953003504bca05ec83eb0fe0d394e18813/doubly_linked_list-1.0.0.macosx-10.5-x86_64.exe" }, { "comment_text": "", "digests": { "md5": "df9639cefdc787fd3d989e7f45fa266f", "sha256": "5c27dd9005268318bea7c76e1a3876e8f5e156253dee26d8a154f72dcec880f3" }, "downloads": -1, "filename": "doubly_linked_list-1.0.0.tar.gz", "has_sig": false, "md5_digest": "df9639cefdc787fd3d989e7f45fa266f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3088, "upload_time": "2014-07-09T17:18:08", "url": "https://files.pythonhosted.org/packages/9a/c2/b51513908bbc02ed2cbe4aa3a7f5285293c6a87507a93532f411c3656d21/doubly_linked_list-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4a725689ec0b9e37e0cf79a7e54b8b75", "sha256": "35f1f5adaad77c668f79ef6b2d87ac656d7b9409e93373bbf55e762af9ae2ad3" }, "downloads": -1, "filename": "doubly_linked_list-1.0.0.macosx-10.5-x86_64.exe", "has_sig": false, "md5_digest": "4a725689ec0b9e37e0cf79a7e54b8b75", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 65108, "upload_time": "2014-07-09T17:18:10", "url": "https://files.pythonhosted.org/packages/26/43/1d3b2093d8b2686446e622b0d5953003504bca05ec83eb0fe0d394e18813/doubly_linked_list-1.0.0.macosx-10.5-x86_64.exe" }, { "comment_text": "", "digests": { "md5": "df9639cefdc787fd3d989e7f45fa266f", "sha256": "5c27dd9005268318bea7c76e1a3876e8f5e156253dee26d8a154f72dcec880f3" }, "downloads": -1, "filename": "doubly_linked_list-1.0.0.tar.gz", "has_sig": false, "md5_digest": "df9639cefdc787fd3d989e7f45fa266f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3088, "upload_time": "2014-07-09T17:18:08", "url": "https://files.pythonhosted.org/packages/9a/c2/b51513908bbc02ed2cbe4aa3a7f5285293c6a87507a93532f411c3656d21/doubly_linked_list-1.0.0.tar.gz" } ] }