Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page