{ "info": { "author": "Vishal", "author_email": "vishal.sharma9597@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "# py-data-structures\n\nPython implementation of abstract data structures\n\n## Install\n```\npip install py-data-structures\n```\n\n### Data Structures Covered:\n* [Stack](#stack)\n* [Queue](#queue)\n\n\n## Stack\n\n\n#### Usage\n```\nfrom data_structures import Stack\n\nstack = Stack()\nstack.push(item) # push an item in stack\nstack.pop() # returns and removes the top item from the stack\nstack.length # contains the length of the stack\nstack.top # contains the top item of the stack\n\nstack.iterate() # override to iterate or perform action on the stack elements\n```\n#### Exceptions\n```\nfrom data_structures import exceptions\n\n# raised on pop() or top when stack is empty\nexceptions.EmptyStackException \n```\n\n## Queue\n\n\n#### Usage\n```\nfrom data_structures import Queue\n\nqueue = Queue()\nqueue.enqueue(item) # add an item at the end of queue\nqueue.dequeue() # returns and removes the first item from the queue\nqueue.length # contains the length of the queue\nqueue.first_item # contains the first item in the queue\nqueue.last_item # contains the last item in the queue\n\nqueue.iterate() # override to iterate or perform action on the queue elements\n```\n#### Exceptions\n```\nfrom data_structures import exceptions\n\n# raised on dequeue(), first_item or last_item when queue is empty\nexceptions.EmptyQueueException \n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/vishalsharma14/py-data-structures", "keywords": "DATA STRUCTURES,STACK,QUEUE", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "py-data-structures", "package_url": "https://pypi.org/project/py-data-structures/", "platform": "", "project_url": "https://pypi.org/project/py-data-structures/", "project_urls": { "Homepage": "https://github.com/vishalsharma14/py-data-structures" }, "release_url": "https://pypi.org/project/py-data-structures/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Some widely used data structures", "version": "0.2.1" }, "last_serial": 5877120, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f82ea7bdf27cbf0b90945ccd72d61282", "sha256": "952ad7fb19e73be3fae839dc7b977b77da9b7f8fae29671e65db31625c7b8429" }, "downloads": -1, "filename": "py-data-structures-0.1.tar.gz", "has_sig": false, "md5_digest": "f82ea7bdf27cbf0b90945ccd72d61282", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2096, "upload_time": "2019-09-17T15:55:55", "url": "https://files.pythonhosted.org/packages/8b/c9/00a492f1f4c3bc061b89b0595499ac5197f65e68c99353daa6fe4ad5af91/py-data-structures-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2d7cd6a2d2f39030ccefcc99889e84a1", "sha256": "70961572c3bad70934501b7fa272c322fbe3a3cc05f15f7870c8944ec8a31565" }, "downloads": -1, "filename": "py-data-structures-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2d7cd6a2d2f39030ccefcc99889e84a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2135, "upload_time": "2019-09-18T16:56:36", "url": "https://files.pythonhosted.org/packages/48/f6/95485b891ef805487dc500d25c94e6200fb01425488987b2276d11d6ee3b/py-data-structures-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "1af0a4e9fe9eb0e5418b7e328a1921c2", "sha256": "2b8f175ba72120ef75b595fa75285523359f66d2d6980fa5d77685c12d1c3a6f" }, "downloads": -1, "filename": "py-data-structures-0.1.2.tar.gz", "has_sig": false, "md5_digest": "1af0a4e9fe9eb0e5418b7e328a1921c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2754, "upload_time": "2019-09-19T03:17:28", "url": "https://files.pythonhosted.org/packages/12/ea/64c424e41c2e54343e6bae7aaa93639b39568a7169c4b4b5aed545b3c6d6/py-data-structures-0.1.2.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "08bcfe6eaf80cbf5d1e599baf6474829", "sha256": "2c6320243d44d784bf8735e257f91cc76c4a2d118b4d4cae647627152b28c118" }, "downloads": -1, "filename": "py-data-structures-0.2.tar.gz", "has_sig": false, "md5_digest": "08bcfe6eaf80cbf5d1e599baf6474829", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2996, "upload_time": "2019-09-24T02:22:05", "url": "https://files.pythonhosted.org/packages/51/55/bca5a52de4aa7f4508406a4e946de34003bba68eec8df7041552ca0451b9/py-data-structures-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "4e5facaad61b67c03fd49656bb9994e6", "sha256": "3fb4c8d6e7fc0a7233db61afde2094ce6842c7ec16d16b02901186007c033cf5" }, "downloads": -1, "filename": "py-data-structures-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4e5facaad61b67c03fd49656bb9994e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3191, "upload_time": "2019-09-24T02:30:30", "url": "https://files.pythonhosted.org/packages/7a/8a/db4730fa6c52d3df71ba02faabf0d88cea10090529cdde9ee6e2d3ea0227/py-data-structures-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4e5facaad61b67c03fd49656bb9994e6", "sha256": "3fb4c8d6e7fc0a7233db61afde2094ce6842c7ec16d16b02901186007c033cf5" }, "downloads": -1, "filename": "py-data-structures-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4e5facaad61b67c03fd49656bb9994e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3191, "upload_time": "2019-09-24T02:30:30", "url": "https://files.pythonhosted.org/packages/7a/8a/db4730fa6c52d3df71ba02faabf0d88cea10090529cdde9ee6e2d3ea0227/py-data-structures-0.2.1.tar.gz" } ] }