pydusa: reimplement binding (limited version)