opacus has 133K monthly downloads and 2K GitHub stars. Version 1.6.0 supports Python 3.7.5+, first published in 2020.
It is actively maintained under a permissive license, last released in May 2026.
It is built on top of numpy, opt-einsum and scipy. It is used by 30 tracked packages, including gandlf, mostlyai-engine and synthcity.
GitHub topics include differential-privacy, privacy-preserving-machine-learning and deep-learning.
Package Insights
((week_daily_avg - month_daily_avg) / month_daily_avg) * 100Weekly Downloads
GitHub Stars
Downloads by OS
Python Versions
Top Countries
Dependencies
- numpy >=1.15
- opt-einsum >=3.3.0
- scipy >=1.2
- torch >=2.6.0
20 optional dependencies
- black[dev]
- coverage[dev]
- datasets[dev]
- flake8[dev]
- hypothesis[dev]
- isort[dev]
- jsonargparse[dev]
- lightning-bolts[dev]
- mypy[dev]
- pytest[dev]
- pytorch-lightning[dev]
- requests[dev]
- scikit-learn[dev]
- sphinx[dev]
- sphinx-autodoc-typehints[dev]
- tensorboard[dev]
- torch[dev]
- torchvision[dev]
- tqdm[dev]
- transformers[dev]
Used By
- gandlf
- mostlyai-engine
- synthcity
- bitfount
- smartnoise-synth
- appfl
- calm-data-generator
- schneiderkamplab-synthcity
- amuletml
- fluke-fl
- ornl-presto
- fedbiomed
- fl4health
- pistacchio-federated-dataset
- nhssynth
- secureml
- opensynth-energy
- dpsdg
- correlated-noise-mechanism
- synthtexteval
- coreason-enclave
- tabeval
- auditml
- fate-llm
- llama-simulation
- step-decomposed-influence
- clover-synth
- dp-lora
- medkit-learn
- opacus-dpcr