Skip to content

Latest commit

 

History

History

python_cffi

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Python (CFFI)

There are alternative options available:

using the newer jsonrpc based bindings

frameworks:

  • using deltabot (bot framework, includes features as chat command parsing)
  • using simplebot (simplebot is a maintained fork of deltabot with many plugins availible)

Installation

# Optional create virtualenv
pip3 install virtualenv
virtualenv .venv
source .venv/bin/activate
pip3 install -U pip wheel

# install deltachat
pip3 install deltachat

If it doesn't work (for example because you are not on linux), see https://py.delta.chat/cffi/install.html#installing-bindings-from-source for instructions on how to install it from source.

Usage

python echo_bot.py /tmp/db --email ADDRESS --password PASSWORD

References