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 license

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


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.0b5.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

YesssSMS-0.4.0b5-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file YesssSMS-0.4.0b5.tar.gz.

File metadata

  • Download URL: YesssSMS-0.4.0b5.tar.gz
  • Upload date:
  • Size: 7.8 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

Hashes for YesssSMS-0.4.0b5.tar.gz
Algorithm Hash digest
SHA256 e649a74057292a14b44394b5474df8d614c49dc26283b39d1297c92ce3db62fc
MD5 d4dfa7245675b4abd94f4dfe47928ff1
BLAKE2b-256 50ceb7fc2d3e081f120a88cb453a8b899a2c008b66caff07993e63059dd3e5e3

See more details on using hashes here.

File details

Details for the file YesssSMS-0.4.0b5-py3-none-any.whl.

File metadata

  • Download URL: YesssSMS-0.4.0b5-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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

Hashes for YesssSMS-0.4.0b5-py3-none-any.whl
Algorithm Hash digest
SHA256 ee90467443ce1c2601ad9ae64436fbdba23d7096fb3edae268f354563799f2bd
MD5 3fb7eef3f8853ebbd6ba72dbc885e9cd
BLAKE2b-256 26b811781eb1dfaab41bd8c56c46dc2f7c104ab1ab62d982a128c863ed9b690f

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