No description
Find a file
2011-03-10 14:48:42 +01:00
oxlib add hook to add playtime 2010-06-16 12:56:55 +02:00
.bzrignore rename bt->torrent 2008-04-27 19:10:34 +02:00
_DEPRECATED_use_python-ox python-oxlib is deprecated, use python-ox 2011-03-10 14:48:42 +01:00
README inline bittorrent functions and fix some some issues 2009-11-29 19:24:25 +01:00
requirements.txt only use distutils, add requirements.txt 2009-10-09 16:53:52 +02:00
setup.py install torrent submodule 2009-12-10 13:31:17 +01:00
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/)

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