Edgewall Software
  • Home
  • Weblog
  • Trac
  • Genshi
  • Python Sidebar

Categories

    • / (47)
    • news/ (24)
    • people/ (15)
      • daniel/ (13)
      • jonas/ (2)
    • projects/ (8)
      • python-sidebar/ (3)
      • trac/ (5)

Tag cloud

untagged python-sidebar trac news

Calendar

< November 2004 >
SuMoTuWeThFrSa
  1 2 3 4 5 6
7 8 910111213
14151617181920
21222324252627
282930    
Wed, 03 Nov 2004

Mechanize and DOMForm

Mentionable Python discovery of the day:

DOMForm is a Python module for web scraping and web testing. It knows how to evaluate embedded JavaScript code in response to appropriate events.

Basically it's a python DOM implementation with JavaScript support (using the Mozilla Spidermonkey JavaScript-C engine).

It's great for screen scraping and, apparently planned for inclusion in in Mechanize.

Mechanize

Worthy of notice is Mechanize, a stateful programmatic web browsing module. It's very useful for web unit testing.

Check it out at:

  • DOMForm -- http://wwwsearch.sourceforge.net/DOMForm/
  • Mechanize -- http://wwwsearch.sourceforge.net/mechanize/
posted at: 12:25 | path: /people/daniel
Wed, 03 Nov 2004

An Idea: Live search for Python Documentation

Tags python-sidebar

Here's an idea stirring in my mind lately.

I've been playing around with various implementations of browser auto-completion. This, combined with the XMLHttpRequest allows for some pretty nifty ''live search'' widgets.

I'm planning to add a search functionality like this to the python sidebar, probably using Swish-E and a custom search term ''extraction'' script to scrape the documentation.

When you type in the search field, the results should be weighted and prioritized like:

  1. Built-in object names
  2. Standard Module names
  3. Standard Class names (in modules)
  4. Documentation headings

Selecting the result should open the relevant documentation page in the main browser window.

posted at: 11:25 | path: /projects/python-sidebar
  • Home
  • Contact
  • About Us
  • Send Feedback
info@edgewall.com

Copyright © 2003-2006 Edgewall Software. All rights reserved.