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.20

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.20
File Size Uploaded Provenance Actions
django-smsgateway-2.1.20.tar.gz 62.2 kB Without provenance Details for django-smsgateway-2.1.20.tar.gz

Built distribution (wheel)

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

Total release size: 162.2 kB

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

Download URL django-smsgateway-2.1.20.tar.gz
Size 62.2 kB
Tags Source
SHA-256 checksum
How to use checksums
386152feda2420480770c9d64dd2e3bbc8fa7aa651484dfdfb310c0c6036efed
BLAKE2b-256 checksum
How to use checksums
f148b871b84bbfdd6cdde6bf2b8d687a85a92303ae23be5e5d1c0a5963f3346c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

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

Download URL django_smsgateway-2.1.20-py2.py3-none-any.whl
Size 99.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5892a95cbacf599e233ad9e440725b11f2e64118b73217cb6fc3515dfc54aa7e
BLAKE2b-256 checksum
How to use checksums
d4c5a38c4c2632b799f4d3b8172d2cc8d55a53b634092711fb9517480126c60a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Security for django-smsgateway 2.1.20

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