Skip to main content

build status codecov PyPI version PyPI - Python Version PyPI - License PyPI - Format PyPI - Wheel

vcf-generator

A simple VCF generator. Generate VCF files with random data.

Installation

Using pip:

pip install vcf-generator

Quick Start

$ vcf-generator vcards --output-file test.vcf --num_contacts 1000
$ vcf-generator contacts_str --output-file test.txt --num_contacts 1000

Command Line Interface

$ vcf-generator --help
Usage: vcf-generator [OPTIONS] COMMAND [ARGS]...
Options:
  --help  Show this message and exit.
Commands:
    contacts_str  Generate contacts as string
    vcards        Generate contacts in VCF format (4.0)

See help for each command:

$ vcf-generator COMMAND --help
Usage: vcf-generator COMMAND [OPTIONS]
  Generate contacts in VCF format (4.0)
Options:
    -o, --output-file TEXT  Output file  [optional]
    -n, --num_contacts INTEGER  Number of contacts to generate  [optional]
    --help              Show this message and exit.

Examples

Generate VCF data with 1 contact

$ vcf-generator vcards

The above command will generate 1 contact as a VCF string and print the content to the console:

BEGIN:VCARD
VERSION:4.0
N:None;Laura;Valerie;;Miss
FN:Laura Valerie
TITLE:Miss
TEL;TYPE#HOME,voice;VALUE#uri:tel:+859-422-5863580
TEL;TYPE#MOBILE,voice;VALUE#uri:tel:+528-463-7642962
TEL;TYPE#MOBILE,voice;VALUE#uri:tel:+51-666-1415776
ADR;TYPE#WORK;PREF#1;LABEL#13962 Casey Spring Suite 931
Xavierfurt, VT 65391
Suriname:;;13962 Casey Spring Suite 931;Xavierfurt;VT;65391;Suriname
ADR;TYPE#OTHER;PREF#2;LABEL#33446 Deanna Prairie Apt. 140
Mcguireport, NJ 64518
Tokelau:;;33446 Deanna Prairie Apt. 140;Mcguireport;NJ;64518;Tokelau
BDAY:1959-08-06
EMAIL:caleb93@example.org
EMAIL:christopherblankenship@example.org
EMAIL:michaelwhite@example.org
END:VCARD

Generate 1 contact as string

$ vcf-generator contacts_str

The above command will generate 1 contact information and print the content to the console:

Name: Charles Rebekah - Ind.
DOB: 1953-11-18
Phone Numbers: HOME: +738 (250) 705-2590. OTHER: +432 (509) 404-8152. MOBILE: +601 (647) 746-1060
Emails: OTHER: daniel03@example.org
Addresses: OTHER: 557 Ruiz Avenue, 7934 Westmouth, KY 56508 Guyana

Metadata

Release files for vcf-generator 1.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vcf-generator 1.1.7
File Size Uploaded Provenance Actions
vcf_generator-1.1.7.tar.gz 9.3 kB Without provenance Details for vcf_generator-1.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vcf-generator 1.1.7
File Interpreter ABI Platform Actions
vcf_generator-1.1.7-py3-none-any.whl Python 3 none any Details for vcf_generator-1.1.7-py3-none-any.whl

Total release size: 17.7 kB

Release files / vcf_generator-1.1.7.tar.gz

Download URL vcf_generator-1.1.7.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5ee4a4b1067989e9b44824cdee90b178fc4211ca1d2fe5482655e36ceb268093
BLAKE2b-256 checksum
How to use checksums
8198686c6b5c2cdc91baa4e04543e516798367f976a7a59cfe06ec9a768d2778
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / vcf_generator-1.1.7-py3-none-any.whl

Download URL vcf_generator-1.1.7-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e107ec89092a8ea1b2e31c13fd9ac4f442df53a57e406e34b2a89b34896dca3b
BLAKE2b-256 checksum
How to use checksums
fadb9873374710eeba9c9278e97180328f37e2d4ad992baee9882a5368120749
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.2

Security for vcf-generator 1.1.7

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page