473,473 Members | 2,155 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

pure python for sms

Hi dudes. Im looking for a python implementation for sending sms to a
cell phone. I was try using some free pages, but i want to use a python.
Do i need a cellphone conected to my machine? Or can i send sms to some
cell via some python library?

Waiting for advice.
Thanks!

Gerardo
Aug 30 '07 #1
4 2160
Gerardo Herzig:
Hi dudes. Im looking for a python implementation for sending sms to a
cell phone. I was try using some free pages, but i want to use a python.
Do i need a cellphone conected to my machine? Or can i send sms to some
cell via some python library?
This is likely to cost some money similar to sending an SMS from a
'phone. There are several companies that provide SMS sending services
that can be accessed through HTTP. Have a look at www.clickatell.com and
www.aql.com . Here is a library based on Clickatell:
http://www.powertrip.co.za/code/python/clickatell.py

Neil
Aug 30 '07 #2
Neil Hodgson wrote:
>Gerardo Herzig:
>>Hi dudes. Im looking for a python implementation for sending sms to a
cell phone. I was try using some free pages, but i want to use a python.
Do i need a cellphone conected to my machine? Or can i send sms to some
cell via some python library?


This is likely to cost some money similar to sending an SMS from a
'phone. There are several companies that provide SMS sending services
that can be accessed through HTTP. Have a look at www.clickatell.com and
www.aql.com . Here is a library based on Clickatell:
http://www.powertrip.co.za/code/python/clickatell.py

Neil

Well, im not triyng to send a SMS `FROM' a cellphone, im trying to send
a SMS `TO' a cellphone. Here (in Argentina) are several sites who lets
you send a sms for free. You also can receive SMS responses via this page
http://sms.personal.com.ar/Mensajes/msn.htm

While my tries using this page via urllib failed, i dont want to depend
on an external page anyway. The python class you send to me looks like
a pay site (if not, i dont see why the tokenpay() and getbalance()
methods :)

I was also avaiable to send a sms in the form of an plain email
__cellphone_number@i_used_to_be_cool_smtp.com, but it not seems to work
this way no longer. Again, i dont want to do it that way anyway.

Thats why im looking for a python implementation of that funcionality.

Thanks!
Gerardo
Aug 31 '07 #3
On 8/31/07, Gerardo Herzig <gh*****@fmed.uba.arwrote:
Well, im not triyng to send a SMS `FROM' a cellphone, im trying to send
a SMS `TO' a cellphone. Here (in Argentina) are several sites who lets
you send a sms for free. You also can receive SMS responses via this page
http://sms.personal.com.ar/Mensajes/msn.htm

While my tries using this page via urllib failed, i dont want to depend
on an external page anyway. The python class you send to me looks like
a pay site (if not, i dont see why the tokenpay() and getbalance()
methods :)

I was also avaiable to send a sms in the form of an plain email
__cellphone_number@i_used_to_be_cool_smtp.com, but it not seems to work
this way no longer. Again, i dont want to do it that way anyway.

Thats why im looking for a python implementation of that funcionality.
Well but sooner or later you will have to pass your sms through some
cellular system network whose services someone has to pay for...no?

Francesco
Aug 31 '07 #4
On 31 Aug, 15:36, Gerardo Herzig <gher...@fmed.uba.arwrote:
Neil Hodgson wrote:
This is likely to cost some money similar to sending an SMS from a
'phone.
[...]
Well, im not triyng to send a SMS `FROM' a cellphone, im trying to send
a SMS `TO' a cellphone.
Yes, but he did write "similar to", meaning that regardless of how the
message is prepared, sending it may cost someone some money - the
typical "financial effect" when you send a message from an actual
telephone.
Here (in Argentina) are several sites who lets you send a sms for free. You also can receive
SMS responses via this pagehttp://sms.personal.com.ar/Mensajes/msn.htm
I guess you're thinking about a library like SMSLib:

http://smslib.org/

