Gammu also includes Python bindings which allow you to use (most) of Gammu functionality from Python language.
Gammu 1.33.0 has been just released. New stable release collecting various bug fixes and translation updates over past months.
Published on May 29, 2013 by Michal Čihař
Gammu 1.32.0 has been just released. New stable release collecting various bug fixes over past months. The only new functionality is support for call diverts using AT driver.
Published on June 27, 2012 by Michal Čihař
Python module is distributed as part of Gammu so to download
it just get Gammu. If you want to use binary
package, the daemon might be included in separate binary package in your
distribution, try looking for something like python-gammu.
Using python-gammu is quite simple, for example sending of the text message can be done by following snippet:
import gammu
sm = gammu.StateMachine()
sm.ReadConfig()
sm.Init()
message = {
'Text': 'python-gammu testing message',
'SMSC': {'Location': 1},
'Number': '+420800123465',
}
sm.SendSMS(message)
API documentation is available, but you might also find useful libGammu documentation. Please check developer documentation page for more details.
Check also Frequently Asked Questions.