No description
Find a file
2009-01-23 10:32:20 +05:30
oxlib ms can be 0 2009-01-23 10:32:20 +05:30
.bzrignore rename bt->torrent 2008-04-27 19:10:34 +02:00
README rename oxutils -> oxlib 2008-07-03 11:23:42 +02:00
setup.py ms can be 0 2009-01-23 10:32:20 +05:30
test.sh rename to local functions in cache, remove capfirst, thats 'foo'.capitalize(), move tests to docts, add test.sh 2008-07-06 11:42:41 +02:00

python-oxlib some tools to build tools

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

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

 oxlib.formatBytes(1234567890)
 '1.15 GB'


Tests:
 nosetests --with-doctest oxlib