No description
Find a file
2008-06-19 16:41:53 +02:00
oxutils optionaly display short runtime, add languages2Letter 2008-06-19 16:41:53 +02:00
.bzrignore rename bt->torrent 2008-04-27 19:10:34 +02:00
README add test and cleanup some errors found while doing so 2008-05-05 20:12:27 +02:00
setup.py vi:si:et:sw=4:sts=4:ts=4 2008-06-19 11:21:21 +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'


Tests:
 nosetests --with-doctest oxutils