Gamu tiež obsahuje rozhranie pre Python, ktorý poskytuje (väčšinu) funkčnosti Gammu z jazyka Python.
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 27. jún 2012 by Michal Čihař
All Gammu related Git repositories have been moved to Github. Also with this move all has been consolidated under single project. This move should allow easier contribution and possible hand over of development to new developers.
Published on 4. apríl 2012 by Michal Čihař
Python modul je distribuovaný ako súčasť Gammu preto pre jeho získanie
jednoducho stiahnite Gammu. Keď chcete použiť binárny
balík, modul môže byť súčasťou samostatného balíku vo vašej
distribúcii, skúste hľadať niečo ako 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.