{ "info": { "author": "holger krekel, Floris Bruynooghe, Bjoern Petersen and contributors", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Programming Language :: Python :: 3", "Topic :: Communications :: Email", "Topic :: Software Development :: Libraries" ], "description": "=========================\ndeltachat python bindings\n=========================\n\nThis package provides bindings to the deltachat-core_ Rust -library\nwhich provides imap/smtp/crypto handling as well as chat/group/messages\nhandling to Android, Desktop and IO user interfaces.\n\nInstalling pre-built packages (linux-only)\n==========================================\n\nIf you have a linux system you may install the ``deltachat`` binary \"wheel\" package\nwithout any \"build-from-source\" steps.\n\n1. `Install virtualenv `_,\n then create a fresh python environment and activate it in your shell::\n\n virtualenv -p python3 venv\n source venv/bin/activate\n\n Afterwards, invoking ``python`` or ``pip install`` will only\n modify files in your ``venv`` directory and leave your system installation\n alone.\n\n2. Install the wheel for linux::\n\n pip install deltachat\n\n Verify it worked by typing::\n\n python -c \"import deltachat\"\n\n\nInstalling a wheel from a PR/branch\n---------------------------------------\n\nFor Linux, we automatically build wheels for all github PR branches\nand push them to a python package index. To install the latest github ``master`` branch::\n\n pip install -i https://m.devpi.net/dc/master deltachat\n\n\nInstalling bindings from source\n===============================\n\nIf you can't use \"binary\" method above then you need to compile\nto core deltachat library::\n\n git clone https://github.com/deltachat/deltachat-core-rust\n cd deltachat-core-rust\n cargo build -p deltachat_ffi --release\n\nThis will result in a ``libdeltachat.so`` and ``libdeltachat.a`` files\nin the ``target/release`` directory. These files are needed for\ncreating the python bindings for deltachat::\n\n cd python\n DCC_RS_DEV=`pwd`/.. pip install -e .\n\nNow test if the bindings find the correct library::\n\n python -c 'import deltachat ; print(deltachat.__version__)'\n\nThis should print your deltachat bindings version.\n\n.. note::\n\n If you can help to automate the building of wheels for Mac or Windows,\n that'd be much appreciated! please then get\n `in contact with us `_.\n\nUsing a system-installed deltachat-core-rust\n--------------------------------------------\n\nWhen calling ``pip`` without specifying the ``DCC_RS_DEV`` environment\nvariable cffi will try to use a ``deltachat.h`` from a system location\nlike ``/usr/local/include`` and will try to dynamically link against a\n``libdeltachat.so`` in a similar location (e.g. ``/usr/local/lib``).\n\n\nCode examples\n=============\n\nYou may look at `examples `_.\n\n\nRunning tests\n=============\n\nGet a checkout of the `deltachat-core-rust github repository`_ and type::\n\n pip install tox\n ./run-integration-tests.sh\n\nIf you want to run functional tests with real\ne-mail test accounts, generate a \"liveconfig\" file where each\nlines contains test account settings, for example::\n\n # 'liveconfig' file specifying imap/smtp accounts\n addr=some-email@example.org mail_pw=password\n addr=other-email@example.org mail_pw=otherpassword\n\nThe \"keyword=value\" style allows to specify any\n`deltachat account config setting `_ so you can also specify smtp or imap servers, ports, ssl modes etc.\nTypically DC's automatic configuration allows to not specify these settings.\n\nThe ``run-integration-tests.sh`` script will automatically use\n``python/liveconfig`` if it exists, to manually run tests with this\n``liveconfig`` file use::\n\n tox -- --liveconfig liveconfig\n\n\n.. _`deltachat-core-rust github repository`: https://github.com/deltachat/deltachat-core-rust\n.. _`deltachat-core`: https://github.com/deltachat/deltachat-core-rust\n\nRunning test using a debug build\n--------------------------------\n\nIf you need to examine e.g. a coredump you may want to run the tests\nusing a debug build::\n\n DCC_RS_TARGET=debug ./run-integration-tests.sh -e py37 -- -x -v -k failing_test\n\n\nBuilding manylinux1 wheels\n==========================\n\nBuilding portable manylinux1 wheels which come with libdeltachat.so\nand all it's dependencies is easy using the provided docker tooling.\n\nusing docker pull / premade images\n------------------------------------\n\nWe publish a build environment under the ``deltachat/wheel`` tag so\nthat you can pull it from the ``hub.docker.com`` site's \"deltachat\"\norganization::\n\n $ docker pull deltachat/wheel\n\nThe ``deltachat/wheel`` image can be used to build both libdeltachat.so\nand the Python wheels::\n\n $ docker run --rm -it -v $(pwd):/io/ deltachat/wheel /io/python/wheelbuilder/build-wheels.sh\n\nThis command runs a script within the image, after mounting ``$(pwd)`` as ``/io`` within\nthe docker image. The script is specified as a path within the docker image's filesystem.\nThe resulting wheel files will be in ``python/wheelhouse``.\n\n\nOptionally build your own docker image\n--------------------------------------\n\nIf you want to build your own custom docker image you can do this::\n\n $ cd deltachat-core # cd to deltachat-core checkout directory\n $ docker build -t deltachat/wheel python/wheelbuilder/\n\nThis will use the ``python/wheelbuilder/Dockerfile`` to build\nup docker image called ``deltachat/wheel``. You can afterwards\nfind it with::\n\n $ docker images\n\n\nTroubleshooting\n---------------\n\nOn more recent systems running the docker image may crash. You can\nfix this by adding ``vsyscall=emulate`` to the Linux kernel boot\narguments commandline. E.g. on Debian you'd add this to\n``GRUB_CMDLINE_LINUX_DEFAULT`` in ``/etc/default/grub``.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "deltachat", "package_url": "https://pypi.org/project/deltachat/", "platform": "", "project_url": "https://pypi.org/project/deltachat/", "project_urls": null, "release_url": "https://pypi.org/project/deltachat/0.600.0/", "requires_dist": [ "cffi (>=1.0.0)", "attrs", "six" ], "requires_python": "", "summary": "Python bindings for the Delta Chat Core library using CFFI against the Rust-implemented libdeltachat", "version": "0.600.0" }, "last_serial": 5512624, "releases": { "0.5.dev0": [ { "comment_text": "", "digests": { "md5": "f5076c7c3bc3029e610f703e26a0fa20", "sha256": "fa4624405da59a80a81b73b96fb01fc3f635a16feaa5bf69b08c297c7faf7c01" }, "downloads": -1, "filename": "deltachat-0.5.dev0.tar.gz", "has_sig": false, "md5_digest": "f5076c7c3bc3029e610f703e26a0fa20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7403, "upload_time": "2018-09-14T10:09:48", "url": "https://files.pythonhosted.org/packages/2d/c7/478cd3b7d2c506bdb457d13c1eeb4b58829f306bed8ca773c8690e3e4dff/deltachat-0.5.dev0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "7eca132a361bb83627afb8cf3f69cafb", "sha256": "5218e72dd3d8c204655b44133a2e71dda0a0361875ccee042ba9d6fe770d38b6" }, "downloads": -1, "filename": "deltachat-0.6.0.tar.gz", "has_sig": false, "md5_digest": "7eca132a361bb83627afb8cf3f69cafb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14523, "upload_time": "2018-09-27T14:50:44", "url": "https://files.pythonhosted.org/packages/ee/92/5c7be5342540fa3d235ec844ae84505c5db1ef322263ff149621dfe119b8/deltachat-0.6.0.tar.gz" } ], "0.600.0": [ { "comment_text": "", "digests": { "md5": "fc04533ed11bd3b16ad14c98a4172dbd", "sha256": "28cc7863fd1c19218f6cc9e7964bc60c949a23a1b3f15d36f6ae2759271c0851" }, "downloads": -1, "filename": "deltachat-0.600.0-cp27-cp27m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "fc04533ed11bd3b16ad14c98a4172dbd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9352485, "upload_time": "2019-07-10T15:15:23", "url": "https://files.pythonhosted.org/packages/a8/1b/d685a6d4fea152cb6e41cef3f221eaaf05b89d9fc0eaa5e9c55750e77957/deltachat-0.600.0-cp27-cp27m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "8df920ad324b6961d1ec129ed314974d", "sha256": "1feb338dd5baf4b5a5cfd3fad5d28101cef556919c6bcba36a8fb12bdd15238c" }, "downloads": -1, "filename": "deltachat-0.600.0-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "8df920ad324b6961d1ec129ed314974d", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 9349086, "upload_time": "2019-07-10T15:15:38", "url": "https://files.pythonhosted.org/packages/11/6f/e554436c6d8a2346c6337077386660bf0753ca029b58b1d71ba2ef02c209/deltachat-0.600.0-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "039ad26265bf1ff72c32ea58808be72b", "sha256": "db95ed6ed8d8f9e8235be0b8ff362cd51d2b7172319030bbe15a77354487c91d" }, "downloads": -1, "filename": "deltachat-0.600.0-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "039ad26265bf1ff72c32ea58808be72b", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9348988, "upload_time": "2019-07-10T15:15:29", "url": "https://files.pythonhosted.org/packages/16/ec/4d5e089785e2e21c1fc400684beb2f82379663cd4d23a7369059b8dafdb3/deltachat-0.600.0-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "50e92c001655974957ba91d5f7f95676", "sha256": "607c22d37d7ec48f27e9f25f50a2c9220cc42067ceb18b4cc5e72de6ce145591" }, "downloads": -1, "filename": "deltachat-0.600.0-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "50e92c001655974957ba91d5f7f95676", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 9349004, "upload_time": "2019-07-10T15:15:33", "url": "https://files.pythonhosted.org/packages/eb/ca/3b07ec05540e425bff11dd044cc953d1be4abe5c406d8e965cc8c3660666/deltachat-0.600.0-cp37-cp37m-manylinux1_x86_64.whl" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "a427ba14a307ef370020c230a9df6636", "sha256": "f2982fb8a7a1f1205be9f400b1ed7e113c1620602fdecca8965dde901dd12e1b" }, "downloads": -1, "filename": "deltachat-0.7.0.tar.gz", "has_sig": false, "md5_digest": "a427ba14a307ef370020c230a9df6636", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17402, "upload_time": "2018-10-08T14:25:05", "url": "https://files.pythonhosted.org/packages/a6/de/0ff8ff6b8c627c341ed3bde0aaea77efdccec802603c54429034f1731507/deltachat-0.7.0.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "7922e062a4812e36b590897b50969901", "sha256": "ca33ddea54f60021f052617ee1952d733c3f9618c004192cc85fb7734872fe9a" }, "downloads": -1, "filename": "deltachat-0.7.1.tar.gz", "has_sig": false, "md5_digest": "7922e062a4812e36b590897b50969901", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17504, "upload_time": "2018-10-08T15:07:22", "url": "https://files.pythonhosted.org/packages/59/65/9d5d3d44a98d7d434d9e71883159b8a43f0feff800bb31932197e830a8f8/deltachat-0.7.1.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "e11aafb5076cad64b7b65ad31f40222f", "sha256": "cc388842612fcf21c79063011d4109d7ba5cb61f1768b9cbd7e228d6d43611a2" }, "downloads": -1, "filename": "deltachat-0.8.0.tar.gz", "has_sig": false, "md5_digest": "e11aafb5076cad64b7b65ad31f40222f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18036, "upload_time": "2018-10-17T10:52:24", "url": "https://files.pythonhosted.org/packages/e1/82/66c919970d8cac4de659a8550ca5d4036df73a5a46443273bbf7d419c52b/deltachat-0.8.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fc04533ed11bd3b16ad14c98a4172dbd", "sha256": "28cc7863fd1c19218f6cc9e7964bc60c949a23a1b3f15d36f6ae2759271c0851" }, "downloads": -1, "filename": "deltachat-0.600.0-cp27-cp27m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "fc04533ed11bd3b16ad14c98a4172dbd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9352485, "upload_time": "2019-07-10T15:15:23", "url": "https://files.pythonhosted.org/packages/a8/1b/d685a6d4fea152cb6e41cef3f221eaaf05b89d9fc0eaa5e9c55750e77957/deltachat-0.600.0-cp27-cp27m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "8df920ad324b6961d1ec129ed314974d", "sha256": "1feb338dd5baf4b5a5cfd3fad5d28101cef556919c6bcba36a8fb12bdd15238c" }, "downloads": -1, "filename": "deltachat-0.600.0-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "8df920ad324b6961d1ec129ed314974d", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 9349086, "upload_time": "2019-07-10T15:15:38", "url": "https://files.pythonhosted.org/packages/11/6f/e554436c6d8a2346c6337077386660bf0753ca029b58b1d71ba2ef02c209/deltachat-0.600.0-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "039ad26265bf1ff72c32ea58808be72b", "sha256": "db95ed6ed8d8f9e8235be0b8ff362cd51d2b7172319030bbe15a77354487c91d" }, "downloads": -1, "filename": "deltachat-0.600.0-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "039ad26265bf1ff72c32ea58808be72b", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9348988, "upload_time": "2019-07-10T15:15:29", "url": "https://files.pythonhosted.org/packages/16/ec/4d5e089785e2e21c1fc400684beb2f82379663cd4d23a7369059b8dafdb3/deltachat-0.600.0-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "50e92c001655974957ba91d5f7f95676", "sha256": "607c22d37d7ec48f27e9f25f50a2c9220cc42067ceb18b4cc5e72de6ce145591" }, "downloads": -1, "filename": "deltachat-0.600.0-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "50e92c001655974957ba91d5f7f95676", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 9349004, "upload_time": "2019-07-10T15:15:33", "url": "https://files.pythonhosted.org/packages/eb/ca/3b07ec05540e425bff11dd044cc953d1be4abe5c406d8e965cc8c3660666/deltachat-0.600.0-cp37-cp37m-manylinux1_x86_64.whl" } ] }