Pre-release
This release is a pre-release and may not be stable for production use.
pyenvector — enVector Python SDK
Python SDK for enVector — encrypted vector search powered by fully homomorphic encryption (FHE).
Your vectors and similarity scores stay encrypted during the entire computation. The server never sees plaintext data.
Install
pip install pyenvector
Quick Start
import numpy as np
import pyenvector as ev
# Connect and load keys
ev.init(host="localhost", port=50050, key_path="./keys", key_id="my_key")
# Create an index
index = ev.create_index("my_index", dim=512)
# Insert vectors
vectors = np.random.randn(100, 512).astype(np.float32)
vectors /= np.linalg.norm(vectors, axis=1, keepdims=True)
metadata = [f"item_{i}" for i in range(100)]
index.insert(vectors, metadata=metadata)
# Search (encrypted end-to-end)
result = index.search(vectors[0], top_k=5, output_fields=["metadata"])
print(result)
# Clean up
ev.drop_index("my_index")
# ev.delete_key("my_key") # optional: remove keys from server
Key Features
- End-to-end encryption — vectors are encrypted on the client. Search runs on ciphertext via FHE. Scores are decrypted only on the client.
- Familiar API —
create_index,insert,search,drop_index. Works like Milvus or Pinecone. - Key management CLI — generate, seal, and upload HE keys to AWS S3 or GCP Cloud Storage.
- Cloud-ready — deploy the enVector server on GKE, EKS, or on-prem.
Documentation
- enVector Docs — deployment, architecture, API reference
- GitHub — source, examples, issues
License
Proprietary. See LICENSE for details.
Metadata
Release files for pyenvector 1.6.3rc2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 102.1 MB
Release files / pyenvector-1.6.3rc2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pyenvector-1.6.3rc2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
3d4b8170622c6495e395114a992f39f40f942d9f1a97736b3d07f6268faca57f
|
|
BLAKE2b-256 checksum How to use checksums |
069d5cd4f0bd0e0aff5fe6ed512b7c70797509a4d2e98ecb25c18fc78935c168
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
| Download URL | pyenvector-1.6.3rc2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.13 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
437cd607401faafd6544b87b7dd30a8f7486e03bc5e6248ace413e2e8773dbc7
|
|
BLAKE2b-256 checksum How to use checksums |
a284316159c8889e3243fc36ff4436edc45fcc98f02c70a85078b9cd37e20a47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | pyenvector-1.6.3rc2-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
43b8ee5e13a211c3eb38494ced07865fc3cf022411c1cbcc7684e0a3c93d68ac
|
|
BLAKE2b-256 checksum How to use checksums |
1267c020194cf51a33e2b8b2074c08f16412bf407c63819fabdc735bc26472b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pyenvector-1.6.3rc2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c69fa956101307c11009474e0144f6af407f659138b58ce68ca4557da0816b98
|
|
BLAKE2b-256 checksum How to use checksums |
09da9d78139512aba705975c76bd3e16585422c09ddc9f2c9a4e6c2b44214cde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
| Download URL | pyenvector-1.6.3rc2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.12 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
c618ec0b2873ba57ffdcf3ceb992a6692e5d3553a4e2bbe31474ea5c6e9150f7
|
|
BLAKE2b-256 checksum How to use checksums |
a8d83a43e1f5c78e50d9aaaef3f84f981df8a7ca70e809fb2a69de24794e1627
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | pyenvector-1.6.3rc2-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4e82c7910bd4a0c5f1720beb8fed07aa4e20ec3b6b1f81ffe5de737f36ec9a31
|
|
BLAKE2b-256 checksum How to use checksums |
424b4e94bf96330e09ed1c76a2bfb80c03268f91917d582409261167b94937c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pyenvector-1.6.3rc2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
830784cfcc12c75ed12252d095503569d9005a503342930c64e3c4465a5ab088
|
|
BLAKE2b-256 checksum How to use checksums |
cd47162e49c2506f541484ab5e52cdb1fbf18ffa56e7c2d912ab0cee25f106cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
| Download URL | pyenvector-1.6.3rc2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.11 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
746dda52b55890367902be46733d7a6c2d7354a638065f8e76315363ea57ccbd
|
|
BLAKE2b-256 checksum How to use checksums |
e841d24d155b380c4c6e982776d5a787a748d3a30fbc695b9498daf260a467d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | pyenvector-1.6.3rc2-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
95dc1d1f84b1c47e41e55fff3476a94f5d47b014fc70f2944f7d964caf6075c2
|
|
BLAKE2b-256 checksum How to use checksums |
450129281a6e3348506c993e394d0768e0b28e0c6e8d3ed2c6b9c749734e67cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pyenvector-1.6.3rc2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
b890bec313ba99aa183a6e6f055b2458e236b5f0257f1a17567742dcdd2a1fcc
|
|
BLAKE2b-256 checksum How to use checksums |
26e03835ab8fff14bb0a8bd1ab8c55836a5e9e3d011a6b1aa356e1df0fca3e50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
| Download URL | pyenvector-1.6.3rc2-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.10 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
e4520726519c13de48d98c3f8f50bf7875cfdc32bba3536df5fbc613c7d76b6b
|
|
BLAKE2b-256 checksum How to use checksums |
d6dd83e02c18c39f9743d08fd445cb6f83d0590c13035ce41e1d2a85199b8741
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | pyenvector-1.6.3rc2-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a8626a9fed5c65628b3500f69a875395e7cdb686aadbf8468632dbdca6c42c06
|
|
BLAKE2b-256 checksum How to use checksums |
b28c2cb44fc042b685ac6a0a764def1572b51f3be116d3758c9fb8efc082245f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pyenvector-1.6.3rc2-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.9 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
0a91da2cf84a7fb7429b5a7b6242aa5c4029c41dd8e53aa0304da8bfdc43764f
|
|
BLAKE2b-256 checksum How to use checksums |
ab5f57410041c2e66dd2b831ea43012ea6aa47aff2d92ddb9fe98e5bf7d4df16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
| Download URL | pyenvector-1.6.3rc2-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.9 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
3f09f281ced00a4acf5c7dc79e2ebdbc234d3267a74637161ec818773aebf614
|
|
BLAKE2b-256 checksum How to use checksums |
d0cb0348bba0de6688353d63c3e5e1f2b59596c2ee0ca9c75bb55f02a60123bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pyenvector-1.6.3rc2-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | pyenvector-1.6.3rc2-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6282e92e0c5b6f272c0ae7df0063dcc16c3aa01b4b444a9a9a5d8d8c0ab8eb31
|
|
BLAKE2b-256 checksum How to use checksums |
4703c83f52cc8580a179137a6fb387c1f0bbd9abc1c3db32b163afc14cd23795
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|