bulksmsmd - Python wrapper for Unifun BulkSMSAPI (bulksms.md)
Condsider the official documentation before using this package or to understand the more advanced options dlrurl, dlrmask, charset and coding.
Installation
Installation is done using the following command:
pip install bulksmsmd
Usage
The username and password are the credentials for the API. The sender is the name of the sender.
client = SMSClient(
username = 'username',
password = 'password',
sender = 'sender',
proxy = {
'http': 'http://PROXY_URL,
'https': 'https://PROXY_URL',
}
)
The client object is used to send messages and contains two methods: send_sms_simple & send_sms_nde.
client.send_sms_simple(
msisdn = '69123456',
body = 'Test message.',
prefix = '373',
)
client.send_sms_nde(
msisdn = '69123456',
body = 'Test message.',
prefix = '373',
dlr_url = 'https://example.com/dlr',
dlr_mask = '31',
charset = 'utf8',
coding = '2',
)
History
0.1.0 (2021-10-03)
- First release on Github.
0.1.1 (2021-10-03)
- Uploaded wheel.
0.1.2 (2022-03-03)
- Multiple changes & documentation improved.
0.1.3 (2023-02-07)
- Proxy support added.
Metadata
Release files for bulksmsmd 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bulksmsmd-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for bulksmsmd-0.1.3-py3-none-any.whl |
Release files / bulksmsmd-0.1.3-py3-none-any.whl
| Download URL | bulksmsmd-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e71b0204617777ee3ad8e8402cb6a5a901cd25b39128c9df5163e37e727ec6f7
|
|
BLAKE2b-256 checksum How to use checksums |
1ea4f35d0c6c1eea98cc7158a4a3e812fa370db998b89b294bd850f82c2e26bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for bulksmsmd 0.1.3
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.