Python library to convert between Abook and vCard
Reads and writes Abook 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
Metadata
Release files for abook 0.9.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 |
|---|---|---|---|---|
| abook-0.9.1.tar.gz | 16.9 kB | Without provenance | Details for abook-0.9.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| abook-0.9.1-py3-none-any.whl | Python 3 | none | any | Details for abook-0.9.1-py3-none-any.whl |
Total release size: 34.0 kB
Release files / abook-0.9.1.tar.gz
| Download URL | abook-0.9.1.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a08abceff7a36e5a098a71d8c0ed346ede440bcdd5d9ea88f039969af036601
|
|
BLAKE2b-256 checksum How to use checksums |
f0bbb66054a69c150bcb79643ada283384ff6b11e2d38a8d9fbace9fbace92db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / abook-0.9.1-py3-none-any.whl
| Download URL | abook-0.9.1-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bbe2b660881a2a9e328804cb05ddcd2ae6dc0904d23d5763a5e4f4d29936858a
|
|
BLAKE2b-256 checksum How to use checksums |
f10ff689cc74bb3f5fd9787b349f9de4bdbaaeee76ebb4ea473c0745d38b9856
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for abook 0.9.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.