Category Archives: Python

pyFreeSMS: A Python API

This is a Python API to send free messages via the many online free SMS providers. It currently works only with 160by2; I’ll add support for Way2SMS et all soon, though I’m hoping people interested in a specific provider will extend this API themselves.

How Will This Help Me?

This is primarily intended for developers looking to send messages from their Python applications. For instance, I’m currently developing an application that periodically checks my passport application status and messages it to me.

Continue reading

My Social Network: A Simple Connected Graph

My Social Graph

A Social Network, literally. The image above is my Facebook social graph; with my friends, my friends of friends and so on as the vertices connected by edges representing their Facebook friendships, limited only by members’ individual privacy options. You can click on it (a better idea would be to right-click and then do a “Save Link As”) to open a 32MB ultra high-res .png file where you can actually zoom in to read the names and stuff.

The graph’s split up into dense clusters of friends, corresponding to my current college, junior college and school. An interesting thing I noticed was Varun Vaswani, Chinmay Deshpande, Kunal Bhatia and Prashant Sriram happen to be my bridge vertices; if all four of you somehow just disappeared, or never existed, there would be no connection between my Facebook friends at Goa (The bottom BITS Goa cluster) and at Bangalore (the top-left Deeksha cluster and the top-right VNS cluster). I guess we’re all special and indispensable to each other in some way.

Image generated using a slight mod of the very intuitive fbfriendsgraph python script