Skip to content

This helper module is a simple set of functions that make some file related activities easier.

License

Notifications You must be signed in to change notification settings

qevo/py_file_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file_helper

version 0.1.4 Change Log

This helper module is a simple set of functions that make some file related activities easier.

Full API documentation can be found at file_helper's documentation and in docs/index.html

Install

pip install git+git://github.com/qevo/py_data_helper.git
pip install git+git://github.com/qevo/py_file_helper.git

Features

Manage files

  • List files and/or directories in a branch directory
    • recursive or non-recursive
    • recursion depth
  • Find files
    • simple wildcard search
    • regular expressions search

File operations

  • Get the hash of a file's contents
  • Read a file in binary mode, allowing for a given read length from a given position
  • Slice a file
  • Write a file in binary mode, allowing for a given start position anywhere in the file
    • Allows for appends, insertions, and overwrites

Dependencies

Notes

  • This project uses automated tools for its documentation generation.
    • Sphinx for API documentation generation and reStructuredText compiling.
    • Pandoc for conversion of Markdown to reStructuredText for inclusion in documentation.

License

The MIT License (MIT)

Copyright (c) 2015 Qevo

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

This helper module is a simple set of functions that make some file related activities easier.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages