用于以excel文件生成.vcf通讯录导入文件
Project description
make_vcard
这是一个将xlsx文件转化为通讯录导入(.vcf)文件的py程序。
安装
pip install make_vcard
基本使用方法
python -m make_vcard inputFileName.xlsx
HTELP
usage: make_vcard [-h] [--example] [--sheet SHEET] [--filetype FILETYPE] [-o O] inputFileName
基本用法 python -m make_vcard inputFileName.xlsx [-o outputFileName]
positional arguments:
inputFileName 指定读取的文件
optional arguments:
-h, --help show this help message and exit
--example 生成示例excel文件;
--sheet SHEET 指定读取哪张表;默认为第一张表
--filetype FILETYPE 指定文件类型(默认为excel)只可以指定为 csv
-o O 输出保存的文件名;不需要加后缀!
注意:不同设备对 字段 的支持不一样,可能您按照这个规则并不会得到您想要的结果!
说明
只有 姓名和电话 是必要的,其它是可以任意组合
有 电话, 邮箱, 网址, 地址 是可以重复出现的;其规则是 名称+数字;例: 电话A
可重复出现的数据可定义其类型
电话的类型有:优先,住宅,工作,单元,传真,其它
邮箱的类型有:住宅,工作,其它
网址的类型有:住宅,工作,其它
地址的类型有:住宅,工作,其它,邮寄
例如: 邮箱(住宅)
例如: 网址(工作)
注意:不同设备对 字段 的支持不一样,可能您按照这个规则并不会得到您想要的结果!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
make_vcard-1.0.2.tar.gz
(6.4 kB
view details)
File details
Details for the file make_vcard-1.0.2.tar.gz
.
File metadata
- Download URL: make_vcard-1.0.2.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce507f75a2cb0f89659dbe22a006e763d1824327aa5432a5515bc7df0dc1b414 |
|
MD5 | 767a402ac4a1dc490f93f9ca27e2a980 |
|
BLAKE2b-256 | f3deb6fce33bdf3f63338f9b61bca676d8d12a30f2b769093ed4872bb1cf0b24 |