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
LocalPathLocalPath.ImportMismatchErrorLocalPath.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.basenameLocalPath.bestrelpath()LocalPath.chown()LocalPath.common()LocalPath.dirnameLocalPath.ensure_dir()LocalPath.extLocalPath.fnmatch()LocalPath.load()LocalPath.make_numbered_dir()LocalPath.mklinkto()LocalPath.mksymlinkto()LocalPath.move()LocalPath.parts()LocalPath.purebasenameLocalPath.read()LocalPath.read_binary()LocalPath.read_text()LocalPath.readlines()LocalPath.readlink()LocalPath.relto()LocalPath.visit()
py.path.svnurlandpy.path.svnwc- svn path related API reference
SvnWCCommandPathSvnWCCommandPath.strpathSvnWCCommandPath.revSvnWCCommandPath.urlSvnWCCommandPath.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.basenameSvnWCCommandPath.bestrelpath()SvnWCCommandPath.check()SvnWCCommandPath.common()SvnWCCommandPath.dirnameSvnWCCommandPath.ensure_dir()SvnWCCommandPath.extSvnWCCommandPath.fnmatch()SvnWCCommandPath.load()SvnWCCommandPath.move()SvnWCCommandPath.parts()SvnWCCommandPath.purebasenameSvnWCCommandPath.read()SvnWCCommandPath.read_binary()SvnWCCommandPath.read_text()SvnWCCommandPath.readlines()SvnWCCommandPath.relto()SvnWCCommandPath.samefile()SvnWCCommandPath.visit()
SvnCommandPathSvnCommandPath.open()SvnCommandPath.dirpath()SvnCommandPath.mkdir()SvnCommandPath.copy()SvnCommandPath.rename()SvnCommandPath.remove()SvnCommandPath.export()SvnCommandPath.ensure()SvnCommandPath.info()SvnCommandPath.listdir()SvnCommandPath.log()SvnCommandPath.basenameSvnCommandPath.bestrelpath()SvnCommandPath.check()SvnCommandPath.common()SvnCommandPath.dirnameSvnCommandPath.ensure_dir()SvnCommandPath.extSvnCommandPath.fnmatch()SvnCommandPath.join()SvnCommandPath.load()SvnCommandPath.move()SvnCommandPath.mtime()SvnCommandPath.new()SvnCommandPath.parts()SvnCommandPath.propget()SvnCommandPath.proplist()SvnCommandPath.purebasenameSvnCommandPath.read()SvnCommandPath.read_binary()SvnCommandPath.read_text()SvnCommandPath.readlines()SvnCommandPath.relto()SvnCommandPath.samefile()SvnCommandPath.size()SvnCommandPath.urlSvnCommandPath.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