Skip to content

Instantly share code, notes, and snippets.

@ran-isenberg
Created January 21, 2026 09:03
Show Gist options
  • Select an option

  • Save ran-isenberg/8eb4101a90d2a2b80e71b4674c0290cc to your computer and use it in GitHub Desktop.

Select an option

Save ran-isenberg/8eb4101a90d2a2b80e71b4674c0290cc to your computer and use it in GitHub Desktop.
dynamo
from pydynox import Model
class User(Model):
model_config = {"table": "users", "hash_key": "pk", "range_key": "sk"}
pk: str
sk: str
name: str
age: int
# Looks like normal Python
user = User(pk="USER#123", sk="PROFILE", name="Alice", age=30)
user.save() # But serialization happens in Rust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment