cpsms
This is
A Python 3 wrapper around the SMS gateway from CPSMS https://www.cpsms.dk/.
This is not
Some sort of magic, free SMS gateway.
Installation
cpsms is available from PyPI. Easiest
way to install is: pip install cpsms.
Requirements
You need to have a (paid) account at CPSMS to be able to use their gateway. They sell a fair, no-nonsense product which I'd recommend if you want to be able to send SMS from your code (primarily to Danish phones).
How to use
See a couple of example use cases in example.py that should have come along with this file. Apart from what is shown in examples.py, this also supports status callback URLs, delayed sending and flash messages.
Further information
For more info on parameters, have a look at the CPSMS API documentation.
I believe the gateway software running at the CPSMS server is some sort of standard product. This may be able to talk to other remote SMS gateways as well, and that's why I made it an option to specify another gateway base URL. If you know of any other compatible gateways, please let me know, and I'll list them in the README.
Metadata
Release files for cpsms 3.0.0
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 |
|---|---|---|---|---|
| cpsms-3.0.0.tar.gz | 4.7 kB | Without provenance | Details for cpsms-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cpsms-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for cpsms-3.0.0-py3-none-any.whl |
Total release size: 9.1 kB
Release files / cpsms-3.0.0.tar.gz
| Download URL | cpsms-3.0.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7739cdca81fccf9aa336a6d0333cbddfe65be0aad9d1f4e6786e5d4990d0c96
|
|
BLAKE2b-256 checksum How to use checksums |
05d57fb9c0b216e208b504221d8903a47fb0e58324a964423b74348ca6978ffb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.6
|
Release files / cpsms-3.0.0-py3-none-any.whl
| Download URL | cpsms-3.0.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
434551d6f674134bbb59d311dc42edff9fa7c50414dc7b834064fbedfccde549
|
|
BLAKE2b-256 checksum How to use checksums |
cde570d75653850d53492e6acaec26f59a7a0094bd845ea185766b7b259e5071
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.6
|
Security for cpsms 3.0.0
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.