cryptography
brew install cryptographyFormerly known as: python-cryptography
Cryptographic recipes and primitives for Python
https://cryptography.io/en/latest/
License: Apache-2.0 OR BSD-3-Clause
Development: Pull requests
Formula JSON API: /api/formula/cryptography.json
Formula code: cryptography.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 50.0.2 |
| head | ⚡️ | HEAD |
Revision: 2
Depends on:
| cffi | 2.1.1 | C Foreign Function Interface for Python |
| openssl@4 | 4.1.0 | Cryptography and SSL/TLS Toolkit |
Depends on when building from source:
| maturin | 1.16.0 | Build and publish Rust crates as Python packages |
| pkgconf | 3.0.10 | Package compiler and linker metadata toolkit |
| python-setuptools | 84.2.1 | Easily download, build, install, upgrade, and uninstall Python packages |
| python@3.14 | 3.14.10 | Interpreted, interactive, object-oriented programming language |
| python@3.15 | 3.15.2 | Interpreted, interactive, object-oriented programming language |
| rust | 1.99.1 | Safe, concurrent, practical language |
GitHub Packages downloads:
| Last 30 days | 280,039 |
|---|---|
| Downloads | 10,533,612 |
| Analytics install events (30 days) | 26,310 |
| Downloads / install events (30 days) | 10.6× |
Source: GitHub Packages, fetched 2026-11-11T00:50:34Z. Analytics dates: 2026-10-12 to 2026-11-11. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 26,302 | 78,405 | 348,940 |
Installs (--HEAD) | 8 | 18 | 83 |
| Installs on Request | 2,820 | 8,251 | 41,340 |
Installs on Request (--HEAD) | 8 | 17 | 81 |
| Build Errors | 45 | ||
Build Errors (--HEAD) | 5 |