More Files! Steamlined for UTF8 and JSON.


License
MPL-2.0
Install
pip install mo-files==6.579.24081

Documentation

More Files!

PyPI Latest Release Build Status Coverage Status Downloads

The File class makes the default assumption all files have cr-delimited unicode content that is UTF-8 encoded. This is great for JSON files. It also provides better operators over some common file manipulations.

Recent changes

Version 6.x

Get a little closer to Python's pathlib module standards

  • stem - to refer file name without extension
  • os_path - to get the os-specific absolute path for use in other Python modules
  • rel_path - the given path
  • abs_path - was abspath, added underscore for consistency