Wrapper for libtorrent python bindings