No description
Find a file
2008-05-04 16:08:43 +02:00
oxutils allow custom getUrl to be passed to getUrlUnicode, error pages can be gziped too 2008-05-04 16:08:43 +02:00
.bzrignore rename bt->torrent 2008-04-27 19:10:34 +02:00
README add some functions 2008-04-27 18:54:37 +02:00
setup.py add some functions 2008-04-27 18:54:37 +02:00

python-oxutils some tools to build tools

Depends:
 python2.5
 python-chardet (http://chardet.feedparser.org/)
 BitTornado(optional)

Usage:
 import oxutils
 
 data = oxutils.cache.readUrl('http:/...')
 text = oxutils.stripTags(data)
 oxutils.normalizeNewlines(text)
 oxutils.formatBytes(len(data))

 oxutils.formatBytes(1234567890)
 '1.15 GB'