Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- run: cargo +stable test --manifest-path rust/Cargo.toml && cargo +stable build --release --manifest-path rust/Cargo.toml
- run: pip install -e ".[test]"
- run: pytest tests/ -v --tb=short

Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ __pycache__/
*.py[cod]
*$py.class
*.so
*.dylib
*.dll
target/
rust/target/
dist/
build/
*.egg-info/
Expand Down
41 changes: 40 additions & 1 deletion event_jepa_cube/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,49 @@

__all__ += ["SharedGraphStore", "temporal_probe_split", "truncate_sequence_at_time", "relation_aware_mask"]

# Low-level Arrow IPC engine (Rust + PyArrow IPC)
from .arrow_ipc import (
ArrowIpcSharedTensor,
ArrowIpcTensorView,
backend_info,
batch_cosine_similarity_arrow_ipc,
centroid_anomalies_arrow_ipc,
compute_trend_arrow_ipc,
has_rust_arrow_ipc,
matrix_from_ipc_stream,
matrix_to_ipc_stream,
sequence_from_ipc_stream,
sequence_to_ipc_stream,
streaming_ema_batch_arrow_ipc,
top_k_cosine_arrow_ipc,
vector_from_ipc_stream,
vector_to_ipc_stream,
weighted_aggregate_arrow_ipc,
)

# Numpy-accelerated ops and mmap store (numpy optional)
from .numpy_ops import HAS_NUMPY, MmapEmbeddingStore

__all__ += ["HAS_NUMPY", "MmapEmbeddingStore"]
__all__ += [
"HAS_NUMPY",
"MmapEmbeddingStore",
"ArrowIpcSharedTensor",
"ArrowIpcTensorView",
"backend_info",
"has_rust_arrow_ipc",
"sequence_to_ipc_stream",
"sequence_from_ipc_stream",
"matrix_to_ipc_stream",
"matrix_from_ipc_stream",
"vector_to_ipc_stream",
"vector_from_ipc_stream",
"weighted_aggregate_arrow_ipc",
"compute_trend_arrow_ipc",
"streaming_ema_batch_arrow_ipc",
"batch_cosine_similarity_arrow_ipc",
"top_k_cosine_arrow_ipc",
"centroid_anomalies_arrow_ipc",
]

# Bandit client (no external deps — uses stdlib urllib)
from .bandit import BanditClient, BanditError, CascadeBandit
Expand Down
Loading
Loading