Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save ran-isenberg/2bac4b3d8ac0da8124aae96dec6f2577 to your computer and use it in GitHub Desktop.
rust
use pyo3::prelude::*;
#[pyfunction]
fn serialize_to_dynamodb(py: Python, item: PyObject) -> PyResult<PyObject> {
// Rust code that converts Python dict to DynamoDB format
// Much faster than doing this in pure Python
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment