DSpace is an open-source repository system. It allows programmatic access via both its own API and the [[SWORD]] protocol.
There are no official client libraries for the DSpace REST API (v7+), but one of the DSpace developers has begun developing a Python client library.