From the category archives:

Python

How To: Install and Use Twython (Python Wrapper for Twitter API)

September 5, 2009
Twython (Twitter API in Python)

As promised in my previous post, here is a brief howto on getting started with twython. The main advantage of Twython over several other python (or any other language) wrappers for Twitter API is that it works even when you are behind your organizations proxy.
Download Twython
You can download latest version of twython from twython page [...]

Read the full article →

I Love Twitter, I Love Python = I Love Twython

September 3, 2009
Twython (Twitter Python)

I was really late to join Twitter. As soon as I joined Twitter, I started exploring various aspects of Twitter and hence the Twitter API. While searching for a wrapper for Twitter API in python, I came across python-twitter which was good and tweepy which was ok and I finally found twython. Twython is awesome [...]

Read the full article →

How To: Boot Fedora Faster

December 9, 2008
Fedora Boot Process

Note: These tricks apply to any Linux based OS. But I have tested them only on Fedora, so can’t say whether they’ll work on other Linux(s).
My current Fedora installation is now almost one and a half years old. Yes. I am still using Fedora 7 I have Fedora 10 on my other machine. [...]

Read the full article →

How To: Write Custom Redirector or Rewritor Plugin For Squid in Python

April 30, 2008

Mission
To write a custom Python program which can act as a plugin for Squid to redirect a given URL to another URL. This is useful when already existing redirector plugins for Squid doesn’t suit your needs or you want everything of your own.
Use Cases

When you want to redirect URLs using a database like mysql or [...]

Read the full article →

How To: Write Custom Basic Authentication Plugin for Squid in Python

April 24, 2008

Mission
To write a Python program which can be used to authenticate for Squid proxy server. This is useful when you don’t want to configure complex systems like LDAP, ntlm etc.
Use Cases

When you want to authenticate clients using mysql database.
When you want to authenticate clients using flat files or /etc/passwd file or some custom service on [...]

Read the full article →