vcf_to_obsidian.filename_generator
Filename Generator module for creating output filenames from VCF data.
Classes
Class responsible for generating output filenames from vCard objects. |
Module Contents
- class vcf_to_obsidian.filename_generator.FilenameGenerator[source]
Class responsible for generating output filenames from vCard objects.
- generate_filename(vcard, vcf_path)[source]
Generate an output filename based on vCard data with priority logic.
Priority: 1. Full Name (FN) field 2. Constructed name from given + family names 3. UID field 4. Original VCF filename
- Parameters:
vcard – vobject vCard object
vcf_path (Path) – Original VCF file path
- Returns:
Safe filename (without extension)
- Return type:
str