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:
|
||||
python2.5
|
||||
|
@ -6,16 +6,16 @@ Depends:
|
|||
BitTornado(optional)
|
||||
|
||||
Usage:
|
||||
import oxutils
|
||||
import oxlib
|
||||
|
||||
data = oxutils.cache.readUrl('http:/...')
|
||||
text = oxutils.stripTags(data)
|
||||
oxutils.normalizeNewlines(text)
|
||||
oxutils.formatBytes(len(data))
|
||||
data = oxlib.cache.readUrl('http:/...')
|
||||
text = oxlib.stripTags(data)
|
||||
oxlib.normalizeNewlines(text)
|
||||
oxlib.formatBytes(len(data))
|
||||
|
||||
oxutils.formatBytes(1234567890)
|
||||
oxlib.formatBytes(1234567890)
|
||||
'1.15 GB'
|
||||
|
||||
|
||||
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
|
||||
|
||||
setup(
|
||||
name="oxutils",
|
||||
name="oxlib",
|
||||
version="0.1",
|
||||
|
||||
description="collection of utils used to work with python",
|
||||
author="0x",
|
||||
author_email="code@0xdb.org",
|
||||
url="http://code.0xdb.org/oxutils",
|
||||
download_url="http://code.0xdb.org/oxutils/download",
|
||||
url="http://code.0xdb.org/oxlib",
|
||||
download_url="http://code.0xdb.org/oxlib/download",
|
||||
license="GPLv3",
|
||||
packages=find_packages(),
|
||||
zip_safe=False,
|
||||
|
|
Loading…
Reference in a new issue