{"id":26795900,"url":"https://github.com/jwalsh/hy-algorithms","last_synced_at":"2026-02-19T18:31:17.888Z","repository":{"id":285045506,"uuid":"956863593","full_name":"jwalsh/hy-algorithms","owner":"jwalsh","description":"Algorithms and data structures implemented in Hy, a Lisp dialect for Python","archived":false,"fork":false,"pushed_at":"2025-04-04T16:56:48.000Z","size":20,"stargazers_count":2,"open_issues_count":50,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-31T00:40:26.402Z","etag":null,"topics":["algorithm","algorithms","computer-science","data-structure","data-structures","educational","functional-programming","hy","interview-prep","leetcode","lisp","python","python-lisp"],"latest_commit_sha":null,"homepage":null,"language":"Hy","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/jwalsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-03-29T02:12:48.000Z","updated_at":"2025-06-11T05:02:42.000Z","dependencies_parsed_at":"2025-03-29T06:02:30.610Z","dependency_job_id":"6f40865e-1e16-4757-bca4-fe0c107283cf","html_url":"https://github.com/jwalsh/hy-algorithms","commit_stats":null,"previous_names":["jwalsh/hy-algorithms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jwalsh/hy-algorithms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwalsh%2Fhy-algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwalsh%2Fhy-algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwalsh%2Fhy-algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwalsh%2Fhy-algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwalsh","download_url":"https://codeload.github.com/jwalsh/hy-algorithms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwalsh%2Fhy-algorithms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29627111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T18:02:07.722Z","status":"ssl_error","status_checked_at":"2026-02-19T18:01:46.144Z","response_time":117,"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":["algorithm","algorithms","computer-science","data-structure","data-structures","educational","functional-programming","hy","interview-prep","leetcode","lisp","python","python-lisp"],"created_at":"2025-03-29T18:16:26.782Z","updated_at":"2026-02-19T18:31:17.872Z","avatar_url":"https://github.com/jwalsh.png","language":"Hy","readme":"# Hy Algorithms\n\nA collection of algorithms and data structures implemented in the Hy programming language.\n\n## About\n\nThis repository contains implementations of various algorithms and data structures in Hy, \na Lisp dialect that embeds within the Python ecosystem.\n\n## Structure\n\n- `src/`: Implementation of algorithms and data structures\n- `tests/`: Unit tests for implementations\n- `docs/`: Documentation and explanation of algorithms\n\n## Algorithms\n\n### Sorting\n- Counting Sort\n- Dutch National Flag\n- Cycle Sort\n- Radix Sort\n- Bucket Sort\n- Bitonic Sort\n\n## Usage\n\nEach algorithm is implemented as a standalone Hy module. Example usage can be found\nin the documentation and test files.\n\n## Requirements\n\n- Hy 1.0+\n- Python 3.8+\n\n## Hy 1.0 Notes\n\nThis repository uses Hy 1.0, which has different import semantics compared to earlier versions. See our [Hy Implementation Notes](docs/hy_implementation_notes.md) for details on working with Hy 1.0.\n\n## Installation\n\n```bash\n# Clone this repository\ngit clone https://github.com/daidaitaotao/hy-algorithms.git\ncd hy-algorithms\n\n# Install with Poetry (recommended)\npoetry install\n\n# Or install with pip in development mode\npip install -e .\n```\n\n## Running Tests\n\n```bash\n# With Poetry\npoetry run pytest tests/\n\n# Or with pytest directly\npytest tests/\n```\n\n## Running Examples\n\n```bash\n# Run all examples\nmake run\n\n# Run specific algorithm example\nmake counting   # Counting Sort\nmake dutch      # Dutch National Flag\nmake cycle      # Cycle Sort\nmake radix      # Radix Sort\nmake bucket     # Bucket Sort\nmake bitonic    # Bitonic Sort\n```\n\n## Contributors\n\n- @daidaitaotao\n- @jwalsh\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwalsh%2Fhy-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwalsh%2Fhy-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwalsh%2Fhy-algorithms/lists"}