Python bindings for the Capsule API