Metadata-Version: 1.1
Name: os-rotatefile
Version: 0.1.2
Summary: Reading and writing size rotate file.
Home-page: https://github.com/cfhamlet/os-ratatefile
Author: Ozzy
Author-email: cfhamlet@gmail.com
License: MIT License
Description-Content-Type: UNKNOWN
Description: # os-rotatefile
        [![Build Status](https://www.travis-ci.org/cfhamlet/os-rotatefile.svg?branch=master)](https://www.travis-ci.org/cfhamlet/os-rotatefile)
        [![codecov](https://codecov.io/gh/cfhamlet/os-rotatefile/branch/master/graph/badge.svg)](https://codecov.io/gh/cfhamlet/os-rotatefile)
        
        Reading and writing size rotate file.
        
        # Install
          `pip install os-rotatefile`
        
        # Usage
          * Write
          ```
            from os_roatefile import open_file
            f = open_file('file', 'w', roll_size='1G')
            f.write('Your data')
            f.close()
          ```
          * Read
          ```
            from os_roatefile import open_file
            f = open_file('file', 'r', buffer_size='128K')
            f.readline()
            f.read(100)
            if not f.read():
                f.close()
          ```
        
        
        # Unit Tests
          `$ tox`
        
        # License
        MIT licensed.
        
        
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2.7
