{"id":37084486,"url":"https://github.com/yutao-li/libheap","last_synced_at":"2026-01-14T10:21:10.484Z","repository":{"id":62575843,"uuid":"163717073","full_name":"yutao-li/libheap","owner":"yutao-li","description":"heap and indexheap library","archived":false,"fork":false,"pushed_at":"2020-05-13T15:41:46.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-28T09:41:28.730Z","etag":null,"topics":["data-structures","heap","heapsort"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yutao-li.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-01T06:17:35.000Z","updated_at":"2020-05-13T15:41:49.000Z","dependencies_parsed_at":"2022-11-03T18:57:58.503Z","dependency_job_id":null,"html_url":"https://github.com/yutao-li/libheap","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/yutao-li/libheap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutao-li%2Flibheap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutao-li%2Flibheap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutao-li%2Flibheap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutao-li%2Flibheap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yutao-li","download_url":"https://codeload.github.com/yutao-li/libheap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutao-li%2Flibheap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:18:03.274Z","status":"ssl_error","status_checked_at":"2026-01-14T10:16:11.865Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-structures","heap","heapsort"],"created_at":"2026-01-14T10:21:09.661Z","updated_at":"2026-01-14T10:21:10.479Z","avatar_url":"https://github.com/yutao-li.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libheap\nhere is an implementation of a general heap library, including trivial heap and indexed heap, which not only supports the usual \u003cem\u003epush\u003c/em\u003e , \u003cem\u003epop\u003c/em\u003e, \u003cem\u003epeek\u003c/em\u003e operations, but also \u003cem\u003eheapification\u003c/em\u003e, \u003cem\u003ekey modification\u003c/em\u003e, \u003cem\u003ekey deletion\u003c/em\u003e and \u003cem\u003eself-defined comparator\u003c/em\u003e.  \n\nIndexheap is a significant heap structure which stores and sorts (index,key) pairs according to their key, it is essential in efficient implementation of Dijkstra's algorithm, Prim's algorithm and other variants.  \n\nMeanwhile, it also includes implementation of [Disjoint set](https://en.wikipedia.org/wiki/Disjoint-set_data_structure).  \n\n## Acknowledgement\nthis library is coded by reference to [algs4](https://algs4.cs.princeton.edu/code/). Much appreciation!\n\n## Documentation  \nto be completed    \n\n## Installation  \nmethod 1: pip install --user libheap  \nmethod 2: download this project, and run \"python setup.py install\"  \nmethod 3: install anaconda, and run \"conda install -c a870070392 libheap\"  \nonly support python3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyutao-li%2Flibheap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyutao-li%2Flibheap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyutao-li%2Flibheap/lists"}