Another xmppsend script
Project description
Sendi
Sendi is just another xmppsend script. Sendi is based on python slixmpp library and support fews modern features like HTTP Upload and Omemo.
Dev install
Install pyinvoke and then:
pip install invoke
invoke init
Run python code:
invoke build
# Typer Cli
rye run sendi
CONFIG_NAME="user"
CONFIG_PATH="config.toml"
TARGET="receiver@localhost"
rye run sendi $CONFIG_NAME $TARGET --config-file=$CONFIG_PATH --message="Ping !" --file-path=tests/test_image.jpg
Install Using Container(podman):
CONFIG_NAME="user"
CONFIG_PATH="config.toml"
TARGET="receiver@localhost"
invoke build
invoke build-container
podman run -v $PWD:/mnt localhost/sendi $CONFIG_NAME $TARGET --config-file=/mnt/$CONFIG_PATH --message="Ping !" --file-path=/mnt/tests/test_image.jpg
Experimental: Install as Deb using Wheel2deb.
Use this method only if you know what you are doing, this may break your system. I tested this only in debian-bookworm.
invoke init-deb
invoke build-deb
cd deb
ls -la *.deb
# Only 5 lib from the huge number of generated lib are require to make sendi work.
# I prefer to keep debian as standard as possible.
sudo apt install ./python3-twomemo_1.0.4-1~w2d0_all.deb ./python3-oldmemo_1.0.4-1~w2d0_all.deb
sudo apt install ./python3-slixmpp_1.8.5-1\~w2d0_all.deb
sudo apt install ./python3-slixmpp-omemo_1.0.0-1~w2d0_all.deb
sudo apt install ./python3-sendi_0.1.0-1~w2d0_all.deb
FAQ ?
- Why this name, sendi ?
It's an esperanto verb: https://en.wiktionary.org/wiki/sendi
- Why AGPL v3 ?
I used slixmpp, slixmpp-omemo and reuse some part of the old apprise xmpp plugin which as been dropped. The license rule make possible to release all the stuff only under the agplv3 license which is the slixmpp-omemo one.
Project details
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
sendi-0.1.2.tar.gz
(266.8 kB
view hashes)
Built Distribution
sendi-0.1.2-py3-none-any.whl
(21.3 kB
view hashes)