{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/2"}],"enrichment":{"capability":"Converts Python objects to and from DynamoDB's native JSON format, handling type conversions for strings, numbers, booleans, nulls, nested structures, and special types like Decimal and datetime.","skillfed_tags":["dynamodb","serialization","aws"],"use_cases":["Serialize Python dictionaries with Decimal and datetime objects into DynamoDB JSON before sending via boto3 put_item or update_item calls.","Deserialize DynamoDB query or scan responses back into plain Python objects with automatic type reconstruction.","Build data transformation pipelines that move records between DynamoDB and other systems while preserving type semantics.","Simplify test fixtures by converting readable Python objects into DynamoDB format for mock or integration tests.","Handle nested and complex data structures (lists, sets, nested dicts) with automatic type annotation for DynamoDB compatibility."],"what_it_does":"dynamodb-json is a lightweight serialization utility that mirrors Python's json.loads() and json.dumps() API to convert between plain Python objects and DynamoDB's type-annotated JSON format. DynamoDB stores data with explicit type markers (e.g., {\"S\": \"value\"} for strings, {\"N\": \"4\"} for numbers), and this package handles that marshalling automatically, including special handling for Decimal, datetime, UUID, and nested structures.\n\nIt sits between your Python code and boto3's DynamoDB client, letting you work with native Python types and serialize them to DynamoDB's wire format on demand. The package depends on simplejson, boto3, and six, and supports Python 2.7 through 3.12, though maintenance has been dormant since mid-2024.","worth_installing":"Yes, if you are already using boto3 with DynamoDB and want to avoid manual type marshalling. The package is mature, has low install friction, and carries no known vulnerabilities. However, maintenance is dormant (no release in 818 days), so verify that it remains compatible with your Python and boto3 versions before adopting. License terms are unclear\u2014confirm the Mozilla license variant before use in proprietary projects."},"id":"dynamodb-json","links":{"html":"https://skillfed.io/packages/dynamodb-json","md":"https://skillfed.io/packages/dynamodb-json.md","pypi":"https://pypi.org/project/dynamodb-json/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-05-18","license_spdx":null,"license_treatment":"unclear","name":"dynamodb-json","python_support":"unspecified","summary":"A DynamoDB json util from and to python objects"},"popularity":{"monthly_downloads":3264414,"position":2679,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.4.2"}
