# YesssSMS
[![Python version](https://img.shields.io/pypi/pyversions/yessssms.svg)](https://gitlab.com/flowolf/yessssms) [![Gitlab CI Badge](https://gitlab.com/flowolf/yessssms/badges/master/pipeline.svg)](https://gitlab.com/flowolf/yessssms/pipelines) [![coverage report](https://gitlab.com/flowolf/yessssms/badges/master/coverage.svg)](https://gitlab.com/flowolf/yessssms/commits/master) [![pypi version](https://img.shields.io/pypi/v/yessssms.svg?color=blue)](https://pypi.org/project/yessssms) [![dev version](https://img.shields.io/badge/dynamic/json?color=yellow&label=dev&query=version&url=https%3A%2F%2Fgitlab.com%2Fflowolf%2Fyessssms%2Fraw%2Fmaster%2FYesssSMS%2Fversion.json&prefix=v)](https://gitlab.com/flowolf/yessssms) [![license](https://img.shields.io/pypi/l/yessssms.svg)](https://gitlab.com/flowolf/yessssms/blob/master/LICENSE.txt) [![documentation](https://img.shields.io/badge/sphinx-docs-blue)](https://flowolf.gitlab.io/yessssms/) [![downloads](https://img.shields.io/pypi/dm/yessssms)](https://pypi.org/project/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:
<img align="right" src="https://gitlab.com/flowolf/yessssms/raw/master/logo/all.png" style="float:right;" />
- 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](https://gitlab.com/flowolf/yessssms/-/jobs).
### Install
```bash
> pip3 install YesssSMS
```
### Usage
```python
>>> 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")
```
```python
# login environment variables set
>>> from YesssSMS import YesssSMS
>>> sms = YesssSMS()
>>> sms.send("06641234567", "hello future self, your pipeline failed :(")
```
### Command Line Usage
```bash
> 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"
```
```bash
# 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"
```
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/flowolf/yessssms",
"name": "YesssSMS",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "SMS,Yesss,messaging",
"author": "Florian Klien",
"author_email": "flowolf@klienux.org",
"download_url": "https://files.pythonhosted.org/packages/e9/f7/119e16877cae9c1a4e03bc3f6957c2f7624a25bf647dae26d1034e2616d0/YesssSMS-0.8.0.tar.gz",
"platform": "any",
"description": "# YesssSMS\n\n[![Python version](https://img.shields.io/pypi/pyversions/yessssms.svg)](https://gitlab.com/flowolf/yessssms) [![Gitlab CI Badge](https://gitlab.com/flowolf/yessssms/badges/master/pipeline.svg)](https://gitlab.com/flowolf/yessssms/pipelines) [![coverage report](https://gitlab.com/flowolf/yessssms/badges/master/coverage.svg)](https://gitlab.com/flowolf/yessssms/commits/master) [![pypi version](https://img.shields.io/pypi/v/yessssms.svg?color=blue)](https://pypi.org/project/yessssms) [![dev version](https://img.shields.io/badge/dynamic/json?color=yellow&label=dev&query=version&url=https%3A%2F%2Fgitlab.com%2Fflowolf%2Fyessssms%2Fraw%2Fmaster%2FYesssSMS%2Fversion.json&prefix=v)](https://gitlab.com/flowolf/yessssms) [![license](https://img.shields.io/pypi/l/yessssms.svg)](https://gitlab.com/flowolf/yessssms/blob/master/LICENSE.txt) [![documentation](https://img.shields.io/badge/sphinx-docs-blue)](https://flowolf.gitlab.io/yessssms/) [![downloads](https://img.shields.io/pypi/dm/yessssms)](https://pypi.org/project/yessssms)\n\nYesssSMS let's you send SMS via yesss.at's website. Regular rates apply and a\ncontract or prepaid plan is needed.\n\nAlternatively you can use MVNOs (Mobile Virtual Network Operators) that use the kontomanager.at web interface.\nThese include:\n\n<img align=\"right\" src=\"https://gitlab.com/flowolf/yessssms/raw/master/logo/all.png\" style=\"float:right;\" />\n\n- YESSS\n- billitel\n- EDUCOM\n- fenercell\n- georg\n- goood\n- kronemobile\n- kuriermobil\n- SIMfonie\n- teleplanet\n- WOWWW\n- yooopi\n\nUse your website login and password.\n\nuse the `--mvno` flag to set your provider, or define it in the config file.\n\nThis module is not suitable for batch SMS sending.\nEach send() call logs in and out of your provider's website.\n\nCurrently the library supports Python 3.8+, and is [tested against Python 3.8 to 3.11](https://gitlab.com/flowolf/yessssms/-/jobs).\n\n### Install\n\n```bash\n> pip3 install YesssSMS\n```\n\n### Usage\n\n```python\n>>> from YesssSMS import YesssSMS\n>>> sms = YesssSMS(YOUR_LOGIN, YOUR_PASSWORD)\n>>> sms.send(TO_NUMBER, \"Message\")\n>>> # or with a different MVNO:\n>>> sms = YesssSMS(YOUR_LOGIN, YOUR_PASSWORD, provider=\"goood\")\n>>> sms.send(TO_NUMBER, \"Message\")\n```\n\n```python\n# login environment variables set\n>>> from YesssSMS import YesssSMS\n>>> sms = YesssSMS()\n>>> sms.send(\"06641234567\", \"hello future self, your pipeline failed :(\")\n```\n\n### Command Line Usage\n\n```bash\n> yessssms --print-config-file > ~/.config/yessssms.conf\n# edit the config file, set a login, password, default recipient, and MVNO\n> vi ~/.config/yessssms.conf\n> yessssms --test # test your setup, send yourself a message\n> yessssms -t 0664123123123 -m \"sending SMS from the command line :)\"\n\n> # if a default recipient is defined, you can omit the -t flag\n> # the message can be piped into yessssms (it will be cut to max 3 SMS, 3*160 chars)\n> echo \"important message!\" | yessssms -m -\n\n> # MVNO\n> yessssms --to 06501234567 --mvno educom -m \"sending SMS using a MVNO\"\n```\n\n```bash\n# set environment variables to avoid parameters or config files;\n# great for pipelines\n> export YESSSSMS_LOGIN=06641234567\n> export YESSSSMS_PASSWD=myverysecretsecret\n> export YESSSSMS_PROVIDER=wowww\n> export YESSSSMS_RECIPIENT=06641234567\n# use in python script or in command line\n> yessssms -T\nok: login data is valid.\n> yessssms -m \"sending SMS from github and gitlab pipelines... so much cloud\"\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "YesssSMS let's you send SMS via yesss.at's website.",
"version": "0.8.0",
"split_keywords": [
"sms",
"yesss",
"messaging"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0cb5e805b844fcd7c51afc4a5b67ec2a56c546643347db9786ecd3b6d0c6d94f",
"md5": "792b7712db04657bdc97b3633100c86d",
"sha256": "ce9cc4c3cf17c5fc75101f1f22e774215edf46e64c343b7bf9c1bd8fc5bf96bb"
},
"downloads": -1,
"filename": "YesssSMS-0.8.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "792b7712db04657bdc97b3633100c86d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 11891,
"upload_time": "2023-02-05T21:24:37",
"upload_time_iso_8601": "2023-02-05T21:24:37.340454Z",
"url": "https://files.pythonhosted.org/packages/0c/b5/e805b844fcd7c51afc4a5b67ec2a56c546643347db9786ecd3b6d0c6d94f/YesssSMS-0.8.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e9f7119e16877cae9c1a4e03bc3f6957c2f7624a25bf647dae26d1034e2616d0",
"md5": "1c3f6bb728f1fa8da5019f92469a4510",
"sha256": "50305e03bcfb0624a5149fa4d37db34df3a1224de4ebde0c49188318d7607baf"
},
"downloads": -1,
"filename": "YesssSMS-0.8.0.tar.gz",
"has_sig": false,
"md5_digest": "1c3f6bb728f1fa8da5019f92469a4510",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 12218,
"upload_time": "2023-02-05T21:24:39",
"upload_time_iso_8601": "2023-02-05T21:24:39.236848Z",
"url": "https://files.pythonhosted.org/packages/e9/f7/119e16877cae9c1a4e03bc3f6957c2f7624a25bf647dae26d1034e2616d0/YesssSMS-0.8.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-05 21:24:39",
"github": false,
"gitlab": true,
"bitbucket": false,
"gitlab_user": "flowolf",
"gitlab_project": "yessssms",
"lcname": "yessssms"
}