Catalog PyPI
Back to packageRELEASE DETAILS

0.9.1

PyPI

abook

Python library to convert between Abook and vCard

abook
Published9 Sept 2024
Direct dependencies1
Transitive dependenciesNot calculated

README

Version 0.9.1 documentation
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


Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
vobject
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
vobjectruntime

Distribution files

2 collected
abook-0.9.1-py3-none-any.whl

bdist_wheel · 16.74 KB · Python py3

Source file
abook-0.9.1.tar.gz

sdist · 16.47 KB · Python source

Source file

Repository

ACCESSIBLE
jspricke/python-abook

Shared repository data · GitHub

License detected in repository
GPL-3.0
License branch / ref
master
Last push
9 Sept 2024
Archived
No
Contributor identities
— · partial collection

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

4count
Gauge · observed snapshots22 Oct 2026
420
2026-10-22: 4 · observed 2026-10-22T16:42:15.8557683Z
22 Oct22 Oct

github · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-2242026-10-22T16:42:15.8557683Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:32 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:28c4305b0167cc327e8d6ea707e493c5c6d08037ac6bed3cb04914df5fd97f52

Other collected versions

View all collected versions →