Skip to main content
README
------

How to install:

* Add 'smsgateway' to your INSTALLED_APPS
* Configure it:

# settings.py

# This is where your incoming messages will be handled by your web app.
SMSGATEWAY_HOOK = {'MV': 'mvne.activation.utils.incoming_sms',
'SIM': 'mvne.activation.utils.incoming_sms'}

# This is a list of accounts of SMS gateway providers.
SMSGATEWAY_ACCOUNTS = {
'__default__': 'mobileweb', # This is your default account. You MUST specify this! It points to one of your accounts below this line.
'mobileweb': {'backend': 'mobileweb', 'username': 'johndoe', 'password': '12345678', 'sid': '413'}, # Example account
'smsextrapro': {'backend': 'smsextrapro', 'username': 'johndoe', 'password': '87654321'}, # Example account
}

# This is where you set up the backends in use. You can use your own too! Please look at the built-in backends for an example.
SMSGATEWAY_BACKENDS = (
'smsgateway.backends.mobileweb.MobileWebBackend',
'smsgateway.backends.smsextrapro.SmsExtraProBackend',
)

* Some backends support incoming text messages:

# urls.py

from smsgateway import backends

urlpatterns = ('',
(r'^incoming_sms/$', backends.get_backend('mobileweb').handle_incoming),
)

* Set up your SMS gateway to use this url for incoming messages.

Metadata

Release files for django-smsgateway 2.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-smsgateway 2.1.11
File Size Uploaded Provenance Actions
django-smsgateway-2.1.11.tar.gz 91.0 kB Without provenance Details for django-smsgateway-2.1.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-smsgateway 2.1.11
File Interpreter ABI Platform Actions
django_smsgateway-2.1.11-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_smsgateway-2.1.11-py2.py3-none-any.whl

Total release size: 231.2 kB

Release files / django-smsgateway-2.1.11.tar.gz

Download URL django-smsgateway-2.1.11.tar.gz
Size 91.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c326ff954ef9d347e094e20e648725465e53ca6297c0e3a5107d5cd60e6be4ee
BLAKE2b-256 checksum
How to use checksums
f9fc82eed779f59624b850be029a26dea4a8fa3cf181ebc365bd470b962ab5bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_smsgateway-2.1.11-py2.py3-none-any.whl

Download URL django_smsgateway-2.1.11-py2.py3-none-any.whl
Size 140.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
af3aaf0704a55df50fbb98c5d37a8bdc15625c9c4f52687536d1be7ef4e5c5fa
BLAKE2b-256 checksum
How to use checksums
f5fbdbbcff86873778f95fae1da93b7251babee82021dbf2cab39f9d3ad994d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-smsgateway 2.1.11

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page