pynamodb-attributes
Common attributes for PynamoDB
Decision gist · record as of 2026-08-14
Yes, if you are already using PynamoDB and need typed attribute support for common Python types. The library is stable, has no known vulnerabilities, and low install friction. However, verify the license status before committing to production use, and be aware that maintenance is aging—last release was March 2024 with no activity since then.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires pynamodb and an active DynamoDB instance (local or AWS); Python 3 is required.
- Low friction installation with a single pure-Python dependency (pynamodb).
- Last release was March 2024 and the repository remains active, though the project shows aging maintenance signals with no release in over a year.
License · maintenance · safety
(unclear) — License status is unclear—no SPDX identifier or raw license text is available in the package metadata, so you cannot verify licensing terms before use.
last release 2024-03-12 (885 days) · last repo commit 2025-07-02 · 62 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 175,110 downloads/mo, #10,271 on PyPI
Alternatives
Verify before relying
pip install pynamodb-attributes
from pynamodb_attributes import UUIDAttribute, TimestampAttribute
class MyModel(Model):
id = UUIDAttribute(hash_key=True)
created = TimestampAttribute()- Whether the unclear license status reflects a genuine omission or an intentional choice by the maintainer.
- Current maintenance commitment and likelihood of future updates or bug fixes.
- Whether all attribute types handle edge cases (e.g., timezone-aware vs. naive datetimes, protobuf enum compatibility).
What it is and what it does
pynamodb-attributes is a library of pre-built attribute classes that wrap PynamoDB's base types to provide native Python serialization for common data structures. It lets you store Python enums, UUIDs, timedeltas, and timestamps directly in DynamoDB without manual conversion, and adds support for composite keys via delimited tuples. The library is maintained by Lyft and sits on top of pynamodb, the popular DynamoDB ORM for Python.
You use it by importing the attribute class you need and adding it to your PynamoDB model definition. For example, instead of storing a UUID as a string and converting it yourself, you declare a UUIDAttribute and the library handles serialization to and from DynamoDB's native format. It covers a range of common types—integers, floats, enums (both Python and Protobuf), timestamps at multiple resolutions, and date objects—making model definitions cleaner and reducing boilerplate.
Use it for
- Store and retrieve Python UUID objects directly in DynamoDB without manual string conversion.
- Serialize Python Enum values into DynamoDB attributes while preserving type safety.
- Record event timestamps at millisecond or microsecond precision as Unix epoch integers.
- Build composite keys using delimited tuples for complex partition or sort key patterns.
- Store timedelta durations as integer seconds, milliseconds, or microseconds for duration fields.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using PynamoDB and need typed attribute support for common Python types.
The library is stable, has no known vulnerabilities, and low install friction. However, verify the license status before committing to production use, and be aware that maintenance is aging—last release was March 2024 with no activity since then.
Install
pynamodb-attributes on PyPI
Before you install
Low friction installation with a single pure-Python dependency (pynamodb). Last release was March 2024 and the repository remains active, though the project shows aging maintenance signals with no release in over a year.
Requires pynamodb and an active DynamoDB instance (local or AWS); Python 3 is required.
License in practice
License status is unclear—no SPDX identifier or raw license text is available in the package metadata, so you cannot verify licensing terms before use.
Quickstart
pip install pynamodb-attributes
from pynamodb_attributes import UUIDAttribute, TimestampAttribute
class MyModel(Model):
id = UUIDAttribute(hash_key=True)
created = TimestampAttribute()
Verify before relying
- Whether the unclear license status reflects a genuine omission or an intentional choice by the maintainer.
- Current maintenance commitment and likelihood of future updates or bug fixes.
- Whether all attribute types handle edge cases (e.g., timezone-aware vs. naive datetimes, protobuf enum compatibility).
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepynamodb |
| Maintenance | Aging 885 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 175,110 / month, #10,271 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Programming Language :: Python :: 3 :: Only |
Evidence: pynamodb_attributes-0.5.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pynamodb custom attributes”
- pynamodb-attributesProvides typed attribute classes for PynamoDB that extend DynamoDB's…
- pynamodbPynamoDB provides a Pythonic ORM-like interface to Amazon DynamoDB,…
- djangocms-attributes-fieldProvides a Django model field and widget for storing and managing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also pynamodb · dynamodb-json · dynamo-json · pydynamodb · uuid-extension · dynamodb-encryption-sdk · types-boto3-dynamodb · nanotime · mypy-boto3-dynamodb · types-aiobotocore-dynamodb