Skip to content

Instantly share code, notes, and snippets.

View asampatoor's full-sized avatar

Adithya Sampatoor asampatoor

  • NIH
  • Rockville, Maryland
View GitHub Profile
from __future__ import print_function # Python 2/3 compatibility
import boto3
dynamodb = boto3.resource('dynamodb', region_name='us-east-1', endpoint_url="http://localhost:8000")
client = boto3.client('dynamodb')
table = dynamodb.create_table(
TableName='treatment_arm_pending',
KeySchema=[
{