This class allows integration with manslmt.lv site to send SMS messages from your number to Latvian phone number.
pip install BeautifulSoup
pip install requests
This is optional, but script will not be able to login if manslmt will ask to fill captcha. Captcha is asked if password is entered incorrectly at least once.
from sms import PyMansLMT
instance = PyMansLMT("PHONE", "PASSWORD", 'DBC_USERNAME', 'DBC_PASSWORD')
result = instance.send_sms(['PHONE1','PHONE2','PHONE3'], 'Test message', True)
sent = instance.send_sms(result[0], 'Test message')