Generate vCard file from CSV
Project description
vcf-creator
Generate vCard file from CSV
Setup
Cloning the repository:
# Clone the repo
git clone https://github.com/animesh-chouhan/vcf-creator.git
cd vcf-creator
# Run the sample csv file
python3 -m vcf_creator sample.csv
Installation:
To install it right away, type:
pip3 install vcf_creator
Help:
python3 -m vcf_creator --help
Running the script:
python3 -m vcf_creator <csv-file-name>
Import the module in your project:
from vcf_creator import vcard_formatter, vcard_generator
vcard_formatter(arguments)
vcard_generator(arguments)
CSV File Instructions
- The contact CSV file can have the following headers all in smallcase:
- name
- phone
- organisation
- address
- birthday
- The headers can be in any order
- Make sure that no fields are empty
Usage example
Click on the play button to see an example download.
For more examples and usage, please refer to the Wiki.
Contributing
- Fork the repo (https://github.com/animesh-chouhan/vcf-creator/)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
License
MIT License copyright (c) 2021 Animesh Singh Chouhan. Please have a look at the license for more details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vcf-creator-1.0.7.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file vcf-creator-1.0.7.tar.gz
.
File metadata
- Download URL: vcf-creator-1.0.7.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/57.0.0 requests-toolbelt/0.8.0 tqdm/4.61.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4227727da4e30fa455e56f12bee684085252bfe71e0fbfa98c3af5a7cf9092b0 |
|
MD5 | ac48629cff7733c69c0136975583524b |
|
BLAKE2b-256 | ddc8d78f81ac75ce11cafcf78b84441287e3f724226ac80cf5bbefd001ef818c |
File details
Details for the file vcf_creator-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: vcf_creator-1.0.7-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/57.0.0 requests-toolbelt/0.8.0 tqdm/4.61.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49b945d33f7664efe752b88ce4daeb920b7f182eb0ff1c5ca480db83a57865c7 |
|
MD5 | 3954c9ccb573f452029502d398e7e9db |
|
BLAKE2b-256 | a2dbbf52edfd47c65a2cd9bb4461aff6e7f7047a5668a288723400befa101710 |