No project description provided
Project description
rapidsms-smpp-gateway
A RapidSMS SMPP gateway.
Management commands
smpp_client
Start an SMPP client instance:
python manage.py smpp_client smppsim
Example configuration using environment variables:
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:
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 Python package.
listen_mo_messages
Listen for mobile-originated (MO) messages:
python manage.py listen_mo_messages --channel new_mo_msg
Publish
- Update
pyproject.toml
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.
Or use Poetry's publish command:
poetry config pypi-token.pypi <get-from-pypi>
poetry build
poetry publish
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
smpp_gateway-1.1.0.tar.gz
(18.4 kB
view hashes)
Built Distribution
Close
Hashes for smpp_gateway-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5ec8d469632b8303dcf2b2a91c852905db9e7919de95b31c283205193185841 |
|
MD5 | 516fe68b0d4788f47d6ca4ff543f966c |
|
BLAKE2b-256 | c9c2316203746dec92f481fc0b14f907c7afbd4d750afc0dbd2b841e445c4340 |