Table of Contents

googlism  

Summary

Command line and Python module access to googlism.com.

Overview

The googlism.py module provides both Python module and command line access to googlism.com, the Web site which sifts through the results of the popular search engine Google and reports information about individual keywords.

Getting the software

The current version of googlism is 1.0.

The latest version of the software is available in a tarball here: http://www.alcyone.com/software/googlism/googlism-latest.tar.gz.

The official URL for this Web site is http://www.alcyone.com/software/googlism/.

Requirements

googlism.py is intended to be used with Python 2.2 or later.

License

This code is released under the GPL.

Usage

googlism.py can be invoked from the command line with no arguments to print usage information. Enter a query string (multiple query arguments are joined together with spaces), optionally proceeded by one of the options --who, --what, --where, or --when to specify a particular query type (the default is --who). Some examples:

        ./googlism.py --what python

        ./googlism.py --who guido van rossum

        ./googlism.py --where amsterdam

        ./googlism.py --when 1492

If there are no valid results (./googlism.py fasfsfsdafsdf), googlism.py will print a warning message to stderr. To suppress this behavior and have it print nothing instead, use the -q/--quiet option.

googlism.py returns an exit code to indicate whether or not there were any results; success means there were results, failure means there weren't.

The Python module consists of a Googlism class which, once instantiated, can be used for executing multiple queries by using the go(query, type) method. The type is one of the strings who, what, where, or when. Sample usage is available in the main function.

Release history

  • 1.0; 2002 Jul 26. Initial release.

Author

This module was written by Erik Max Francis. If you use this software, have suggestions for future releases, or bug reports, I'd love to hear about it.

Version

Version 1.0 $Date: 2004/07/26 $ $Author: max $

Modules and Packages   

googlism

Python and command line access to the wisdom of googlism.com.


Table of Contents

This document was automatically generated on Mon Jul 26 12:56:57 2004 by HappyDoc version 2.1