Python SDK
The Python SDK ships as a pre-compiled wheel — no Rust toolchain needed for the common case.- Python 3.9+
- Linux (x86_64), macOS (Apple Silicon + Intel), or Windows (x86_64)
- ~50 MB disk space
Optional: GPU acceleration (BYO GPU)
For local GPU acceleration in your own environment:nvcc needed at install time.
Build from source
You only need this if you want to modify the Rust core.TypeScript / Node.js SDK
- Node.js 18+ or Deno 1.30+ or Bun 1.0+
- Works in browsers (when bundled) and Cloudflare Workers
REST API (no install)
If you don’t want any local SDK, you can call WAVIS directly over HTTP.Choosing a path
Python SDK
Best for: ML pipelines, data science, anything where you want gates locally.
TypeScript SDK
Best for: web apps, Node backends, browser-side encryption.
REST API
Best for: any language not listed above, or zero-dependency deploys.
Troubleshooting
error: Microsoft Visual C++ 14.0 is required (Windows)
You’re trying to build from source. Either install the Visual Studio Build Tools or use pip install wavis-fhe (pre-compiled wheel, no compiler needed).
ImportError: libcuda.so.1: cannot open shared object file
You installed wavis-fhe[cuda] but no NVIDIA driver is present. Either install the driver or use the CPU build:
keygen() is slow on the first call
First call compiles the bootstrapping key (~5 s on CPU, ~1 s on GPU). Subsequent calls are instant — keys are cached in memory.
Next Steps
Quickstart
Five lines of code, your first FHE gate
Authentication
API keys, environments, rotation