Python bindings for deltachat-core using CFFI
This package provides bindings to the deltachat-core C-library which provides imap/smtp/crypto handling as well as chat/group/messages handling to Android, Desktop and IO user interfaces.
First you need to install the delta-core C-library.
Install virtualenv if you don’t have it, then create and use a fresh clean python environment:
virtualenv -p python3 venv source venv/bin/activate
Afterwards invoking python or pip install will only modify files in your venv directory.
Install the bindings with pip:
pip install deltachat
Afterwards you should be able to successfully import the bindings:
python -c "import deltachat"
You may now look at examples.
Get a checkout of the deltachat-core github repository and type:
cd python 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 email@example.com mail_pw=password firstname.lastname@example.org mail_pw=otherpassword
And then run the tests with this live-accounts config file:
tox -- --liveconfig liveconfig
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size deltachat-0.8.0.tar.gz (18.0 kB)||File type Source||Python version None||Upload date||Hashes View hashes|