Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 401 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 401 Bytes

python-docsis

a library to compile human readable docsis to binary

You need to have libdocsis built: https://github.com/federicoemartinez/libdocsis

Usage:

  • Get the shared library libdocsis.
from docsis import docsis 

docsis.load_libdocsis()
content = DOCSIS_TEXT_CONTENT
ret = encode_content(content, KEY_TO_USE, encode_docsis=True, hash= 1) # hash can be 0,1,2 for no hash, eu,na