{"id":26742364,"url":"https://github.com/ayxhmn/heapyy","last_synced_at":"2025-06-13T08:05:59.130Z","repository":{"id":284797126,"uuid":"956070135","full_name":"ayxhmn/heapyy","owner":"ayxhmn","description":"Python code snippets for competitive programming","archived":false,"fork":false,"pushed_at":"2025-03-30T15:22:14.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T08:05:40.922Z","etag":null,"topics":["algorithms","competitive-programming","data-structures","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayxhmn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-27T16:43:45.000Z","updated_at":"2025-03-30T15:22:18.000Z","dependencies_parsed_at":"2025-03-27T18:36:15.355Z","dependency_job_id":"80991e94-69a8-4cc8-b40b-3d048b049964","html_url":"https://github.com/ayxhmn/heapyy","commit_stats":null,"previous_names":["ayxhmn/heapyy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ayxhmn/heapyy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayxhmn%2Fheapyy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayxhmn%2Fheapyy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayxhmn%2Fheapyy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayxhmn%2Fheapyy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayxhmn","download_url":"https://codeload.github.com/ayxhmn/heapyy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayxhmn%2Fheapyy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259606868,"owners_count":22883556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["algorithms","competitive-programming","data-structures","python"],"created_at":"2025-03-28T06:17:39.758Z","updated_at":"2025-06-13T08:05:59.121Z","avatar_url":"https://github.com/ayxhmn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Heapyy Logo](logo.jpg)\n\u003chr\u003e\n\n**heapyy** is a Python library for competitive programming, providing efficient implementations of common data structures and algorithms.\n\n## 🚀 Features\n- Singly Linked List\n- Doubly Linked List\n- Binary Tree\n- Graph data structure\n- Graph Traversals (bfs, dfs)\n- (More coming soon!)\n\n## 📦 Installation\n```bash\npip install heapyy  # (If published on PyPI in the future)\n```\n\nOr install locally for development:\n\n```bash\npip install -e .\n```\n\n## 🔥 Usage\nImporting heapyy:\n\n```python\nimport heapyy\n```\n\nUsing singly linked list:\n\n```python\nfrom heapyy import LinkedList\n\nll = LinkedList()\nll.append(10)\nll.append(20)\nll.append(30)\nll.prepend(5)\n\nprint(ll.to_list())  # Output: [5, 10, 20, 30]\n\nll.remove(20)\nprint(ll.to_list())  # Output: [5, 10, 30]\n\nprint(ll.find(10))  # Output: True\nprint(ll.find(100))  # Output: False\n```\n\n## 🛠️ Development\nClone the repository:\n\n```bash\ngit clone https://github.com/ayxhmn/heapyy.git\ncd heapyy\n```\n\nRun tests:\n\n```bash\npython -m unittest discover tests\n```\n\n## 🤝 Contributing\nPull requests are welcome! If you want to add new algorithms or optimize existing ones, feel free to contribute.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayxhmn%2Fheapyy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayxhmn%2Fheapyy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayxhmn%2Fheapyy/lists"}