Snapcraft.yaml for python extension module

? are there any examples for creating a snapcraft.yaml file to support a python extension module
This would mean install and only loaded with import (not command line app)