samples for python-based