The api is located in stg.api and should be imported from there. It contains the following classes and methods:
STGX
PulseFile
decompress()
dump()
encode()
entrain()