YesssSMS let's you send SMS via yesss.at's website
Project description
YesssSMS
YesssSMS let's you send SMS via yesss.at's website. Regular rates apply and a contract or prepaid plan is needed.
Use your website login and password.
Alternatively you can use MVNOs (Mobile Virtual Network Operators) that use the kontomanager.at web interface. These include:
- YESSS
- EDUCOM
- SIMfonie
- ...
use the --mvno
flag to set your provider, or define the used URLs in the config file.
This module is not suitable for batch SMS sending. Each send() call logs in and out of yesss.at's website.
Currently the library supports Python 3.5+, and is tested against Python 3.5 to 3.7.
Install
> pip3 install YesssSMS
Usage
>>> from YesssSMS import YesssSMS
>>> sms = YesssSMS(YOUR_LOGIN, YOUR_PASSWORD)
>>> sms.send(TO_NUMBER, "Message")
or for the command line:
> yessssms --print-config-file > ~/.config/yessssms.conf
# edit the config file
> vi ~/.config/yessssms.conf
> yessssms --test # test your setup, send yourself a message
> yessssms -t 0664123123123 -m "sending SMS from the command line :)"
> # if a default recipient is defined, you can omit the -t flag
> # the message can be piped into yessssms (it will be cut to max 3 SMS, 3*160 chars)
> echo "important message!" | yessssms -m -
> # MVNO
> yessssms --t 06501234567 --mvno EDUCOM -m 'testmessage ;)'
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
Built Distribution
File details
Details for the file YesssSMS-0.4.0b4.tar.gz
.
File metadata
- Download URL: YesssSMS-0.4.0b4.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ecc73470b1e84af6415446eae76af01d50b51eee0c11f01b1f437ab80d65bc6 |
|
MD5 | 184894a1661b0799dee83efbb0e40983 |
|
BLAKE2b-256 | 99274d79b2915ff9cff988c8da96e5269bdce5bf90d4ad1654e102f5b15ee200 |
File details
Details for the file YesssSMS-0.4.0b4-py3-none-any.whl
.
File metadata
- Download URL: YesssSMS-0.4.0b4-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dc44d84ce88434f7cc6da8c6217d63e6ab1f308057d21d0b488f364da8e7c4e |
|
MD5 | 40bd2b48e3d68399a03e3bbc44a975ef |
|
BLAKE2b-256 | 9bf4663c0d5308476799982db37f0fea047a6a43024c30bd7b2b2efba53e8314 |