This seems to combine the two most obvious ways of sending such
messages: communicate with a device already located on the GSM
network; communicate with a gateway which relays messages to the GSM
network.
While my tries using this page via urllib failed, i dont want to depend
on an external page anyway. The python class you send to me looks like
a pay site (if not, i dont see why the tokenpay() and getbalance()
methods :)

I was also avaiable to send a sms in the form of an plain email
__cellphone_number@i_used_to_be_cool_smtp.com, but it not seems to work
this way no longer. Again, i dont want to do it that way anyway.
Yes, both of the above (use of a Web site or an e-mail relay) rely on
existing services. If you don't want to do that, you'll need to
connect directly to your own GSM-capable device, I imagine.
Thats why im looking for a python implementation of that funcionality.
I don't know how well SMSLib works with Jython or whether you could
take a PyLucene-like approach and wrap it for CPython using SWIG or
some other wrapper technology in conjunction with gcj, but that's one
approach. Another is to look into libraries which communicate with
mobile devices: I extended one called t616hack [1] and made it almost
capable of telling my T610 telephone to send messages, but another
candidate would be python-gammu [2]. A while back someone stumbled
across a GSM hardware module which has embedded Python as a feature
[3], but I imagine that a lot of GSM-capable hardware uses AT-like
commands to support such activities.

Of course, I've probably covered an area that you're not directly
interested in, but someone has to provide a link to the GSM network,
either in the network infrastructure or by using some kind of GSM
device. If you're not a GSM network operator then it's likely that
you're either going to need to deal with a network operator, perhaps
indirectly, or you'll need to join the GSM network with a suitable
device in the "normal" way.

Paul

[1] http://www.python.org/pypi/t616hack
[2] http://cihar.com/gammu/python/
[3] http://www.telit.co.it/product.asp?productId=113

Aug 31 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ravi | last post by:
Hi, I did some googling, and found that there doesn't seem to be a pure python MySQL communication module. There is one for perl however, Net::MySQL. I was wondering if there was a specific...
11
by: Brett C. | last post by:
For my thesis (once the bloody thing stops throwing bugs at me) I am going to need to collect stats on the frequency that atomic types in local variables are applied to various opcodes and methods....
1
by: David Mertz, Ph.D. | last post by:
I decided to write a pure Python hashcash implementation. I have seen David McNab's Python implementation. Unfortunately, as near as I can tell (which is supported on the hashcash mailing list...
15
by: Christos TZOTZIOY Georgiou | last post by:
Has anyone built PIL (1.1.4 or 1.1.5) for Python 2.4? If yes, please let me know, since I can't test a couple of my apps using PIL with 2.4 . You can even reply by email (yes, I dare use true...
3
by: andrew.fabbro | last post by:
I'm looking for an implementation of AES (the Advanced Encryption Standard) in pure Python. I'm aware of pycrypto, but that uses C code. I'm hoping to find something that only uses Python...I'm...
5
by: Fuzzyman | last post by:
Python 2.4 is built with Microsoft Visiual C++ 7. This means that it uses msvcr7.dll, which *isn't* a standard part of the windows operating system. This means that if you build a windows installer...
2
by: Carl Cerecke | last post by:
Well, it doesn't quite rule them all, but it is fast: About three times faster than using one function per state. Faster than using generators. Faster than using code objects. Some, possibly...
13
by: Steven Bethard | last post by:
Jean-Paul Calderone <exarkun@divmod.comwrote: Interesting. Could you give a few illustrations of this? (I didn't run into the same problem at all, so I'm curious.) Steve
12
by: betabrain.honshu | last post by:
Hi Folks, for those of you who are familiar with the micropledge.com project, here is a good opportunity to spend or earn something: http://micropledge.com/projects/pysalsa20 I know that the...
8
by: Roy Smith | last post by:
Does there exist a pure Python version of a MySQL module? I've got a data logging application that needs to run on a whole bunch of OSs, ranging from Windows to a dozen different unix flavors on...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.