Skip to main content

Reading and writing size rotate file.

Project description

# os-rotatefile
[![Build Status](](
[![PyPI - Python Version](](

Read and write 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')
* Read
from os_roatefile import open_file

f = open_file('file', 'r', buffer_size='128K')
if not

# Unit Tests
`$ tox`

# License
MIT licensed.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

os-rotatefile-0.2.0.tar.gz (4.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page