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
Running tests
# If in vc-creator folder
cd vcf_creator/tests
# Run the test
python3 test_vcf.py
Installation:
To install it right away, type:
pip3 install vcf_creator
Help:
python3 -m vcf_creator --help
OR
vcf_creator --help
Running the script:
python3 -m vcf_creator <csv-file-name>
OR
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 (mm/dd/yyyy)
- The headers can be in any order
- Make sure that no fields are empty
Usage example
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.
Metadata
Release files for vcf-creator 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vcf-creator-1.1.1.tar.gz | 5.3 kB | Without provenance | Details for vcf-creator-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vcf_creator-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for vcf_creator-1.1.1-py3-none-any.whl |
Total release size: 11.8 kB
Release files / vcf-creator-1.1.1.tar.gz
| Download URL | vcf-creator-1.1.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ab73d977d7bb598b18ba6fb218ec95e03a6e924b68d7f3846e31945c4e01bb1
|
|
BLAKE2b-256 checksum How to use checksums |
413b41e504157ee6a13cdb5cb52e0c8925a8cd89dfd9757b3969ccd803a3cb01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.61.1 CPython/3.8.10
|
Release files / vcf_creator-1.1.1-py3-none-any.whl
| Download URL | vcf_creator-1.1.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58d6e9de57559d9f647e32754cf62a3c2b22344f7175dee79ce44b4503f7d522
|
|
BLAKE2b-256 checksum How to use checksums |
b49e4984659743d5a3816bb5395c84ff0e058666e1db19aa8f637ab855e7149f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.61.1 CPython/3.8.10
|
Security for vcf-creator 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.