add python ducktype
add more examples.