Welcome to py’s documentation!¶
see CHANGELOG for latest changes.
Contents:
- installation info in a nutshell
- py.path
- py.path.local - local file system path
- basic interactive example
- reference documentation
LocalPath
LocalPath.ImportMismatchError
LocalPath.samefile()
LocalPath.remove()
LocalPath.computehash()
LocalPath.new()
LocalPath.dirpath()
LocalPath.join()
LocalPath.open()
LocalPath.check()
LocalPath.listdir()
LocalPath.size()
LocalPath.mtime()
LocalPath.copy()
LocalPath.rename()
LocalPath.dump()
LocalPath.mkdir()
LocalPath.write_binary()
LocalPath.write_text()
LocalPath.write()
LocalPath.ensure()
LocalPath.stat()
LocalPath.lstat()
LocalPath.setmtime()
LocalPath.chdir()
LocalPath.as_cwd()
LocalPath.realpath()
LocalPath.atime()
LocalPath.chmod()
LocalPath.pypkgpath()
LocalPath.pyimport()
LocalPath.sysexec()
LocalPath.sysfind()
LocalPath.get_temproot()
LocalPath.mkdtemp()
LocalPath.basename
LocalPath.bestrelpath()
LocalPath.chown()
LocalPath.common()
LocalPath.dirname
LocalPath.ensure_dir()
LocalPath.ext
LocalPath.fnmatch()
LocalPath.load()
LocalPath.make_numbered_dir()
LocalPath.mklinkto()
LocalPath.mksymlinkto()
LocalPath.move()
LocalPath.parts()
LocalPath.purebasename
LocalPath.read()
LocalPath.read_binary()
LocalPath.read_text()
LocalPath.readlines()
LocalPath.readlink()
LocalPath.relto()
LocalPath.visit()
py.path.svnurl
andpy.path.svnwc
- svn path related API reference
SvnWCCommandPath
SvnWCCommandPath.strpath
SvnWCCommandPath.rev
SvnWCCommandPath.url
SvnWCCommandPath.dump()
SvnWCCommandPath.svnurl()
SvnWCCommandPath.switch()
SvnWCCommandPath.checkout()
SvnWCCommandPath.update()
SvnWCCommandPath.write()
SvnWCCommandPath.dirpath()
SvnWCCommandPath.ensure()
SvnWCCommandPath.mkdir()
SvnWCCommandPath.add()
SvnWCCommandPath.remove()
SvnWCCommandPath.copy()
SvnWCCommandPath.rename()
SvnWCCommandPath.lock()
SvnWCCommandPath.unlock()
SvnWCCommandPath.cleanup()
SvnWCCommandPath.status()
SvnWCCommandPath.diff()
SvnWCCommandPath.blame()
SvnWCCommandPath.commit()
SvnWCCommandPath.propset()
SvnWCCommandPath.propget()
SvnWCCommandPath.propdel()
SvnWCCommandPath.proplist()
SvnWCCommandPath.revert()
SvnWCCommandPath.new()
SvnWCCommandPath.join()
SvnWCCommandPath.info()
SvnWCCommandPath.listdir()
SvnWCCommandPath.open()
SvnWCCommandPath.log()
SvnWCCommandPath.size()
SvnWCCommandPath.mtime()
SvnWCCommandPath.basename
SvnWCCommandPath.bestrelpath()
SvnWCCommandPath.check()
SvnWCCommandPath.common()
SvnWCCommandPath.dirname
SvnWCCommandPath.ensure_dir()
SvnWCCommandPath.ext
SvnWCCommandPath.fnmatch()
SvnWCCommandPath.load()
SvnWCCommandPath.move()
SvnWCCommandPath.parts()
SvnWCCommandPath.purebasename
SvnWCCommandPath.read()
SvnWCCommandPath.read_binary()
SvnWCCommandPath.read_text()
SvnWCCommandPath.readlines()
SvnWCCommandPath.relto()
SvnWCCommandPath.samefile()
SvnWCCommandPath.visit()
SvnCommandPath
SvnCommandPath.open()
SvnCommandPath.dirpath()
SvnCommandPath.mkdir()
SvnCommandPath.copy()
SvnCommandPath.rename()
SvnCommandPath.remove()
SvnCommandPath.export()
SvnCommandPath.ensure()
SvnCommandPath.info()
SvnCommandPath.listdir()
SvnCommandPath.log()
SvnCommandPath.basename
SvnCommandPath.bestrelpath()
SvnCommandPath.check()
SvnCommandPath.common()
SvnCommandPath.dirname
SvnCommandPath.ensure_dir()
SvnCommandPath.ext
SvnCommandPath.fnmatch()
SvnCommandPath.join()
SvnCommandPath.load()
SvnCommandPath.move()
SvnCommandPath.mtime()
SvnCommandPath.new()
SvnCommandPath.parts()
SvnCommandPath.propget()
SvnCommandPath.proplist()
SvnCommandPath.purebasename
SvnCommandPath.read()
SvnCommandPath.read_binary()
SvnCommandPath.read_text()
SvnCommandPath.readlines()
SvnCommandPath.relto()
SvnCommandPath.samefile()
SvnCommandPath.size()
SvnCommandPath.url
SvnCommandPath.visit()
SvnAuth
- svn path related API reference
- Common vs. specific API, Examples
- Known problems / limitations
- py.path.local - local file system path
- py.code: higher level python code and introspection objects
- py.io
- py.log documentation and musings
- py.xml: simple pythonic xml/html file generation
- Miscellaneous features of the py lib