Download python-blekko 0.1.1

X Consortium Lic...

Antivirus information.

We did not scan python-blekko 0.1.1 for viruses, adware, spyware or other type of malware. For your own protection it's recommended to have an updated antivirus installed on your computer when downloading and installing programs from freesoftware0.

freesoftware0 lists downloads from various software publishers, so if you have a question regarding a particular software contact the publisher directly. The download links for python-blekko 0.1.1 are provided to you by freesoftware0 without any warranties, representations or gurantees of any kind, so download at your own risk.


blekko is a Python module that provides simple bindings to the Blekko API. To use the API, contact Blekko for an API key.

This module currently only supports search queries and page statistics. The API also provides tools for manipulating slashtags, but this library doesn't support that yet.

The library is internally rate-limited to one query per second in accordance with Blekko's guidelines.


To use the API, first create a Blekko object using your "source" or "auth" API key:

import blekko
api = blekko.Blekko(source='my_api_key')

Then, to perform searches, use the query method. Its arguments are the search terms (as a string) and, optionally, the page number:

results = api.query('peach cobbler')

The returned object is a sequence containing Result objects, which themselves have a number of useful fields:

for result in results:
 print result.url_title
 print result.url
 print result.snippet

Errors in communicating with the server are raised as BlekkoError exceptions, so you'll want to handle these exceptions when making calls to the API.

An Example

Putting it all together, here's a short script that gets a single link for search terms on the command line:

import blekko
import sys

_api = blekko.Blekko(source='my_api_key')

def get_link(terms):
 res = _api.query(terms + ' /ps=1')
 except blekko.BlekkoError as exc:
 print >>sys.stderr, str(exc)
 return None
 if len(res):
 return res[0].url

if __name__ == '__main__':
 link = get_link(' '.join(sys.argv[1:]))
 if link:

Page Statistics

Blekko provides an API for getting SEO-related statistics for a URL. Use the pagestats method, which takes a URL as its only parameter, to get a dictionary containing information about a page:

>>> api.pagestats('')
{u'cached': True, u'ip': u'', u'host_rank': 3835.107267,
u'host_inlinks': 467267, u'adsense': None, u'dup': True,
u'rss': u''}

Product's homepage


· Python

Related programsOur Recommendations

Waterwerks 13.2681.3424

Make sure you gather enough blobs in your basket. Use the waterhose, in this online game.About


Net::GPSD 0.39

Net::GPSD is a Perl module that provides an object client interface to the gpsd server


ERD 0.1

ERD is a small program that redirects commands through a Unix TCP socket.This software open a UNIX


Philip's Music Writer 4.27

Philip's Music Writer is an open source command-line software designed for typesetting music.


mocker 1.1.1

mocker is a graceful platform for test doubles in Python (mocks, stubs, fakes, and


Tk::StyleDialog 0.04

Tk::StyleDialog is a Perl module that adds a fun drop-in replacement to the standard Tk dialog


Melange 1.0

Melange is a mix of different GTK themes."Melange" means "Mixture".How to install?· Right


Splunk 4.2

Splunk organizes and makes sense of any type of machine data, including Web servers, application


collective.siteisolation 0.1

collective.siteisolation is a Plone product to isolate objects in a Zope root from each


Stlgen 0.012

Stlgen is a Perl module Create "Standard Template Library" (STL) C++ type containers but generate


Thumbnail of python-blekko 0.1.1


5 stars

Price: X Consortium Lic...

Publisher/Developer: Adrian Sampson

Release Date: Jun 24, 2012

View Program Details

Top Downloadslast week