Open files for humans
Project description
openpy
author: Oren Ovadia
Overview
Just open files, local filesystem, s3 or online.
Decompresses any format automatically (currently only gzip
is supported😀)
Installation
pip install openpy
or:
pip install git+git://github.com/orenovadia/openpy.git#egg=master
Examples
from openpy import read
# local files, uncompressed:
with read('data.gz') as f:
print(f.read())
# s3:
with read('s3://bucket/path/to/file.gz') as f:
print(f.read())
Upload to pypi:
./publish.sh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openpy-0.0.2.tar.gz
(2.8 kB
view hashes)