datazen.fingerprinting
index
/home/vkottler/src/vkottler/workspace/datazen/datazen/fingerprinting.py

datazen - Reading and writing a known header signature to output files.

 
Modules
       
os

 
Functions
       
apply_barriers(comment_lines: List[str], char: str) -> None
Optionally add decoration to the comment lines by adding a barrier at
the beginning and end.
build_fingerprint(file_data: str, file_ext: str, char: str = '=', dynamic: bool = True, newline: str = '\n') -> str
Build a String that should be prepended to the final file output for
user awareness and automated interpretation.
get_comment_data(file_data: str, dynamic: bool = True) -> List[Tuple[str, str]]
Get tuples (key-value pairs) of data to write into the file fingerprint.
resolve_encapsulation(comment_lines: List[str], file_ext: str, newline: str = '\n') -> str
Turn the requested line data into something that can be embedded in the
target file type.

 
Data
        BARRIER = '='
List = typing.List
PKG_NAME = 'datazen'
Tuple = typing.Tuple
VERSION = '3.1.4'