Graphene has complete support for Relay and offers some utils to make integration from Python easy.
Getting started with Relay
Relay Global Identification Specification
Relay Cursor Connection Specification