deltachat-rpc-client 1.139.6
pip install deltachat-rpc-client==1.139.6
Released:
Python client for Delta Chat core JSON-RPC interface
Navigation
Unverified details
These details have not been verified by PyPIClassifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
Delta Chat RPC python client
RPC client connects to standalone Delta Chat RPC server deltachat-rpc-server
and provides asynchronous interface to it.
Getting started
To use Delta Chat RPC client, first build a deltachat-rpc-server
with cargo build -p deltachat-rpc-server
or download a prebuilt release.
Install it anywhere in your PATH
.
Create a virtual environment if you don't have one already and activate it.
$ python -m venv env
$ . env/bin/activate
Install deltachat-rpc-client
from source:
$ cd deltachat-rpc-client
$ pip install .
Testing
- Build
deltachat-rpc-server
withcargo build -p deltachat-rpc-server
. - Run
CHATMAIL_DOMAIN=nine.testrun.org PATH="../target/debug:$PATH" tox
.
Additional arguments to tox
are passed to pytest, e.g. tox -- -s
does not capture test output.
Using in REPL
Setup a development environment:
$ tox --devenv env
$ . env/bin/activate
$ python
>>> from deltachat_rpc_client import *
>>> rpc = Rpc()
>>> rpc.start()
>>> dc = DeltaChat(rpc)
>>> system_info = dc.get_system_info()
>>> system_info["level"]
'awesome'
>>> rpc.close()
Project details
Unverified details
These details have not been verified by PyPIClassifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file deltachat_rpc_client-1.139.6.tar.gz
.
File metadata
- Download URL: deltachat_rpc_client-1.139.6.tar.gz
- Upload date:
- Size: 40.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41c7cbc3b04e261d5308ae2a6bf1772ef7c2c6edf3a2305788d509552a349f97 |
|
MD5 | 401f169999eed74e9ceacfb88aae5ad0 |
|
BLAKE2b-256 | 4b03e936972ae6363e5b3f3e6eeabb619beb6799356ad4da1642c9b8d06341fd |
File details
Details for the file deltachat_rpc_client-1.139.6-py3-none-any.whl
.
File metadata
- Download URL: deltachat_rpc_client-1.139.6-py3-none-any.whl
- Upload date:
- Size: 32.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9737ef97e1c0d5102e0ee6a34bd864b644c39062d931afb3e5e9593cee15210e |
|
MD5 | dec135d91c3749276839f7659f183d22 |
|
BLAKE2b-256 | f047867022490af8691255264cd5ceb0a0489d79a01ab29770e23959aff4d71a |