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 | 334,104 |
|---|---|
| Downloads | 10,514,306 |
| Analytics install events (30 days) | 32,915 |
| Downloads / install events (30 days) | 10.2× |
Source: GitHub Packages, fetched 2026-11-08T00:52:38Z. Analytics dates: 2026-10-09 to 2026-11-08. 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 | 32,903 | 79,290 | 348,712 |
Installs (--HEAD) | 12 | 18 | 83 |
| Installs on Request | 3,523 | 8,387 | 41,454 |
Installs on Request (--HEAD) | 12 | 17 | 81 |
| Build Errors | 42 | ||
Build Errors (--HEAD) | 5 |