Python interface and cli for smsc.ru api
python setup.py install
from pysmscru import SMSC
smsc = SMSC(login=LOGIN, password=PASSWORD, sender=DEFAULT_SENDER)
result = smsc.send_sms(['79169999999',], "Hello, world!")
print result
Copy smscru.conf.example to /etc/smscru.conf and set your login and password.
$ smscru msg 79169999999 "Hello, world\!" --config=/etc/smscru.conf