Nokia's Code Camp in Barcelona
Home / Python

pywurfl

Downloads
pywurfl (latest)

Documentation

SourceForge.net Logo
 

WURFL and Python

by Armand Lynch (lyncha at users dot sourceforge dot net)

pywurfl is a Python language package that makes dealing with the WURFL in Python a little easier. It contains tools that allow you to retrieve objects that represent devices defined in the WURFL or manipulate the WURFL device hierarchy by using a simple set of API functions or a pywurfl specific query language. Also included within the package is a WURFL processor class that provides an event based API that can be used to alleviate some of the work when processing the WURFL sequentially.

License

pywurfl is Copyright 2004-7 Armand Lynch
The code is free software; you can redistribute it and/or modify it under the terms of the LGPL License (see the file LICENSE included with the distribution).

Requires

Python >= 2.4

Required Modules

ElementTree or cElementTree (if you're using Python < 2.5)

Optional Modules

Levenshtein Module >= 0.10.1 is required if you want to use the Levenshtein distance or Jaro-Winkler algorithms for user agent similarity.

pyparsing >= 1.4.2 is required if you want to use the pywurfl query language.

Contributors

I would like to thank the following people for their contributions:

Thanks Pau Aliagas for the many patches, bug reports and improvements.
Thanks Gabriele Fantini for the many patches, bug reports and improvements.

Comments and/or suggestions are appreciated.

Copyright © 2008, Luca Passani