Installation :pick:
apt install python3-venv -y
mkdir -p /opt/sms-broker
python3 -m venv /opt/sms-broker
source /opt/sms-broker/bin/activate
pip install sms-broker
ln /opt/sms-broker/bin/sms-broker /usr/bin/sms-broker
deactivate
# setup settings.json in /opt/sms-broker
sms-broker init-db
echo """[Unit]
Description=SMS Broker - Listener - Responsible for receiving SMS as well as for the general API and UI.
After=multi-user.target
[Service]
Type=simple
Restart=always
WorkingDirectory=/opt/sms-broker
ExecStart=/opt/sms-broker/bin/sms-broker listener
[Install]
WantedBy=multi-user.target""" > /etc/systemd/system/sms-broker-listener.service
echo """[Unit]
Description=SMS Broker - Worker - Responsible for processing SMS and database cleanup processes.
After=multi-user.target
[Service]
Type=simple
Restart=always
WorkingDirectory=/opt/sms-broker
ExecStart=/opt/sms-broker/bin/sms-broker worker
[Install]
WantedBy=multi-user.target""" > /etc/systemd/system/sms-broker-worker.service
systemctl daemon-reload
systemctl enable sms-broker-listener.service
systemctl enable sms-broker-worker.service
systemctl start sms-broker-listener.service
systemctl start sms-broker-worker.service
Update :hourglass_flowing_sand:
source /opt/sms-broker/bin/activate
pip install -U sms-broker
deactivate
Debug :gear:
systemctl stop sms-broker-listener.service
systemctl stop sms-broker-worker.service
sms-broker listener # Or sms-broker worker
systemctl start sms-broker-listener.service
systemctl start sms-broker-worker.service
Metadata
Release files for sms-broker 3.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sms_broker-3.3.0.tar.gz | 245.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sms_broker-3.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 502.7 kB
Release files / sms_broker-3.3.0.tar.gz
| Download URL | sms_broker-3.3.0.tar.gz |
|---|---|
| Size | 245.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa328d18a466be84648bc4f5c11bf9fe6d24a7733826e050da8e39b5887cdea0
|
|
BLAKE2b-256 checksum How to use checksums |
70cc56fedb57a1f149fe05b8b5741b275528be66c275c47c0cfe33faa1efcf96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 20, 2025.
Transparency logRelease files / sms_broker-3.3.0-py3-none-any.whl
| Download URL | sms_broker-3.3.0-py3-none-any.whl |
|---|---|
| Size | 257.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9885967a783cabcb23d63ff96eca24c6e0255290db5f2cae9d9a30362a6df98
|
|
BLAKE2b-256 checksum How to use checksums |
5d26da4fe38c5182f94a4d2b75ceea7925282210a880a7b16e6be6fba3009c82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 20, 2025.
Transparency log