{ "info": { "author": "AlexHtZhang", "author_email": "alexander.ht.zhang@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "HashHeap\n=======================\nPython's implementation of java's TreeMap. \nHope similar data structure can be added to python offical library.\n\n\nInstall \n-----\n\n- Install via `$ pip install HashHeap` .\n\nHow to use\n-----\n- `$ from HashHeap import HashHeap` .\n\n\n def __init__(self, desc=False):\n '''Initalize hashheap. \n :input: desc, ture for min heap, flase for max heap. \n :type: bool \n '''\n\n def size(self):\n '''Get the size of the hashheap. \n :input: None\n :type: None \n :return: Size of the hashheap\n :type: int\n '''\n\n def push(self, item):\n '''push item into hashheap. \n :input: item\n :type: type of item \n :return: None\n :type: None\n '''\n\n def pop(self):\n '''Remove and return the top of the HashHeap. \n :input: None\n :type: None \n :return: item in hashheap\n :type: type of item in hashheap\n '''\n\n def top(self):\n '''Return the top of the HashHeap without remove it. \n :input: None\n :type: None \n :return: item in hashheap\n :type: type of item in hashheap\n '''\n\n def remove(self, item):\n '''remove element in HashHeap in O(logn) time complexity. \n :input: param\n :type: dict \n :return: None\n :type: None\n '''\n\n\nAnd ...\n-------\n\nPull requests are encouraged!\n\n\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/AlexHtZhang/HashHeap", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "HashHeap", "package_url": "https://pypi.org/project/HashHeap/", "platform": "", "project_url": "https://pypi.org/project/HashHeap/", "project_urls": { "Homepage": "https://github.com/AlexHtZhang/HashHeap" }, "release_url": "https://pypi.org/project/HashHeap/1.0.0/", "requires_dist": null, "requires_python": ">=3.6.0", "summary": "Python implementation of java TreeMap. Hope similar data structure can be added to python offical library.", "version": "1.0.0" }, "last_serial": 4233389, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "bc11183ecd8bac18f7b01511cded5079", "sha256": "2073cdb2355af97863a8ca9eac560200b6e03180817a84df3327eeb419e3c6a3" }, "downloads": -1, "filename": "HashHeap-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bc11183ecd8bac18f7b01511cded5079", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 1877, "upload_time": "2018-09-03T06:22:21", "url": "https://files.pythonhosted.org/packages/8a/08/2e0cebcc31f773df331d3c940d6683d64db3311d7f1d92e1f76f449b697a/HashHeap-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e41bdd9e3c507af4b2afbedd5cd85b12", "sha256": "d915615392364aef6c874c5a66476061ac7c1dd615fe5ee6bcbfd1b60e69b189" }, "downloads": -1, "filename": "HashHeap-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e41bdd9e3c507af4b2afbedd5cd85b12", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 3375, "upload_time": "2018-09-03T06:22:22", "url": "https://files.pythonhosted.org/packages/a1/d3/22ff98f5f5ee1b7c22bcb6338be01fc80bb79b3b4e459a6d05fed4d49250/HashHeap-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bc11183ecd8bac18f7b01511cded5079", "sha256": "2073cdb2355af97863a8ca9eac560200b6e03180817a84df3327eeb419e3c6a3" }, "downloads": -1, "filename": "HashHeap-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bc11183ecd8bac18f7b01511cded5079", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 1877, "upload_time": "2018-09-03T06:22:21", "url": "https://files.pythonhosted.org/packages/8a/08/2e0cebcc31f773df331d3c940d6683d64db3311d7f1d92e1f76f449b697a/HashHeap-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e41bdd9e3c507af4b2afbedd5cd85b12", "sha256": "d915615392364aef6c874c5a66476061ac7c1dd615fe5ee6bcbfd1b60e69b189" }, "downloads": -1, "filename": "HashHeap-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e41bdd9e3c507af4b2afbedd5cd85b12", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 3375, "upload_time": "2018-09-03T06:22:22", "url": "https://files.pythonhosted.org/packages/a1/d3/22ff98f5f5ee1b7c22bcb6338be01fc80bb79b3b4e459a6d05fed4d49250/HashHeap-1.0.0.tar.gz" } ] }