Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.77 KB

ReadMe.md

File metadata and controls

22 lines (18 loc) · 1.77 KB

kaitaiStructCompile.importer Unlicensed work

wheel PyPi Status GitLab build status Coveralls Coverage GitLab coverage Libraries.io Status

This is an importer allowing to import ksys. Seamlessly compiles ksys into python sources. Useful for playing in IPython shell.

Usage

import kaitaiStructCompile.importer
kaitaiStructCompile.importer._importer.searchDirs.append(Path("./dirWithKSYFiles")) # you can add a dir to search for KSY files.
kaitaiStructCompile.importer._importer.flags["readStoresPos"]=True # you can set compiler flags, for more details see the JSON schema
from kaitaiStructCompile.importer.test import Test
Test # kaitaiStructCompile.importer.test.Test