rename oxutils -> oxlib
This commit is contained in:
parent
c68746dbd1
commit
bd88811dea
12 changed files with 11 additions and 11 deletions
16
README
16
README
|
@ -1,4 +1,4 @@
|
||||||
python-oxutils some tools to build tools
|
python-oxlib some tools to build tools
|
||||||
|
|
||||||
Depends:
|
Depends:
|
||||||
python2.5
|
python2.5
|
||||||
|
@ -6,16 +6,16 @@ Depends:
|
||||||
BitTornado(optional)
|
BitTornado(optional)
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
import oxutils
|
import oxlib
|
||||||
|
|
||||||
data = oxutils.cache.readUrl('http:/...')
|
data = oxlib.cache.readUrl('http:/...')
|
||||||
text = oxutils.stripTags(data)
|
text = oxlib.stripTags(data)
|
||||||
oxutils.normalizeNewlines(text)
|
oxlib.normalizeNewlines(text)
|
||||||
oxutils.formatBytes(len(data))
|
oxlib.formatBytes(len(data))
|
||||||
|
|
||||||
oxutils.formatBytes(1234567890)
|
oxlib.formatBytes(1234567890)
|
||||||
'1.15 GB'
|
'1.15 GB'
|
||||||
|
|
||||||
|
|
||||||
Tests:
|
Tests:
|
||||||
nosetests --with-doctest oxutils
|
nosetests --with-doctest oxlib
|
||||||
|
|
6
setup.py
6
setup.py
|
@ -4,14 +4,14 @@
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="oxutils",
|
name="oxlib",
|
||||||
version="0.1",
|
version="0.1",
|
||||||
|
|
||||||
description="collection of utils used to work with python",
|
description="collection of utils used to work with python",
|
||||||
author="0x",
|
author="0x",
|
||||||
author_email="code@0xdb.org",
|
author_email="code@0xdb.org",
|
||||||
url="http://code.0xdb.org/oxutils",
|
url="http://code.0xdb.org/oxlib",
|
||||||
download_url="http://code.0xdb.org/oxutils/download",
|
download_url="http://code.0xdb.org/oxlib/download",
|
||||||
license="GPLv3",
|
license="GPLv3",
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
|
|
Loading…
Reference in a new issue