A library for converting csvs to vCards
Project description
[![Downloads](http://pepy.tech/badge/csv2vcard)](http://pepy.tech/count/csv2vcard)
csv2vcard
A Python script that parses a .csv file of contacts and automatically creates vCards. The vCards are super useful for sending your contact details or those of your team. You can also upload them to e.g. Dropbox and use them with QR codes! You can also use them for transferring new contacts to Outlook, a new CRM etc. The specific use case in mind was to programmatically create vCards from a list of contacts in a spreadsheet, to be incorporated into business cards.
Usage
Install package with pip3 install csv2vcard
Create csv file with contacts
CSV file format (delimeter can be changed in csv_delimeter param, see below)
last_name, first_name, org, title, phone, email, website, street, city, p_code, country
Important: you should name the columns exactly the same way because they are used as keys to generate the vCards
cd yourcsvfoldername go to the folder where you have your csv file
Open python python3 (gotcha: using Python 3.6 features)
Import module from csv2vcard import csv2vcard
Now you have 2 options for running (both will create an /export/ dir for your vCard):
Test the app with csv2vcard.test_csv2vcard(). This will create a Forrest Gump test vCard.
Use your real data csv2vcard.csv2vcard(“yourcsvfilename”, “,”) where “,” is your csv delimeter. This will create all your vCards.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file csv2vcard-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: csv2vcard-0.2.2-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c70fbd7868afee3bbaa1ddb3ff866d0fa6068a1d34109a1b6ab9e0acfd8c1c6 |
|
MD5 | 62bc9ce4b69245a1fba29acdd6985fbe |
|
BLAKE2b-256 | 2f7e6cc31f7d6f54aa6e3db8fbfd3c124dcb741afe373d8cba5019ab61f24bd3 |