aiodynamodb
Async DynamoDB client + lightweight model layer built on aioboto3 and Pydantic v2.
Features
- Fully async API built on
aioboto3 - Pydantic v2 models for validation and typed data access
- Table mapping via
@table(...)decorator with GSI/LSI support - Persistent connection pooling via context manager
- Query and scan with typed, paginated results
- Conditional writes/deletes, transactions, and batch operations
AI Disclaimer
Some code and content in this repository was created with the assistance of AI tools. All code is reviewed thoroughly.
Installation
pip install aiodynamodb
Quickstart
import asyncio
from aiodynamodb import DynamoDB, DynamoModel, HashKey, table
@table("users")
class User(DynamoModel):
user_id: HashKey[str]
name: str
email: str | None = None
async def main() -> None:
async with DynamoDB() as db:
await db.create_table(User)
await db.put(User(user_id="u1", name="Alice", email="alice@example.com"))
user = await db.get(User, hash_key="u1")
print(user)
asyncio.run(main())
Documentation
Full documentation is available at aiodynamodb.com, including:
- Getting Started
- Guides — CRUD, queries, scans, transactions, batch ops, custom types, and more
- API Reference
Contributing
Clone the repo and install dev dependencies:
make install-dev
Make your changes, then:
make lint # lint and format
make typecheck # type check
make test # run tests
Metadata
Release files for aiodynamodb 0.0.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiodynamodb-0.0.16.tar.gz | 215.4 kB | With provenance | Details for aiodynamodb-0.0.16.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiodynamodb-0.0.16-py3-none-any.whl | Python 3 | none | any | Details for aiodynamodb-0.0.16-py3-none-any.whl |
Total release size: 242.3 kB
Release files / aiodynamodb-0.0.16.tar.gz
| Download URL | aiodynamodb-0.0.16.tar.gz |
|---|---|
| Size | 215.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7dbd192db48bc0e332116f430582f6c7cc1883cf35442dc9232dcbe831ce5742
|
|
BLAKE2b-256 checksum How to use checksums |
ab9d0b440ed2ac63d0acefa3b473a0c02814d10bbbd329ccac2846d0d5ec3abb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / aiodynamodb-0.0.16-py3-none-any.whl
| Download URL | aiodynamodb-0.0.16-py3-none-any.whl |
|---|---|
| Size | 27.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6da0cefb8d3e1b304ea486799fee459df0d982ccc28e81d78a2b0437f8838db
|
|
BLAKE2b-256 checksum How to use checksums |
f9eb23c562eee89300965bb040d9314a97eda3092bcb23a16837c962dfe801d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logSecurity for aiodynamodb 0.0.16
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for aiodynamodb-0.0.16.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.