Skip to content

add: new features - #5

Merged
tech4242 merged 1 commit into
masterfrom
feature/v0.5.0
Apr 26, 2026
Merged

tech4242 merged 1 commit into
masterfrom
feature/v0.5.0

Conversation

@tech4242

Copy link
Copy Markdown
Owner

v0.5.0 - Power Features

File Splitting

  • --max-vcard-file-size - Split output by file size (bytes)
  • --max-vcards-per-file - Split output by contact count

Multi-type Phone Fields

  • phone_cell - Mobile/cell phone (TEL;TYPE=CELL)
  • phone_home - Home phone (TEL;TYPE=HOME)
  • phone_work - Work phone (TEL;TYPE=WORK)
  • phone_fax - Fax number (TEL;TYPE=FAX)

Multi-type Email Fields

  • email_home - Personal email (EMAIL;TYPE=HOME)
  • email_work - Work email (EMAIL;TYPE=WORK)

Multi-type Address Fields

  • home_street, home_city, home_region, home_p_code, home_country - Home address (ADR;TYPE=HOME)
  • Also accepts street_home, city_home, etc. naming convention for compatibility

Media Embedding

  • photo - Contact photo (base64 or URL)
  • logo - Company logo (base64 or URL)
  • key - Public key (base64 or URL)

New vCard Fields

  • categories - Tags/groups (comma-separated)
  • geo - Geographic coordinates (lat,lon)
  • tz - Timezone
  • key - Public key reference

Accent Stripping

  • --strip-accents / -a flag to remove diacritics (é→e, ü→u) for compatibility

Field Validation

  • Email format validation
  • Gender validation (M/F/O/N/U per vCard 4.0 spec)
  • Geo coordinate validation (lat: -90 to 90, lon: -180 to 180)

@tech4242 tech4242 mentioned this pull request Jan 14, 2026
@codecov-commenter

codecov-commenter commented Jan 14, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.50000% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.81%. Comparing base (5410669) to head (788be5f).

Files with missing lines Patch % Lines
csv2vcard/create_vcard.py 80.00% 17 Missing ⚠️
csv2vcard/export_vcard.py 93.02% 3 Missing ⚠️
csv2vcard/validators.py 92.30% 3 Missing ⚠️
csv2vcard/csv2vcard.py 71.42% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
+ Coverage   81.86%   84.81%   +2.95%     
==========================================
  Files          11       12       +1     
  Lines         568      764     +196     
==========================================
+ Hits          465      648     +183     
- Misses        103      116      +13     
Flag Coverage Δ
unittests 84.81% <87.50%> (+2.95%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
csv2vcard/__init__.py 100.00% <100.00%> (ø)
csv2vcard/cli.py 69.84% <ø> (ø)
csv2vcard/mapping.py 93.75% <ø> (ø)
csv2vcard/models.py 96.77% <100.00%> (+0.72%) ⬆️
csv2vcard/utils.py 100.00% <100.00%> (ø)
csv2vcard/csv2vcard.py 87.50% <71.42%> (-2.70%) ⬇️
csv2vcard/export_vcard.py 89.62% <93.02%> (+21.36%) ⬆️
csv2vcard/validators.py 96.25% <92.30%> (-3.75%) ⬇️
csv2vcard/create_vcard.py 84.78% <80.00%> (-4.11%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tech4242
tech4242 merged commit 693b8e2 into master Apr 26, 2026
7 checks passed
@tech4242
tech4242 deleted the feature/v0.5.0 branch April 26, 2026 16:34
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