diff --git a/README b/README index fd7ca1a..5bada5c 100644 --- a/README +++ b/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 diff --git a/oxutils/__init__.py b/oxlib/__init__.py similarity index 100% rename from oxutils/__init__.py rename to oxlib/__init__.py diff --git a/oxutils/cache.py b/oxlib/cache.py similarity index 100% rename from oxutils/cache.py rename to oxlib/cache.py diff --git a/oxutils/format.py b/oxlib/format.py similarity index 100% rename from oxutils/format.py rename to oxlib/format.py diff --git a/oxutils/hashes.py b/oxlib/hashes.py similarity index 100% rename from oxutils/hashes.py rename to oxlib/hashes.py diff --git a/oxutils/html.py b/oxlib/html.py similarity index 100% rename from oxutils/html.py rename to oxlib/html.py diff --git a/oxutils/lang.py b/oxlib/lang.py similarity index 100% rename from oxutils/lang.py rename to oxlib/lang.py diff --git a/oxutils/net.py b/oxlib/net.py similarity index 100% rename from oxutils/net.py rename to oxlib/net.py diff --git a/oxutils/normalize.py b/oxlib/normalize.py similarity index 100% rename from oxutils/normalize.py rename to oxlib/normalize.py diff --git a/oxutils/text.py b/oxlib/text.py similarity index 100% rename from oxutils/text.py rename to oxlib/text.py diff --git a/oxutils/torrent.py b/oxlib/torrent.py similarity index 100% rename from oxutils/torrent.py rename to oxlib/torrent.py diff --git a/setup.py b/setup.py index f1728b2..45e1f79 100644 --- a/setup.py +++ b/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,