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.
Alternatively you can use MVNOs (Mobile Virtual Network Operators) that use the kontomanager.at web interface. These include:
- YESSS
- billitel
- EDUCOM
- fenercell
- georg
- goood
- kronemobile
- kuriermobil
- SIMfonie
- teleplanet
- WOWWW
- yooopi
Use your website login and password.
use the --mvno
flag to set your provider, or define it in the config file.
This module is not suitable for batch SMS sending. Each send() call logs in and out of your provider'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 with a different MVNO:
>>> sms = YesssSMS(YOUR_LOGIN, YOUR_PASSWORD, provider="goood")
>>> sms.send(TO_NUMBER, "Message")
or for the command line:
> yessssms --print-config-file > ~/.config/yessssms.conf
# edit the config file, set a login, password, default recipient, and MVNO
> 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 "sending SMS using a MVNO"
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.1b3.tar.gz
.
File metadata
- Download URL: YesssSMS-0.4.1b3.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.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 | bfb01639c33b2ae047e5c6d4564107af35feeb0a9c1e904d140b9afc918698f8 |
|
MD5 | c3347ccd5466351bee4e15c5386b7e32 |
|
BLAKE2b-256 | 3876fd1c87b5b2b23aa30b223c70741db0692543f442a63583a07ecab626e86e |
File details
Details for the file YesssSMS-0.4.1b3-py3-none-any.whl
.
File metadata
- Download URL: YesssSMS-0.4.1b3-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.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 | 7b7778dddc6fac7caf9e11364f19f024448b715cdae3be608bfcc327f01a7c40 |
|
MD5 | f52e9f146045b85242306ed6d781b0e2 |
|
BLAKE2b-256 | d8019d9ecbaca585c72ed2185c09050fc109c03595a1375030fdf6e668da9707 |