CIFParser

custom_handlers: dict

 

__init__(self, file, fields=None, **kw): 

 

check_tag(self, line: str, depth: int = 0, active_tag=None, label: str = None, history: list[str] = None): 

 

get_block_handlers(self): 

 

resolve_handler(self, label: 'str|None'): 

 

handle_block(self, label: 'str|None', block_data, join=True, depth=0): 

 

parse(self, target_fields=None): 

Feedback

Examples

Templates

Documentation