path ======== 'path.py' is a wrapper module for os, ,os.path and shutil to provide a more sophisticated interface to path manipulation methods -------------------------------------------------------------------------------------------------- path-0.5.0 -------------------------------------------------------------------------------------------------- bugfixes: news: x. added add_host(), get_host(), has_host(), remove_host(), replace_host() functions. -------------------------------------------------------------------------------------------------- path-0.4.0 -------------------------------------------------------------------------------------------------- bugfixes: x. fixed some problems with split() and join() should work now on windows oses as expected x. fixed a bug in walk(). "topdown" keyword was not recognized x. walk_sorted() does now what it is supposed to do - walking sorted x. fixed a bug in patch_filename(). It would never stop before hitting internal limit ++ some other fixes. All in all patch_filename() should now work as expected. x. fixed a bug in to_list(). urls where not handled correctly. Fixed now. url = "http://myurl" path.join(*path.to_list(url)) == url >> True news: x. shutil.rmtree() is now included as remove_tree() x. new method to_url(). Converts sep to slashes in a path x. new function import_relative(). Completely off topic but anyway, imports a module relative to another. Maybe someday python gets things sorted out with relative imports untill then this method emulates it (somehow... ). -------------------------------------------------------------------------------------------------- path-0.3.0 -------------------------------------------------------------------------------------------------- bugfixes: x. add_slash() was not working, fixed now. -------------------------------------------------------------------------------------------------- path-0.3.0 -------------------------------------------------------------------------------------------------- news: x. new method split_ext() x. get_ext(), has_ext(), replace_ext(), remove_ext(), get_file() support a new keyword argument "components" now to ease handling of extensions containing multiple components like in: "myfile.ext1.ext2" bugfixes: x. quote(), unquote(), quote_spaces() where dependent on an (unavailable) external module This is fixed now. ------------------------------------------------------------------------------------------------------------ path-0.2.0 -------------------------------------------------------------------------------------------------- news: x. new method html_abspath() to construct an absolute path from a html style relative path x. new method compact_path() to compact a path to fit into a desired width x. shutil.rmtree() is now included as remove_tree() in the module x. new method compact_path() to compact a filepath to fit into a desired width x. stat() and lstat() funktions from os are now included in the module buggfixes: x. has_url() was broken and returned always True: fixed now x. bugfix on html_relpath(). Returns path_to now if path_from is "" x. fixed a typo in replath(). relpath() should work now ------------------------------------------------------------------------------------------------------------ path-0.1.0 ------------------------------------------------------------------------------------------------------------ init release issues: 1. url methods are not tested