Faruk Akgul

Google App Engine - The Missing Libraries: Python Socket Library

February 10, 2011 | View Comments

As you may know Google App Engine does not allow developers to use the imp, ftplib, select, socket libraries. As stated in the documentation, they are empty.

However I needed to use the inet_aton and inet_ntoa functions from the socket library. In order to use these functions I had to implement these two functions and I have decided to code the rest of the functions and put them on GitHub. If I needed, someone else might need them as well.

Long story short, here's a mini project, gae-missing-libraries, which I have implemented the socket library's conversion functions.

Feel free to use, fork or whatever you want to do with it. If there's already a library exist in GAE somewhere then forgive my ignorance and ignore this mini library.

Share:Tweet · reddit

blog comments powered by Disqus