7

Have you ever heard of really working python-libraries for the realization of the SMPP client and the SMPP server?

Entropius
  • 75
  • 1
  • 1
  • 5

3 Answers3

4

I didn't try any of these but it seems there are a couple of SMPP libraries for Python. Of course, most of the projects are dead. Two may be worth looking into though:

Pythomnik3k
The name suggests that this is Python 3 only, but there has been a Python 2 version, too. You may need to ask the author to send you pythomnic-6.0.tar.gz (I downloaded that sometime last year).
http://www.pythomnic3k.org/download.html

python-smpp
This one seems to be a brand new project. Implementation from scratch. Looks clean on the first sight. Currently it is very client-focused.
https://github.com/dmaclay/python-smpp

paprika
  • 2,424
  • 26
  • 46
4

I wrote a library that is reasonably complete and well tested for PDU parsing.

https://github.com/mozes/smpp.pdu

It can be used with any protocol implementation, including this one in Twisted.

https://github.com/mozes/smpp.twisted

Roger Hoover
  • 596
  • 4
  • 5
1

Pythomnic3k application framework indeed contains a complete SMPP 3.4 library in Python 3.

Here: http://www.pythomnic3k.org/download.html (see SMPP protocol pack).

If you are using the framework, then sending SMS is as easy as

xa = pmnc.transaction.create()
xa.smpp.submit("1234567890", "hello")
xa.execute()

but if you need just the library, with PDU parsing and stuff, you can find it in lib/smpp34.

  • Dmitry, can you tell how complete is it? Can used on both client & server side? – z4y4ts Jul 13 '11 at 13:53
  • The library a complete SMPP 3.4 implementation, – Dmitry Dvoinikov May 11 '12 at 17:04
  • The library contains a complete SMPP 3.4 implementation, with PDUs and errors and everything, but transport agnostic. The Pythomnic3k framework adds TCP transport and can be used as ESME (endpoint) of any type. Therefore an application can be written to send SMS and receive as well. – Dmitry Dvoinikov May 11 '12 at 17:33