filepath

Object-oriented filesystem path representation
Download

filepath Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Twisted Matrix Labs
  • Publisher web site:
  • http://twistedmatrix.com/projects/mail/

filepath Tags


filepath Description

Object-oriented filesystem path representation filepath is an object-oriented API for manipulating filesystem paths on POSIX and Windows platforms. Its primary goal is to provide APIs which are less prone to bugs and security issues than the standard Python os.path APIs. Additionally, it offers access to the contents of zip archives via an alternate implementation of the same API used for accessing a normal filesystem.filepath is an independent package of the twisted.python.filepath module. Therefore, while this is a brand new package, the code is mature and has already seen a great deal of real-world use.Because of this, all bug reports should be submitted upstream to Twisted.Compatibilityfilepath is intended to be as compatible with twisted.python.filepath as possible. All changes will be made in twisted.python.filepath first and then migrated to filepath.As a consequence, filepath inherits Twisted's policies regarding backwards compatibility. As an exception, however, filepath will make no backwards compatibility guarantees for its first few releases.Unit TestsFor simplicity of maintenance, filepath's unit tests depend on Twisted Trial. You will only be able to run them with Twisted installed. This is the only part of filepath which depends on Twisted.You can run the tests with the Trial runner: trial filepathDeveloper commentsYou can probably run them with the stdlib unittest runner, but I can't figure out how right now. Requirements: · Python


filepath Related Software