amazon-ion / ion-hash-python

A Python implementation of Amazon Ion Hash.
https://amazon-ion.github.io/ion-hash/
Apache License 2.0
10 stars 7 forks source link

add support for generating an Ion hash for Python's built-in types #8

Open pbcornell opened 5 years ago

pbcornell commented 5 years ago

The existing ion_hash() method enables computation of an Ion hash for any class that extends IonNature. However, simpleion allows callers to mix-and-match instances of Ion classes with Python's built-in types (string, dict, list, etc.).

Consider adding a standalone function that computes an Ion hash for any combination of Ion- and built-in types.