# rapidsms-smpp-gateway
A [RapidSMS](https://rapidsms.readthedocs.io/en/latest/) SMPP gateway.
## Management commands
### smpp_client
Start an SMPP client instance:
`shell python manage.py smpp_client smppsim `
Example configuration using environment variables:
`shell export PGDATABASE=libya_elections export DATABASE_URL=postgresql://localhost/$PGDATABASE export SMPPLIB_HOST=localhost export SMPPLIB_PORT=2775 export SMPPLIB_SYSTEM_ID=smppclient1 export SMPPLIB_PASSWORD=password export SMPPLIB_SUBMIT_SM_PARAMS='{"foo": "bar"}' `
#### healthchecks.io support
An integration with healthchecks.io can be enabled by passing the –hc-uuid option or setting the HEALTHCHECKS_IO_UUID environment variables, for example:
`shell export HEALTHCHECKS_IO_UUID=c0c6... `
If enabled, the smpp_client management command will send a success ping to healthchecks.io for the configured check at most every minute from the main listen loop.
This functionality requires the [healthchecks-io](https://github.com/andrewthetechie/py-healthchecks.io) Python package.
### listen_mo_messages
Listen for mobile-originated (MO) messages:
`shell python manage.py listen_mo_messages --channel new_mo_msg `
## Publish
Update setup.py with the version number
Update CHANGES.md with release notes
Create a new release and tag on GitHub. A publish Github Actions workflow is configured to run on tag creation.
Metadata
Release files for smpp-gateway 1.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smpp_gateway-1.4.2.tar.gz | 23.3 kB | Without provenance | Details for smpp_gateway-1.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| smpp_gateway-1.4.2-py3-none-any.whl | Python 3 | none | any | Details for smpp_gateway-1.4.2-py3-none-any.whl |
Total release size: 48.8 kB
Release files / smpp_gateway-1.4.2.tar.gz
| Download URL | smpp_gateway-1.4.2.tar.gz |
|---|---|
| Size | 23.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc3afba9df5c5bef2cb32c905a5ee72572b17075e174bff9130f6477cd20021c
|
|
BLAKE2b-256 checksum How to use checksums |
6429f9292678790d8bd12ad11cdb9ef453af26fe78088d5482dd8f2cbd45f5b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / smpp_gateway-1.4.2-py3-none-any.whl
| Download URL | smpp_gateway-1.4.2-py3-none-any.whl |
|---|---|
| Size | 25.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b3305a674bac3eb627504395632b61ef5234ed5c511bf605d76bfe5943e347c
|
|
BLAKE2b-256 checksum How to use checksums |
5640c5dd330b22700952f13a05841c4b61fa41eef3b8f9aec9dabb8be135d4ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for smpp-gateway 1.4.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.