Python library to convert between Abook and vCard
=================================================
* Reads and writes `Abook <http://abook.sourceforge.net/>`_ files.
* Saves photo to ~/.abook/photo/NAME.jpeg (if directory is present).
Configuration
-------------
::
field other = Other
view CONTACT = name, email
view ADDRESS = address, address2, city, state, zip, country
view PHONE = phone, workphone, mobile, other
view OTHER = nick, url, notes
Install
------------------
::
git clone https://github.com/jspricke/python-abook.git
cd python-abook
# builds the library (for use in your own scripts)
python3 setup.py build
# installs executables `abook2vcf` `vcf2abook` to $PATH
# mac (/opt/homebrew/bin)
python3 setup.py install
Usage
-----
python-abook converts vcards (.vcf files) and writes them to your abook addressbook.
It can also handle .vcf files containing multiple contacts.
Additionally python-abook can convert your abook addressbook to .vcf format:
::
# convert your address book to vcf (one vcf file contatining all contacts)
$ abook2vcf --help
$ abook2vcf ~/path/to/abook/addressbook ~/path/to/write/contacts.vcf
# ommit the output file to print results to stdout
$ abook2vcf ~/path/to/abook/addressbook
# convert vcf contact/s and write them to your addressbook
$ vcf2abook --help
$ vcf2abook ~/path/to/contact.vcf ~/path/to/abook/addressbook
Raw data
{
"_id": null,
"home_page": "https://github.com/jspricke/python-abook",
"name": "abook",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Abook",
"author": "Jochen Sprickerhof",
"author_email": "abook@jochen.sprickerhof.de",
"download_url": "https://files.pythonhosted.org/packages/f0/bb/b66054a69c150bcb79643ada283384ff6b11e2d38a8d9fbace9fbace92db/abook-0.9.1.tar.gz",
"platform": null,
"description": "Python library to convert between Abook and vCard\n=================================================\n\n* Reads and writes `Abook <http://abook.sourceforge.net/>`_ files.\n* Saves photo to ~/.abook/photo/NAME.jpeg (if directory is present).\n\nConfiguration\n-------------\n\n::\n\n field other = Other\n view CONTACT = name, email\n view ADDRESS = address, address2, city, state, zip, country\n view PHONE = phone, workphone, mobile, other\n view OTHER = nick, url, notes\n\nInstall\n------------------\n\n:: \n\n git clone https://github.com/jspricke/python-abook.git\n cd python-abook\n\n # builds the library (for use in your own scripts)\n python3 setup.py build\n\n # installs executables `abook2vcf` `vcf2abook` to $PATH \n # mac (/opt/homebrew/bin)\n python3 setup.py install\n\nUsage\n-----\n\npython-abook converts vcards (.vcf files) and writes them to your abook addressbook. \nIt can also handle .vcf files containing multiple contacts. \nAdditionally python-abook can convert your abook addressbook to .vcf format:\n\n:: \n\n # convert your address book to vcf (one vcf file contatining all contacts)\n\n $ abook2vcf --help\n $ abook2vcf ~/path/to/abook/addressbook ~/path/to/write/contacts.vcf\n\n # ommit the output file to print results to stdout\n\n $ abook2vcf ~/path/to/abook/addressbook\n\n\n # convert vcf contact/s and write them to your addressbook\n\n $ vcf2abook --help\n $ vcf2abook ~/path/to/contact.vcf ~/path/to/abook/addressbook\n\n\n",
"bugtrack_url": null,
"license": "GPLv3+",
"summary": "Python library to convert between Abook and vCard",
"version": "0.9.1",
"project_urls": {
"Homepage": "https://github.com/jspricke/python-abook"
},
"split_keywords": [
"abook"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f10ff689cc74bb3f5fd9787b349f9de4bdbaaeee76ebb4ea473c0745d38b9856",
"md5": "72171ba982ecfcb2d5db4eea57791aef",
"sha256": "bbe2b660881a2a9e328804cb05ddcd2ae6dc0904d23d5763a5e4f4d29936858a"
},
"downloads": -1,
"filename": "abook-0.9.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "72171ba982ecfcb2d5db4eea57791aef",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 17146,
"upload_time": "2024-09-09T08:04:31",
"upload_time_iso_8601": "2024-09-09T08:04:31.955407Z",
"url": "https://files.pythonhosted.org/packages/f1/0f/f689cc74bb3f5fd9787b349f9de4bdbaaeee76ebb4ea473c0745d38b9856/abook-0.9.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f0bbb66054a69c150bcb79643ada283384ff6b11e2d38a8d9fbace9fbace92db",
"md5": "2b7500b4f8bb1c0318662ee5cc5b8fcd",
"sha256": "2a08abceff7a36e5a098a71d8c0ed346ede440bcdd5d9ea88f039969af036601"
},
"downloads": -1,
"filename": "abook-0.9.1.tar.gz",
"has_sig": false,
"md5_digest": "2b7500b4f8bb1c0318662ee5cc5b8fcd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 16864,
"upload_time": "2024-09-09T08:04:33",
"upload_time_iso_8601": "2024-09-09T08:04:33.430264Z",
"url": "https://files.pythonhosted.org/packages/f0/bb/b66054a69c150bcb79643ada283384ff6b11e2d38a8d9fbace9fbace92db/abook-0.9.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-09 08:04:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jspricke",
"github_project": "python-abook",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "abook"
}