#274274th of 433 in ML frameworks and libraries
tenseal
Python library for homomorphic encryption on tensors, built on Microsoft SEAL
Watch puts tenseal on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.tenseal is on your watch list. Its new releases and problems show there.
- Stars
- 1k
- License
- Apache-2.0
- Last commit
- Sep 2026
- Last release
- Sep 2026
- Language
- C++
1,005 on 27 Apr 20261,044 on 23 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
OpenMined is hiring: 16 open roles
Overview
TenSEAL wraps Microsoft SEAL with a Python API and a C++ tensor layer. It encrypts integer vectors with BFV and real-number vectors with CKKS, and supports element-wise arithmetic, dot product, vector-matrix multiplication and N-dimensional encrypted tensors. Contexts, keys and ciphertexts can be serialized, and the full SEAL API is exposed under `tenseal.sealapi`.
Who it is for: Privacy-preserving ML developers working with encrypted tensor computation
Strengths
- Supports both BFV (integers) and CKKS (real numbers) schemes
- Prebuilt wheels for Linux (glibc, musl), macOS arm64 and Windows x64
- Tutorials cover encrypted logistic regression training and MNIST convolution
- Full SEAL API exposed under tenseal.sealapi for lower-level control
Weaknesses
- Requires Python 3.11 or newer
- Docker Hub images are unmaintained, last published in 2021
- Bazel build is broken; C++ microbenchmarks cannot currently be run
- Source builds fail on AppleClang 17+ and need a CMake 4 policy workaround
What it needs
- no GPU
- Needs Microsoft SEAL, NumPy
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #272 | dlpackCommon in-memory tensor struct for sharing tensors between ML frameworks | 47 out of 100 |
| #273 | functimePolars-based library for time-series forecasting and feature extraction | 47 out of 100 |
| #275 | paddledetectionObject detection toolkit on PaddlePaddle with tracking, keypoints and export tools | 46 out of 100 |
| #276 | surprisePython scikit for building and evaluating rating-based recommender systems | 46 out of 100 |
| #277 | paddleclasImage classification and recognition toolkit on PaddlePaddle, with PP-ShiTuV2 and PULC | 46 out of 100 |