Skip to main content

# pySMSPilot

## English

### Description

Python class with Implementation for SMS sending gateway API <http://www.smspilot.ru/> You need regisration and API-Key to start using it. We use some features from API 2.3.2. API provider gives some free sms for testing purposes, henceforward you need to pay some fee for them. Prices provided on their site. Now available at PyPI. You can install it by running: pip install pySMSPilot

### Installation ang quick start

After registering at <http://www.smspilot.ru/>:

  • Include it with:

import pySMSPilot

  • Initialize class with your API-key:

Pilot = pySMSPilot.sender.Sender(api)

  • Add some sms messages with command:

    Pilot.addSMS([your_local_sms_id_int], “Phone number”, u”SMS message”, u”Sender name”)

Note: phone number must be in format 7xxxxxxxxxx

Note: sender name must contain only latin letters dots and dashes, min length 3 letters, max - 11

Note: Ability to change sender name may be limited by service rules, refer to http://www.smspilot.ru/ to find out more

  • Run sending command with:

Result = Pilot.send()

Object with sending results will be returned. More info look at <http://www.smspilot.ru/apikey.php>

## Russian

### Описание

Класс имлементации использования API (версии 2.x) сайта http://www.smspilot.ru/ для отправки SMS рассылок. Для отправки смс необходима регистрация на сайте. Провайдер предоставляет несколько бесплатных смс для тестирования. Но в дальнейшем нужно оплачивать отправку каждого смс. Прайсы на сайте. По России недорого. Ок. 30 копеек за смс на сегодня. Теперь библиотека доступна через PyPI. Для установки просто выполните: pip install pySMSPilot

### Инструкции

  • Подключить модуль:

import pySMSPilot

  • Инициализировать класс API-ключом:

Pilot = pySMSPilot.sender.Sender(api)

  • Добавим одно или несколько sms вот так:

Pilot.addSMS([локальный_id_сообщения_int],”Номер телефона”, u”SMS сообщение”, u”Imya Otpravitelya”)

Note: номер телефона должен быть в формате 7xxxxxxxxxx

Note: Imya Otpravitelya - имя отправителя может содежать только латинские буквы, точки и тире, длинна мин 3 символа, макс - 11

Note: возможность изменять имя отправителя может быть ограничена сервисом, подробнее см. условия на сайте http://www.smspilot.ru/

  • Запускаем комманду отправки:

Result = Pilot.send()

Будет возвращен объект с результатами отправки. Больше информации см. <http://www.smspilot.ru/apikey.php>

Copyright (c) 2013 by Stanislav Sokolov aka Ratso

Metadata

Release files for PySMSPilot 1.3

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

Source distribution (sdist)

Source distribution for PySMSPilot 1.3
File Size Uploaded Provenance Actions
PySMSPilot-1.3.tar.gz 5.6 kB Without provenance Details for PySMSPilot-1.3.tar.gz

Release files / PySMSPilot-1.3.tar.gz

Download URL PySMSPilot-1.3.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c2d1980802953182df24439c22ac8ea309dfd3e629217d5e1b35502c070db76f
BLAKE2b-256 checksum
How to use checksums
cc7d721c1d954bc7f5182cabbe7dbdf8b019af4fb7d347716001f64d7adbe732
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for PySMSPilot 1.3

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

1.3 This release

1 release file 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