- Name: python3-unipath
- Version: 1.0
- Release: 1.fc18
- Epoch:
- Group: Development/Tools
- License: Python
- Url: http://pypi.python.org/pypi/Unipath/
- Summary: Alternative to Python modules os, os.path and shutil
- Architecture: noarch
- Size: 132404
- Distribution: Fedora Project
- Vendor: Fedora Project
- Packager: Fedora Project
Description:
Unipath is a package for doing pathname calculations and filesystem
access in an object-oriented manner, an alternative to functions in
os.path, shutil and glob, and even some functions in os.* It's based
on Jason Orendorff's path.py but does not adhere as strictly to the
underlying functions' syntax, in order to provide more user
convenience and higher-level functionality. For example:
o p.mkdir() succeeds silently if the directory already exists, and
o p.mkdir(True) creates intermediate directories a la os.makedirs.
o p.rmtree(parents=True) combines shutil.rmtree, os.path.isdir,
os.remove, and os.removedirs, to recursively remove whatever it is
if it exists.
o p.read_file("rb") returns the file's contents in binary mode.
o p.needs_update([other_path1, ...]) returns True if p doesn't exist
or has an older timestamp than any of the others.
o extra convenience functions in the unipath.tools module. dict2dir
creates a directory hierarchy described by a dict. dump_path displays
an ASCII tree of a directory hierarchy.
This is the Python 3 build of Unipath
- OptFlags: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
- Cookie:
- Buildhost: buildvm-07.phx2.fedoraproject.org
Sources packages:
Other version of this rpm: