Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.14 KB

README.md

File metadata and controls

18 lines (13 loc) · 1.14 KB

Table of Contents generated with DocToc

pynamodb-attributes

This Python 3 library contains compound and high-level PynamoDB attributes:

  • IntegerAttribute – same as NumberAttribute but whose value is typed as int (rather than float)
  • UnicodeDelimitedTupleAttribute - a delimiter-separated value, useful for storing composite keys
  • UnicodeEnumAttribute - serializes a string-valued Enum into a Unicode (S-typed) attribute
  • TimestampAttribute, TimestampMsAttribute, TimestampUsAttribute – serializes datetimes as Unix epoch seconds, milliseconds (ms) or microseconds (µs)
  • IntegerDateAttribute - serializes date as an integer representing the Gregorian date (e.g. 20181231)
  • UUIDAttribute - serializes a UUID Python object as a S type attribute (e.g. 'a8098c1a-f86e-11da-bd1a-00112444be1e')