{"id":13489385,"url":"https://github.com/spotify/voyager","last_synced_at":"2025-05-13T21:12:49.683Z","repository":{"id":176353023,"uuid":"627433116","full_name":"spotify/voyager","owner":"spotify","description":"🛰️ An approximate nearest-neighbor search library for Python and Java with a focus on ease of use, simplicity, and deployability.","archived":false,"fork":false,"pushed_at":"2025-03-26T00:26:36.000Z","size":12615,"stargazers_count":1436,"open_issues_count":21,"forks_count":71,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-05-11T10:57:03.201Z","etag":null,"topics":["hnsw","hnswlib","java","machine-learning","nearest-neighbor-search","python"],"latest_commit_sha":null,"homepage":"https://spotify.github.io/voyager/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spotify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2023-04-13T13:07:27.000Z","updated_at":"2025-05-10T17:41:42.000Z","dependencies_parsed_at":"2024-07-29T16:31:32.499Z","dependency_job_id":"28116dbf-9e16-4640-9109-c8f69e330e39","html_url":"https://github.com/spotify/voyager","commit_stats":{"total_commits":99,"total_committers":7,"mean_commits":"14.142857142857142","dds":0.3939393939393939,"last_synced_commit":"1cf25c34724d5414246aa4751d7c8f51217f8a3c"},"previous_names":["spotify/voyager"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spotify%2Fvoyager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spotify%2Fvoyager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spotify%2Fvoyager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spotify%2Fvoyager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spotify","download_url":"https://codeload.github.com/spotify/voyager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254029008,"owners_count":22002284,"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":["hnsw","hnswlib","java","machine-learning","nearest-neighbor-search","python"],"created_at":"2024-07-31T19:00:25.583Z","updated_at":"2025-05-13T21:12:44.671Z","avatar_url":"https://github.com/spotify.png","language":"C++","readme":"![The word Voyager_in blue, with a multicoloured graphic illustrating an orbit to its left.](https://github.com/spotify/voyager/assets/213293/c99cd0e8-cd38-486f-bb61-15f74028ba52)\n\n[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/spotify/voyager/blob/master/LICENSE)\n[![Documentation](https://img.shields.io/badge/Documentation-on%20github.io-brightgreen)](https://spotify.github.io/voyager)\n[![Supported Platforms](https://img.shields.io/badge/platforms-macOS%20%7C%20Windows%20%7C%20Linux-green)](https://pypi.org/project/voyager)\n[![Apple Silicon support for macOS and Linux (Docker)](https://img.shields.io/badge/Apple%20Silicon-macOS%20and%20Linux-brightgreen)](https://pypi.org/project/voyager)\n[![Test Badge](https://github.com/spotify/voyager/actions/workflows/all.yml/badge.svg)](https://github.com/spotify/voyager/actions/workflows/all.yml)\n\u003c!-- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/voyager)](https://pypi.org/project/voyager) --\u003e\n\u003c!-- [![PyPI - Wheel](https://img.shields.io/pypi/wheel/voyager)](https://pypi.org/project/voyager) --\u003e\n\u003c!-- [![PyPI - Downloads](https://img.shields.io/pypi/dm/voyager)](https://pypistats.org/packages/voyager) --\u003e\n\u003c!-- [![GitHub Repo stars](https://img.shields.io/github/stars/spotify/voyager?style=social)](https://github.com/spotify/voyager/stargazers) --\u003e\n\n**_Voyager_** is a library for performing fast approximate nearest-neighbor searches on an in-memory collection of vectors.\n\nVoyager features bindings to both Python and Java, with feature parity and index compatibility between both languages. It uses the HNSW algorithm, based on [the open-source `hnswlib` package](https://github.com/nmslib/hnswlib), with numerous features added for convenience and speed. Voyager is used extensively in production at Spotify, and is queried hundreds of millions of times per day to power numerous user-facing features.\n\nThink of Voyager like [Sparkey](https://github.com/spotify/sparkey), but for vector/embedding data; or like [Annoy](https://github.com/spotify/annoy), but with [much higher recall](http://ann-benchmarks.com/). It got its name because it searches through (embedding) space(s), much like [the Voyager interstellar probes](https://en.wikipedia.org/wiki/Voyager_program) launched by NASA in 1977.\n\n[![Python Documentation](https://img.shields.io/badge/Python%20Documentation-on%20github.io-brightgreen)](https://spotify.github.io/voyager/python)\n[![Java Documentation](https://img.shields.io/badge/Java%20Documentation-on%20github.io-brightgreen)](https://spotify.github.io/voyager/java)\n\n### Installation\n\n#### Python\n\n```shell\npip install voyager\n```\n\n#### Java\n\nAdd the following artifact to your `pom.xml`:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.spotify\u003c/groupId\u003e\n  \u003cartifactId\u003evoyager\u003c/artifactId\u003e\n  \u003cversion\u003e2.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\nYou can find the latest version on [Voyager's Releases page](https://github.com/spotify/voyager/releases).\n\n#### Scala\n\nAdd the following artifact to your `build.sbt`:\n```sbt\n\"com.spotify\" % \"voyager\" % \"2.1.0\"\n```\nYou can find the latest version on [Voyager's Releases page](https://github.com/spotify/voyager/releases).\n\n\n### Compatibility\n\n| OS        | Language | Version | x86_64 (Intel) | arm64 (ARM) |\n|-----------|----------|---------|---------| --------|\n| Linux     | Python   | 3.7     | ✅       | ✅       |\n| Linux     | Python   | 3.8     | ✅       | ✅       |\n| Linux     | Python   | 3.9     | ✅       | ✅       |\n| Linux     | Python   | 3.10    | ✅       | ✅       |\n| Linux     | Python   | 3.11    | ✅       | ✅       |\n| Linux     | Python   | 3.12    | ✅       | ✅       |\n| Linux     | Python   | 3.13    | ✅       | ✅       |\n| Linux     | Java     | 8-16+   | ✅       | ✅      |\n| macOS     | Python   | 3.7     | ✅       | ✅       |\n| macOS     | Python   | 3.8     | ✅       | ✅       |\n| macOS     | Python   | 3.9     | ✅       | ✅       |\n| macOS     | Python   | 3.10    | ✅       | ✅       |\n| macOS     | Python   | 3.11    | ✅       | ✅       |\n| macOS     | Python   | 3.12    | ✅       | ✅       |\n| macOS     | Python   | 3.13    | ✅       | ✅       |\n| macOS     | Java     | 8-16+   | ✅       | ✅       |\n| Windows   | Python   | 3.7     | ✅       | ❌       |\n| Windows   | Python   | 3.8     | ✅       | ❌       |\n| Windows   | Python   | 3.9     | ✅       | ❌       |\n| Windows   | Python   | 3.10    | ✅       | ❌       |\n| Windows   | Python   | 3.11    | ✅       | ❌       |\n| Windows   | Python   | 3.12    | ✅       | ❌       |\n| Windows   | Python   | 3.13    | ✅       | ❌       |\n| Windows   | Java     | 8-16+   | ✅       | ❌       |\n\n\n## Contributing\n\nContributions to `voyager` are welcomed!\nSee [CONTRIBUTING.md](https://github.com/spotify/voyager/blob/master/CONTRIBUTING.md) for details.\n\n\n### License\nVoyager is copyright 2022-2024 Spotify AB.\n\nVoyager is licensed under the [Apache 2 License]([https://www.gnu.org/licenses/gpl-3.0.en.html](https://www.apache.org/licenses/LICENSE-2.0)).\n","funding_links":[],"categories":["C++","Multidimensional data / Vectors","Sdks \u0026 Libraries","人工智能"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspotify%2Fvoyager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspotify%2Fvoyager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspotify%2Fvoyager/lists"}