Hi, interesting question. We are primarily focused on providing efficient and standardised access to our libraries, but many of the other SDKs already support some level of ORM/POCO type mapping. It’s something we’d like to address further although there are a number of projects providing generic access layers for Couchbase Python Client, e.g.:
The usual disclaimer applies that these are not Couchbase approved or supported.
Looking at the respective ‘drivers’ in PyDAL, they seem to be pretty simple, so might be a nice starting point. I suspect there isn’t a huge amount of coverage for anything beyond basic KV operations in the rest, but I guess that should make it fairly simple to implement.
Would this be your preferred data access interface or are there others that attracted your attention?