Skip to main content

YesssSMS let's you send SMS via yesss.at's website.

Project description

YesssSMS

Python version Gitlab CI Badge coverage report pypi version dev version license documentation

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

all provider logos

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.8.

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")

Command Line Usage

> 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 --to 06501234567 --mvno educom -m "sending SMS using a MVNO"

Project details


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.4.2.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

YesssSMS-0.4.2-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file YesssSMS-0.4.2.tar.gz.

File metadata

  • Download URL: YesssSMS-0.4.2.tar.gz
  • Upload date:
  • Size: 9.6 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.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

File hashes

Hashes for YesssSMS-0.4.2.tar.gz
Algorithm Hash digest
SHA256 ac3ef4b2676917397116cbf9bd60bff6ba97082fe516d80d6f093ecae07fc047
MD5 7e6d1a42c6823319e15bb2a0ffe13ac9
BLAKE2b-256 83e3c31f82c71d2bd4b357992fa28b98efe147eb4c8477a9689795ba2c7c346b

See more details on using hashes here.

File details

Details for the file YesssSMS-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: YesssSMS-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 10.7 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.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

File hashes

Hashes for YesssSMS-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6b74b74d4012cf132baeabcdc929ec92f8ac1929aaced9c14b1cdf37e2e5b012
MD5 9d218eb51530e9ac68af7865644f050a
BLAKE2b-256 89cbf9256301c72ecfcdb92e25245b112324f20f1904cb38403220a0b7b417df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page