vcf2ldif


Namevcf2ldif JSON
Version 0.0.6 PyPI version JSON
download
home_page
SummaryThis tool is designed to convert *.vcf (vCard) contact files to *.ldif file, for further creation of shared phone books on LDAP server.
upload_time2023-12-11 16:19:58
maintainer
docs_urlNone
author
requires_python>=3.7.0
license
keywords
VCS
bugtrack_url
requirements click importlib-metadata phonenumbers python-dateutil six typing-extensions vobject zipp
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # vCard to ldif converter


This tool is designed to convert `*.vcf` (vCard) contact files to `*.ldif` file, for further creation of shared phone books on `LDAP` server.

## Installation
`pip install vcf2ldif`

## Usage
```
vcf2ldif \
    --input-file path/to/input_file.vcf \
    --root-dn ou=adressbook,dc=example,dc=com \
    --output-file path/to/output_file.ldif
```
You can import the resulting ldif file into your LDAP server (e.g. OpenLDAP) with the following command:
```
 ldapmodify -c -D "cn=admin,dc=example,dc=com" -W -f path/to/output_file.ldif
```
When converting, you can also format phone numbers according to the following standards:

* e164 (e.g.: `+18868886421`) by adding the option `--format-number e164`
* international (e.g.: `+1 886-888-6421`) by adding the option `--format-number international`
* national (e.g.: (e.g.: `(886) 888-6421`) by adding the option `--format-number rnational`

You can learn more by invoking the command with the `--help` option
```
vcf2ldif --help
```




            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "vcf2ldif",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "Katulos <katulos@protonmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ae/23/133c3cb8c9d6b89518a83b17186f778807029ac6a1153e7e8cd642c1193d/vcf2ldif-0.0.6.tar.gz",
    "platform": null,
    "description": "# vCard to ldif converter\n\n\nThis tool is designed to convert `*.vcf` (vCard) contact files to `*.ldif` file, for further creation of shared phone books on `LDAP` server.\n\n## Installation\n`pip install vcf2ldif`\n\n## Usage\n```\nvcf2ldif \\\n    --input-file path/to/input_file.vcf \\\n    --root-dn ou=adressbook,dc=example,dc=com \\\n    --output-file path/to/output_file.ldif\n```\nYou can import the resulting ldif file into your LDAP server (e.g. OpenLDAP) with the following command:\n```\n ldapmodify -c -D \"cn=admin,dc=example,dc=com\" -W -f path/to/output_file.ldif\n```\nWhen converting, you can also format phone numbers according to the following standards:\n\n* e164 (e.g.: `+18868886421`) by adding the option `--format-number e164`\n* international (e.g.: `+1 886-888-6421`) by adding the option `--format-number international`\n* national (e.g.: (e.g.: `(886) 888-6421`) by adding the option `--format-number rnational`\n\nYou can learn more by invoking the command with the `--help` option\n```\nvcf2ldif --help\n```\n\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "This tool is designed to convert *.vcf (vCard) contact files to *.ldif file, for further creation of shared phone books on LDAP server.",
    "version": "0.0.6",
    "project_urls": {
        "Documentation": "https://github.com/katulos/vcf2ldif/tree/master#readme",
        "Home": "https://github.com/katulos/vcf2ldif",
        "Source": "https://github.com/katulos/vcf2ldif",
        "Tracker": "https://github.com/katulos/vcf2ldif/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "969931bc851ee372412596a218c2505fa19ae9c8c96065cdf05b90c01fdacb09",
                "md5": "1162461c958123f37475d9394c2f17ce",
                "sha256": "4f3def406614a467dad40904bced03f591075c3784dc72ae62d52afe4ba72f80"
            },
            "downloads": -1,
            "filename": "vcf2ldif-0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1162461c958123f37475d9394c2f17ce",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7.0",
            "size": 4089,
            "upload_time": "2023-12-11T16:19:57",
            "upload_time_iso_8601": "2023-12-11T16:19:57.507272Z",
            "url": "https://files.pythonhosted.org/packages/96/99/31bc851ee372412596a218c2505fa19ae9c8c96065cdf05b90c01fdacb09/vcf2ldif-0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ae23133c3cb8c9d6b89518a83b17186f778807029ac6a1153e7e8cd642c1193d",
                "md5": "2e62f8ac0dce60495b69ea348dbfd80d",
                "sha256": "8d825ec42b8a46315b64f8b5c6f7492d169ef1f3b0702a566d0bc5f8defbb6a1"
            },
            "downloads": -1,
            "filename": "vcf2ldif-0.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "2e62f8ac0dce60495b69ea348dbfd80d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7.0",
            "size": 5614,
            "upload_time": "2023-12-11T16:19:58",
            "upload_time_iso_8601": "2023-12-11T16:19:58.996110Z",
            "url": "https://files.pythonhosted.org/packages/ae/23/133c3cb8c9d6b89518a83b17186f778807029ac6a1153e7e8cd642c1193d/vcf2ldif-0.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-11 16:19:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "katulos",
    "github_project": "vcf2ldif",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "click",
            "specs": [
                [
                    "==",
                    "8.1.7"
                ]
            ]
        },
        {
            "name": "importlib-metadata",
            "specs": [
                [
                    "==",
                    "6.7.0"
                ]
            ]
        },
        {
            "name": "phonenumbers",
            "specs": [
                [
                    "==",
                    "8.13.26"
                ]
            ]
        },
        {
            "name": "python-dateutil",
            "specs": [
                [
                    "==",
                    "2.8.2"
                ]
            ]
        },
        {
            "name": "six",
            "specs": [
                [
                    "==",
                    "1.16.0"
                ]
            ]
        },
        {
            "name": "typing-extensions",
            "specs": [
                [
                    "==",
                    "4.7.1"
                ]
            ]
        },
        {
            "name": "vobject",
            "specs": [
                [
                    "==",
                    "0.9.6.1"
                ]
            ]
        },
        {
            "name": "zipp",
            "specs": [
                [
                    "==",
                    "3.15.0"
                ]
            ]
        }
    ],
    "lcname": "vcf2ldif"
}
        
Elapsed time: 0.16944s