22 lines
517 B
Python
22 lines
517 B
Python
|
"""
|
||
|
This file serves as the interface (so to speak) to the x12 parser, plugin interface
|
||
|
@TODO:
|
||
|
- How to write custom plugin
|
||
|
- Provide interface for meta-data (expected)
|
||
|
- Support configuration specification
|
||
|
"""
|
||
|
import os
|
||
|
from . import common
|
||
|
from . import header
|
||
|
from . import body
|
||
|
|
||
|
EDI = body.BODY
|
||
|
|
||
|
def instance(**_args):
|
||
|
pass
|
||
|
|
||
|
# class Parser :
|
||
|
# def __init__(**_args):
|
||
|
# folder = _args['path']
|
||
|
# files = [ os.sep.join(_name,folder) for _name in os.listdir(folder)]
|
||
|
# pass
|