Skip to main content

YesssSMS

Package status Python version Gitlab CI Badge coverage report pypi version dev version license documentation downloads

Status

It appears that Yesss has pulled the web SMS feature from their customer page in February 2023. This unfortunately breaks YesssSMS. Other MVNOs are probably also broken.

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.8+, and is tested against Python 3.8 to 3.11.

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")
# login environment variables set
>>> from YesssSMS import YesssSMS
>>> sms = YesssSMS()
>>> sms.send("06641234567", "hello future self, your pipeline failed :(")
# sending multiple SMS
from YesssSMS import YesssSMS
import requests
sms = YesssSMS()
with sms._login(requests.Session()) as sess:
    sms._send(session=sess, recipient="06641234567", message="hi! I have a new number +43650-555-1234")
    sms._send(session=sess, recipient="06509876543", message="Meine neue Handynummer: +43650-555-1234")
    sms._send(session=sess, recipient="06760001256", message="I changed my number to +43650-555-1234")
    sms._logout()

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"
# set environment variables to avoid parameters or config files;
# great for pipelines
> export YESSSSMS_LOGIN=06641234567
> export YESSSSMS_PASSWD=myverysecretsecret
> export YESSSSMS_PROVIDER=wowww
> export YESSSSMS_RECIPIENT=06641234567
# use in python script or in command line
> yessssms -T
ok: login data is valid.
> yessssms -m "sending SMS from github and gitlab pipelines... so much cloud"

Metadata

Release files for YesssSMS 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for YesssSMS 0.8.1
File Size Uploaded Provenance
YesssSMS-0.8.1.tar.gz 13.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for YesssSMS 0.8.1
File Interpreter ABI Platform
YesssSMS-0.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 25.3 kB

Release files / YesssSMS-0.8.1.tar.gz

Download URL YesssSMS-0.8.1.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
98e7fb81e826e32fd69c960b9516ba0b93ec4858fb661310f3a32de20e4f9512
BLAKE2b-256 checksum
How to use checksums
56292721692810fbd113118787d2af9f737bf9e50c2f74caa0490fdd24956d9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / YesssSMS-0.8.1-py3-none-any.whl

Download URL YesssSMS-0.8.1-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a13a681f97e1dbcecae2f782e2ecfb9ab49e0092e99d5d29ad820f5e25ee00a6
BLAKE2b-256 checksum
How to use checksums
811d88a3b02f56cd452f0697f07f30900e9ccdb4f60e69d6cd74da73cd67b0c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Security for YesssSMS 0.8.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.8.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page