{"id":49153034,"url":"https://github.com/yangzh/hv","last_synced_at":"2026-05-01T02:00:44.509Z","repository":{"id":195067834,"uuid":"692160791","full_name":"yangzh/hv","owner":"yangzh","description":"Sparse binary hypervectors and associated learners.","archived":false,"fork":false,"pushed_at":"2026-04-30T20:53:29.000Z","size":39948,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-30T21:17:48.239Z","etag":null,"topics":["cognitive-computing","go","golang","hypervectors","machine-learning","python","rust","sparse-binary","vector-symbolic-architecture"],"latest_commit_sha":null,"homepage":"https://yangzh.github.io/hv/","language":"Jupyter Notebook","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/yangzh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-15T17:39:58.000Z","updated_at":"2026-04-30T20:53:33.000Z","dependencies_parsed_at":"2023-09-25T03:31:08.256Z","dependency_job_id":"dba47309-181f-44dc-99f1-5ed5efbf9a4f","html_url":"https://github.com/yangzh/hv","commit_stats":null,"previous_names":["yangzh/hv"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/yangzh/hv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangzh%2Fhv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangzh%2Fhv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangzh%2Fhv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangzh%2Fhv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yangzh","download_url":"https://codeload.github.com/yangzh/hv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangzh%2Fhv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32482460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cognitive-computing","go","golang","hypervectors","machine-learning","python","rust","sparse-binary","vector-symbolic-architecture"],"created_at":"2026-04-22T07:03:39.295Z","updated_at":"2026-05-01T02:00:44.497Z","avatar_url":"https://github.com/yangzh.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hv\n\n[![Docs](https://img.shields.io/badge/docs-yangzh.github.io%2Fhv-blue)](https://yangzh.github.io/hv/)\n[![PyPI](https://img.shields.io/pypi/v/kongming-rs-hv)](https://pypi.org/project/kongming-rs-hv/)\n[![Python](https://img.shields.io/pypi/pyversions/kongming-rs-hv)](https://pypi.org/project/kongming-rs-hv/)\n[![License](https://img.shields.io/github/license/yangzh/hv)](LICENSE)\n\nPublic release of sparse binary hypervectors and associated learners, powered by the Rust-backed `kongming-rs-hv` package.\n\n## Installation\n\n```bash\npip install kongming-rs-hv\n```\n\nSupports Linux, macOS, and Windows on Python 3.10–3.14.\n\n## Documentation\n\nFull documentation is available at **[yangzh.github.io/hv](https://yangzh.github.io/hv/)**, including:\n\n- [Concepts](https://yangzh.github.io/hv/concepts/hypervectors.html) — hypervectors, models, composites, operators, constant-time near-neighbor search\n- [API Reference](https://yangzh.github.io/hv/api/sparkle.html) — Python, Go, and Rust side by side\n- [Python Quick Start](https://yangzh.github.io/hv/guides/python/quick-start.html) — installation, examples, and notebooks\n- [Notebook Quick Start](https://yangzh.github.io/hv/guides/notebook/quick-start.html) — cell-by-cell Jupyter walkthrough\n- [PDF download](https://yangzh.github.io/hv/kongming-hv.pdf)\n\n\u003e The published site is deployed from release tags (`v*`) and tracks the\n\u003e latest `kongming-rs-hv` release on PyPI. The `main` branch of this repo is\n\u003e the working head — it may describe APIs or examples that haven't been\n\u003e released yet.\n\n## Try Online\n\n| Platform | Link |\n|----------|------|\n| Colab — tutorial walkthrough | \u003ca href=\"https://colab.research.google.com/github/yangzh/hv/blob/main/notebook/first.ipynb?flush_cache=true\" target=\"_blank\"\u003e\u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"\u003e\u003c/a\u003e |\n| Colab — hypervector storage | \u003ca href=\"https://colab.research.google.com/github/yangzh/hv/blob/main/notebook/memory.ipynb?flush_cache=true\" target=\"_blank\"\u003e\u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"\u003e\u003c/a\u003e |\n| Binder | \u003ca href=\"https://mybinder.org/v2/gh/yangzh/hv/main?labpath=notebook/first.ipynb\" target=\"_blank\"\u003e\u003cimg src=\"https://mybinder.org/badge_logo.svg\" alt=\"Binder\"\u003e\u003c/a\u003e |\n\n## Applications\n\nRunnable scripts under [`examples/`](examples/) including:\n* [Mexican Dollar](https://yangzh.github.io/hv/examples/mexican_dollar/index.html): analogical reasoning;\n* [Word Indexer](https://yangzh.github.io/hv/examples/word_indexer/index.html): suffix-queryable word indexing;\n* [Bulk Storage](https://yangzh.github.io/hv/examples/bulk_storage/index.html): storage benchmarks;\n* [Operators from Scratch](https://yangzh.github.io/hv/examples/operators/index.html): the math underneath the library;\n* [LISP Interpreter](https://yangzh.github.io/hv/examples/pylisp/index.html): where every value is a hypervector.\n\nSee the [examples index](https://yangzh.github.io/hv/examples/index.html) for walkthroughs.\n\n## Community\n\nQuestions, ideas, or feedback? Visit [GitHub Discussions](https://github.com/yangzh/hv/discussions) for announcements, Q\u0026A, and general conversation. For bugs, please use [Issues](https://github.com/yangzh/hv/issues). \n\nFor private inquiries, use the [contact form](https://docs.google.com/forms/d/e/1FAIpQLSeAPEzqIgcf1CYJZJepN2jtNy1QTPKtpQYkdBBs1-rNeIuoGQ/viewform).\n\n## References\n\n\u003e Yang, Zhonghao (2023). Cognitive modeling and learning with sparse binary hypervectors. [arXiv:2310.18316](https://arxiv.org/abs/2310.18316) [cs.AI]\n\n## License\n\nThe Python source code, examples, and documentation in this repository are licensed under the [MIT License](LICENSE). \n\nThe underlying engine distributed via PyPI (`kongming-rs-hv`), however, is proprietary.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyangzh%2Fhv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyangzh%2Fhv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyangzh%2Fhv/lists"}