http://doc.kaitai.io/lang_python.html doesn't specify how exactly to import .ksy files from Python. I would expect something like this.
import kaitai
Gif = kaitai.compile('git.ksy')
g = Gif.from_file('some.gif')
If I understand it right, direct loading of .ksy files is not supported, because .ksy parser is not written in Python.