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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fc9a608d5c640f14b33c68627eb8ec81095d7b8cdc5eb7e15d1fffebbd8e2ea
|
|
| MD5 |
6e5f11fc47922de91086574965c174f4
|
|
| BLAKE2b-256 |
779c60694d4a14833d3ecc336a754abba1e375f7e8a3bc5959deaa43ea83db0d
|
File details
Details for the file genestore-0.2.0-cp312-cp312-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: genestore-0.2.0-cp312-cp312-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 45.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbec94763b483c474266ee82cea4778cb50dbbd6587ec16f1c08f6eaa36749dd
|
|
| MD5 |
5f1b84d76d2a175620178ea12bbbba61
|
|
| BLAKE2b-256 |
1b9c90e94767033ab96822a395628a5919148db25a0b61dae95942a1a77ca79b
|