Skip to content

File objects that assume content is UTF8 encoded strings.

License

Notifications You must be signed in to change notification settings

klahnakoski/mo-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

File objects that assume content is UTF8 encoded strings.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages