# pyca/cryptography

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.

Repository: https://github.com/pyca/cryptography
Canonical: https://ross.abutalabs.com/products/cryptography
Homepage: https://cryptography.io
Language: Python
License: NOASSERTION
License Family: other
Topics: python, cryptography
Last push: 2026-08-26T11:08:03+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4775, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7725, forks 1812 (observed 2026-08-28T04:10:02.628911+00:00)

## What it is
pyca/cryptography is a Python package providing cryptographic recipes and primitives, aiming to be Python's 'cryptographic standard library'. It offers both high-level recipes (like Fernet symmetric encryption) and low-level interfaces to algorithms such as symmetric ciphers, message digests, and key derivation functions.

## Use cases
- encrypt and decrypt data in python
- generate and verify digital signatures
- hash passwords and derive keys
- work with x509 certificates
- implement tls or ssh protocol primitives
- generate secure random keys and tokens

## When to choose
- you need well-audited, maintained cryptographic primitives in Python
- you want both high-level recipes and low-level algorithm access
- you need support for Python 3.9+ and PyPy

## When to avoid
- you need a pure-Python implementation without native dependencies
- you want a higher-level API hiding all cryptographic details
- you are doing post-quantum or highly specialized cryptography outside its scope

## Facets
- artifact type: library
- maturity: stable
- function: cryptography, security, serialization
- domain: security, developer-tools
- platform: python, cross-platform
- tags: encryption, fernet, x509, tls, hashing, key-derivation, pypi

## Member repositories
- pyca/cryptography (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:02.628911+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:35:15.026536+00:00, confidence not recorded.
  - readme: https://github.com/pyca/cryptography (fetched 2026-08-28T04:10:02.628911+00:00, sha 20d84538828a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
