Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

voyager

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

voyager

Easy-to-use, fast, simple multi-platform approximate nearest-neighbor search library.

  • 2.0.9
  • PyPI
  • Socket score

Maintainers
1

The word Voyager_in blue, with a multicoloured graphic illustrating an orbit to its left.

License: Apache 2.0 Documentation Supported Platforms Apple Silicon support for macOS and Linux (Docker) Test Badge

Voyager is a library for performing fast approximate nearest-neighbor searches on an in-memory collection of vectors.

Voyager 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, 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.

Think of Voyager like Sparkey, but for vector/embedding data; or like Annoy, but with much higher recall. It got its name because it searches through (embedding) space(s), much like the Voyager interstellar probes launched by NASA in 1977.

Python Documentation Java Documentation

Installation

Python
pip install voyager
Java

Add the following artifact to your pom.xml:

<dependency>
  <groupId>com.spotify</groupId>
  <artifactId>voyager</artifactId>
  <version>2.0.4</version>
</dependency>

You can find the latest version on Voyager's Releases page.

Scala

Add the following artifact to your build.sbt:

"com.spotify" % "voyager" % "2.0.4"

You can find the latest version on Voyager's Releases page.

Compatibility

OSLanguageVersionx86_64 (Intel)arm64 (ARM)
LinuxPython3.7
LinuxPython3.8
LinuxPython3.9
LinuxPython3.10
LinuxPython3.11
LinuxPython3.12
LinuxJava8-16+
macOSPython3.7
macOSPython3.8
macOSPython3.9
macOSPython3.10
macOSPython3.11
macOSPython3.12
macOSJava8-16+
WindowsPython3.7
WindowsPython3.8
WindowsPython3.9
WindowsPython3.10
WindowsPython3.11
WindowsPython3.12
WindowsJava8-16+

Contributing

Contributions to voyager are welcomed! See CONTRIBUTING.md for details.

License

Voyager is copyright 2022-2024 Spotify AB.

Voyager is licensed under the Apache 2 License.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc