You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: python_cffi/README.md
+11-5
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,10 @@
1
-
# Python
1
+
# Python (CFFI)
2
2
3
-
> There are 2 alternative options available:
3
+
> There are 3 alternative options available:
4
4
>
5
+
> using the newer [jsonrpc based bindings](../python_jsonrpc)
6
+
>
7
+
> frameworks:
5
8
> -[using deltabot](../python_deltabot_plugin) (bot framework, includes features as chat command parsing)
6
9
> -[using simplebot](../python_simplebot_plugin) (simplebot is a maintained fork of deltabot with many plugins availible)
7
10
@@ -15,8 +18,11 @@ source .venv/bin/activate
15
18
pip3 install -U pip wheel
16
19
17
20
# install deltachat
18
-
pip3 install deltachat# if it doesn't work, see https://github.com/deltachat/deltachat-core-rust/tree/master/python for instructions on how to install it from source
21
+
pip3 install deltachat
19
22
```
23
+
If it doesn't work (for example because you are not on linux),
24
+
see https://py.delta.chat/cffi/install.html#installing-bindings-from-source for instructions on how to install it from source.
> using the older legacy [cffi based bindings](../python_cffi)
6
+
>
7
+
> frameworks:
8
+
> -[using deltabot](../python_deltabot_plugin) (bot framework, includes features as chat command parsing)
9
+
> -[using simplebot](../python_simplebot_plugin) (simplebot is a maintained fork of deltabot with many plugins availible)
10
+
11
+
## Installation
12
+
13
+
```sh
14
+
# Optional create virtualenv
15
+
pip3 install virtualenv
16
+
virtualenv .venv
17
+
source .venv/bin/activate
18
+
19
+
# install rpc server
20
+
pip install deltachat-rpc-server
21
+
# install client
22
+
pip install deltachat-rpc-client
23
+
```
24
+
25
+
For alternative installation instructions refer to https://py.delta.chat/jsonrpc/install.html#install (building from souce or download prbuilds manually).
0 commit comments