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.
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:
> echo '[YESSS_AT]\nYESSS_LOGIN=06501234567\nYESSS_PASSWD=password' > ~/.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 -
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
YesssSMS-0.3.2.tar.gz
(6.7 kB
view details)
Built Distribution
File details
Details for the file YesssSMS-0.3.2.tar.gz
.
File metadata
- Download URL: YesssSMS-0.3.2.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c86dc6b9813e17034324fcf083bb9407c5142199cecd2985eabdf4f3eab5455e |
|
MD5 | 5f694e0352a190f433da3426442b0dd0 |
|
BLAKE2b-256 | b65b7dabc9dbe24192d9da6d673267d6b6e880992355f765573eb2d9811389e8 |
File details
Details for the file YesssSMS-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: YesssSMS-0.3.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaa7377ac31e4e4d9c9ab21a53b965673eb812459e482560a013aed6793a28d4 |
|
MD5 | aa0e3619fb2883093057172d33cde2d3 |
|
BLAKE2b-256 | a4d2eb753472874427d70ff37ae6370db46e92699cbc355d226649d4647950ae |