pyzfs provides nice bindings against ZFS libraries, but the version in pypi is very outdated, unmaintained and broken.
ZOL upstream maintainers have taken over this package, and it'll be included in 20.04 as python3-pyzfs. Once this is released and backup servers are upgraded, we should throw away the zfs command wrappers and use pyzfs instead.