Skip to main content

Python bindings for deltachat-core using CFFI

Project description

This package provides bindings to the delta-core C-library which provides imap/smtp/crypto handling as well as chat/group/messages handling to Android, Desktop and IO user interfaces.

Install

Note

Currently the install instructions exist only for Debian based systems (Ubuntu etc.).

First you need to execute all the build steps to install the delta-core C-library, see https://github.com/deltachat/deltachat-core/blob/master/README.md#build

Next, you need to perform:

pip install -e .

Afterwards you should be able to successfully import the bindings:

python -c "import deltachat"

Running tests

Install the delta-core C-library and the deltachat bindings (see _Install) and then type the following to execute tests:

pip install tox
tox

If you want to run functional tests that run against real e-mail accounts, generate a “liveconfig” file where each lines contains account settings, for example:

# 'liveconfig' file specifying imap/smtp accounts
addr=some-email@example.org mail_pw=password
addr=other-email@example.org mail_pw=otherpassword

And then run the tests with this live-accounts config file:

tox -- --liveconfig liveconfig

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for deltachat, version 0.5.dev0
Filename, size File type Python version Upload date Hashes
Filename, size deltachat-0.5.dev0.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page