# pynamodb/PynamoDB

A pythonic interface to Amazon's DynamoDB

Repository: https://github.com/pynamodb/PynamoDB
Canonical: https://ross.abutalabs.com/products/pynamodb
Homepage: http://pynamodb.readthedocs.io
Language: Python
License: MIT
License Family: permissive
Topics: python, dynamodb, aws
Last push: 2026-05-29T11:20:50+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 84, release rhythm 16, longevity 100
- inputs: {"age_days": 4609, "days_push": 96, "days_rel": 457, "gap_med": 128, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2649, forks 430 (observed 2026-08-28T04:07:06.913181+00:00)

## What it is
PynamoDB is a Python library providing a simple, elegant, model-based interface to Amazon's DynamoDB NoSQL database. It abstracts DynamoDB's verbose API with declarative models, query and scan operations, and table management.

## Use cases
- interact with dynamodb from python
- define dynamodb tables as python models
- query and scan dynamodb tables with filter expressions
- create and manage dynamodb tables programmatically
- replace boto3's verbose dynamodb api with a cleaner interface

## When to choose
- you use DynamoDB in Python and want a model-based, Django-ORM-like API
- you need query/scan with typed attributes and condition expressions
- you want table creation and lifecycle managed from code

## When to avoid
- you need fine-grained control over every DynamoDB API parameter
- you use a different database or only need raw low-level boto3 calls
- you need an ORM for relational SQL databases

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, orm
- domain: databases, developer-tools, cloud-computing
- platform: python, cloud
- tags: dynamodb, aws, nosql, orm, pythonic-api

## Member repositories
- pynamodb/PynamoDB (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:06.913181+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-30T02:18:55.176410+00:00, confidence not recorded.
  - readme: https://github.com/pynamodb/PynamoDB (fetched 2026-08-28T04:07:06.913181+00:00, sha 5341b6093a83)
  - registry_pypi: https://pypi.org/pypi/pynamodb/json (fetched 2026-08-29T10:02:15.904572+00:00, sha ce14d7d6e64f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
