Skip to main content

Python bindings for ArrowSpace (Rust) providing graph-based similarity search, signal graphs, and spectral methods for vector data.

Project description

pygenestore

Store your numpy arrays at scale using the Lance format.

Usage

import numpy as np
import genestore

# Create a storage builder and configure it
builder = genestore.store_array("./lance_data")
builder.with_max_rows_per_file(500000)
builder.with_compression("zstd")

# Build the storage instance
storage = builder.build()

# Create a numpy array (dense matrix)
data = np.random.randn(1000, 128).astype(np.float64)

# Store the array
path = storage.store(data, "my_dataset")
print(f"Stored at: {path}")

# Load the array back
loaded_data = storage.load(path)
print(f"Loaded shape: {loaded_data.shape}")

Tests

pip install -r requirements-dev.txt
pytest tests/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genestore-0.2.0.tar.gz (43.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genestore-0.2.0-cp312-cp312-manylinux_2_39_x86_64.whl (45.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

File details

Details for the file genestore-0.2.0.tar.gz.

File metadata

  • Download URL: genestore-0.2.0.tar.gz
  • Upload date:
  • Size: 43.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.10.2

File hashes

Hashes for genestore-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4fc9a608d5c640f14b33c68627eb8ec81095d7b8cdc5eb7e15d1fffebbd8e2ea
MD5 6e5f11fc47922de91086574965c174f4
BLAKE2b-256 779c60694d4a14833d3ecc336a754abba1e375f7e8a3bc5959deaa43ea83db0d

See more details on using hashes here.

File details

Details for the file genestore-0.2.0-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for genestore-0.2.0-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 cbec94763b483c474266ee82cea4778cb50dbbd6587ec16f1c08f6eaa36749dd
MD5 5f1b84d76d2a175620178ea12bbbba61
BLAKE2b-256 1b9c90e94767033ab96822a395628a5919148db25a0b61dae95942a1a77ca79b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page