No description
| oxlib | ||
| .bzrignore | ||
| _DEPRECATED_use_python-ox | ||
| README | ||
| requirements.txt | ||
| setup.py | ||
| test.sh | ||
python-oxlib some tools to build tools
Depends:
python2.5
python-chardet (http://chardet.feedparser.org/)
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'
Install:
python setup.py install
Tests:
nosetests --with-doctest oxlib