Skip to content

Added a script that can conver vcf contacts file to excle, which then you can edit as you wish to edit in excle#547

Open
shaun2006 wants to merge 2 commits intowasmerio:mainfrom
shaun2006:main
Open

Added a script that can conver vcf contacts file to excle, which then you can edit as you wish to edit in excle#547
shaun2006 wants to merge 2 commits intowasmerio:mainfrom
shaun2006:main

Conversation

@shaun2006
Copy link

PR Title

Add VCF to Excel Converter Script with CLI Support and Documentation

Summary

This PR adds a Python script that converts VCF (vCard) files to Excel (.xlsx) format and includes command-line argument support along with a README file for usage instructions.

Description

This pull request introduces a new utility script vcf_to_excel.py that parses VCF files and converts contact data into an Excel spreadsheet.

The script supports command-line usage with optional output file naming using the -o flag. If no output file is provided, the script automatically generates an Excel file with the same base name as the input VCF file.

Additionally, a README.md file has been added to document installation steps, usage instructions, and extracted fields.

The goal of this PR is to provide a simple, clean, and user-friendly solution for converting contact files into a structured Excel format.

The changes are as follows:

  • Added vcf_to_excel.py script
  • Implemented command-line argument support using argparse
  • Added automatic output file naming
  • Added README.md with usage and setup instructions
  • Structured contact parsing for names, phone numbers, emails, organization, and address

Checks

in the repository

  • Made no changes that degrade the functioning of the repository
  • Gave each commit a better title (clear and descriptive)

in the PR

  • Followed the format of the pull_request_template
  • Made the Pull Request at a small and focused level
  • Tested the changes made

Thank You,

[Shaun Babar]

yooung1

This comment was marked as resolved.

@shaun2006
Copy link
Author

Let me know if there are any more changes to be done.

df = pd.DataFrame(contacts)
df.to_excel(output_file, index=False)

print(f"✅ Conversion complete! Saved as {output_file}")

This comment was marked as resolved.

@yooung1
Copy link

yooung1 commented Feb 18, 2026

Let me know if there are any more changes to be done.

everything is looking good brother I just aproved your pr, you just need another persont o aprove it too because it requires two aprovals

@shaun2006
Copy link
Author

Thank you for your aproval. Hope that someone else also approves it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants