vcf_to_obsidian.vcf_reader

VCF Reader module for parsing VCF files.

Classes

VCFReader

Class responsible for reading and parsing VCF files.

Module Contents

class vcf_to_obsidian.vcf_reader.VCFReader[source]

Class responsible for reading and parsing VCF files.

is_valid_uuid(uid_value)[source]

Check if a UID value is a valid UUID.

Parameters:

uid_value (str) – UID value to validate

Returns:

True if valid UUID, False otherwise

Return type:

bool

read_vcf_file(vcf_path)[source]

Read and parse a VCF file using vobject.

Parameters:

vcf_path (Path) – Path to the VCF file

Returns:

Parsed vCard object

Return type:

vobject.vCard

Raises:

Exception – If file cannot be read or parsed